Age | Commit message (Collapse) | Author |
|
We need to be careful in case other devices grow an error file in the
future. The first step here is just to check the minor that corresponds
with the debugfs path found for the device
|
|
As /sys/class/drm/cardX/error is a new interface for 3.11, we need to be
quiet when it does not exist or else we upset the automated tests.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66533
|
|
That just means that the sysfs error file isn't there.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
I've forgotten to bikeshed that part ...
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
To access 'error_state' through sysfs.
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
In preparation to have sysfs entries used in scripts
rename to more specific name.
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
Oops. Originally by me, noticed while reviewing Ben Widawsky's patch.
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|
|
This removes cut and pasted code and uses a more central source.
Signed-off-by: Ben Widawsky <benjamin.widawsky@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|