]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Include a bunch more rcs image state
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 2 Jan 2020 13:17:03 +0000 (13:17 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 3 Jan 2020 11:26:01 +0000 (11:26 +0000)
commitf0a941737bafc2ab12ab98b56223678637ad6504
tree0ae761eaf34a2835c78437b2422ce06c0e29d070
parentaef6b03a48879233d6fac813078920c2d0952134
drm/i915/gt: Include a bunch more rcs image state

Empirically the minimal context image we use for rcs is insufficient to
state the engine. This is demonstrated if we poison the context image
such that any uninitialised state is invalid, and so if the engine
samples beyond our defined region, will fail to start.

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