summaryrefslogtreecommitdiff
path: root/tests/drm_lib.sh
AgeCommit message (Collapse)Author
2013-07-03drm_lib.sh: Be more precise in detecting the i915 /sys pathChris Wilson
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
2013-07-03tests/hangman: Be lenient towards a non-existent sysfs error stateChris Wilson
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
2013-07-02tests/drm_lib.sh: Don't die if the sysfs path can't be foundDaniel Vetter
That just means that the sysfs error file isn't there. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-07-02test/drm_lib.sh: Updated sysfs error filenameDaniel Vetter
I've forgotten to bikeshed that part ... Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-07-01tests: add i915_sfs_pathMika Kuoppala
To access 'error_state' through sysfs. Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-07-01tests: rename debugfs base path to be more specificMika Kuoppala
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>
2012-04-04tests: use / as path separator instead of _Daniel Vetter
Oops. Originally by me, noticed while reviewing Ben Widawsky's patch. Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-04-04tests: use common code for scriptsBen Widawsky
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>