]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Always force restore freshly pinned contexts
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 7 Jan 2020 17:28:42 +0000 (17:28 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 7 Jan 2020 22:31:45 +0000 (22:31 +0000)
commit109402550c91c44a3da9c269e9db56d272ddbff1
treecec4e4c089f9547f24ac3ebfbef147386543228b
parent3e03fe2be35da56478dddc5afbd766d4a0880b82
drm/i915/gt: Always force restore freshly pinned contexts

It is highly unlikely, but still conceivable, that we submit a context
with the same GGTT address as last active on the HW. In this case, with
a matching LRCA, the HW would not restore the new context image causing
a potential violation of our context isolation.

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