drm/i915: Balance context pinning on reset cleanup
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Tue, 13 Jan 2015 09:32:24 +0000 (11:32 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Jan 2015 08:51:06 +0000 (09:51 +0100)
commit1197b4f230fb7c8fe3a9b549596fe130b09a0db2
tree2b407995ba18b41ff832d990ad0915b8e9e4df9f
parent08e16dc874e672f1a1472a495c8351b8ce5d34d5
drm/i915: Balance context pinning on reset cleanup

We pin when we submit to execlist queue. Balance
the pinning when the submitted queue is cleaned on reset.

Cc: Dave Gordon <david.s.gordon@intel.com>
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Thomas Daniel <thomas.daniel@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_lrc.c