OSDN Git Service

drm/i915: Set MI_INVALIDATE_BSD for all video-decode engines
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 8 Nov 2018 14:00:39 +0000 (14:00 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 8 Nov 2018 21:24:30 +0000 (21:24 +0000)
commit5fc2805b3e88302e9cc62f054a7aec8a0075197f
treeb922d4530fdc9a6703692b717ef30103b61ce01b
parent602438ead302aaa844899db5214b489d0d93fe18
drm/i915: Set MI_INVALIDATE_BSD for all video-decode engines

We have multiple instances of VCS but only remember to invalidate the
BSD caches on the first, ignoring the stale caches of any other engine.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181108140039.12254-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_lrc.c