diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-09-27 22:17:48 +0100 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-09-27 23:25:30 +0100 |
| commit | 4e18ca703f2167d8bcb7f736271744131e3c390b (patch) | |
| tree | e5ce22179ddae7ff9d5a1853005834324ddb43d4 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | drm/i915: Pass intel_gt to has-reset? (diff) | |
| download | linux-4e18ca703f2167d8bcb7f736271744131e3c390b.tar.gz linux-4e18ca703f2167d8bcb7f736271744131e3c390b.zip | |
drm/i915/selftests: Distinguish mock device from no wakeref
On systems that have no runtime-pm, we mark the wakeref as being -1. We
therefore cannot use that value for the mock-gt indicator, so opt for
-ENODEV instead. The wakeref should never be an error value -- one
hopes!
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Andi Shyti <andi.shyti@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190927211749.2181-2-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
