]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Cleanup request skip decision
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Tue, 17 Jan 2017 15:59:03 +0000 (17:59 +0200)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 18 Jan 2017 10:44:50 +0000 (10:44 +0000)
commit15feae07c08fb7834828a5192e32e3a688cfe52d
tree7b8b16703c63891f609c27a3d25f2d74b35e1727
parent58abd910766fb4c64e70779b237049e8055b1a12
drm/i915: Cleanup request skip decision

Since we now only skip banned contexts, preventing the skip of default
contexts is no longer sensible. For a similar argument as before
'commit 61b74083472c ("drm/i915: Only skip requests once a context is banned")'
we end up with an inconsistent API if we only mark future execbufs from
the default ctx as banned but fail to mark those currently executing
as failed.

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1484668747-9120-3-git-send-email-mika.kuoppala@intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gem.c