From b682f5190e6f30f79d51fb8c50d86164b6c02c4e Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 11 Jan 2013 10:13:13 +0000 Subject: [PATCH] XXX Hang me --- drivers/gpu/drm/i915/i915_gem_execbuffer.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/i915_gem_execbuffer.c index a8e7f2b..42bd8df 100644 --- a/drivers/gpu/drm/i915/i915_gem_execbuffer.c +++ b/drivers/gpu/drm/i915/i915_gem_execbuffer.c @@ -1070,6 +1070,9 @@ err: drm_gem_object_unreference(&obj->base); } + /* XXX try to exercise the gen4/5 hang */ + (void)i915_gem_evict_everything(dev); + mutex_unlock(&dev->struct_mutex); pre_mutex_err: -- 1.7.10.4