summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/selftests/i915_gem_object.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-04-12 00:44:26 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2017-04-12 13:37:24 +0100
commit8968a3649a7c09a0c7f92001b0a599b93a4d9685 (patch)
treeae6203409dcb993911845a59970299e4f1089d85 /drivers/gpu/drm/i915/selftests/i915_gem_object.c
parent0757ac8fc7c1dac32be080e6746324ff42b7a9b7 (diff)
drm/i915: Pretend the engine is always idle when mocking
If we have a mock engine and it has no more requests in flight, report it as idle as there is no hardware to contradict us! Otherwise we attempt to query the hw that doesn't exist and find that the hw hasn't set its idle bit and we get upset. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: http://patchwork.freedesktop.org/patch/msgid/20170411234427.14841-2-chris@chris-wilson.co.uk Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/selftests/i915_gem_object.c')
0 files changed, 0 insertions, 0 deletions