summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/selftests/intel_hangcheck.c
diff options
context:
space:
mode:
authorChris Wilson2017-03-30 16:50:38 +0200
committerChris Wilson2017-03-31 13:03:46 +0200
commit72022a705e1da854653e56b67bef57b72f1392eb (patch)
tree6c7462bfd785b3da27df12070a54fa6b39c8f9ca /drivers/gpu/drm/i915/selftests/intel_hangcheck.c
parentdrm/i915/uc: Move fw path check to fetch_uc_fw() (diff)
downloadkernel-qcow2-linux-72022a705e1da854653e56b67bef57b72f1392eb.tar.gz
kernel-qcow2-linux-72022a705e1da854653e56b67bef57b72f1392eb.tar.xz
kernel-qcow2-linux-72022a705e1da854653e56b67bef57b72f1392eb.zip
drm/i915: Move retire-requests into i915_gem_wait_for_idle()
As we now distinguish everywhere that can call i915_gem_retire_requests() following a successful wait_for_idle, we can remove the duplication by moving that call into i915_gem_wait_for_idle() itself. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: http://patchwork.freedesktop.org/patch/msgid/20170330145041.9005-3-chris@chris-wilson.co.uk Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/selftests/intel_hangcheck.c')
-rw-r--r--drivers/gpu/drm/i915/selftests/intel_hangcheck.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/selftests/intel_hangcheck.c b/drivers/gpu/drm/i915/selftests/intel_hangcheck.c
index 6ec7c731a267..aa31d6c0cdfb 100644
--- a/drivers/gpu/drm/i915/selftests/intel_hangcheck.c
+++ b/drivers/gpu/drm/i915/selftests/intel_hangcheck.c
@@ -235,7 +235,6 @@ static void hang_fini(struct hang *h)
i915_gem_object_put(h->hws);
i915_gem_wait_for_idle(h->i915, I915_WAIT_LOCKED);
- i915_gem_retire_requests(h->i915);
}
static int igt_hang_sanitycheck(void *arg)