OSDN Git Service

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)
commit6a505e644c44d3f817cd3ceaafdc501181a5e70b
tree0ae761eaf34a2835c78437b2422ce06c0e29d070
parent25e8a3837d27526b2dcc4ad4e0aed9288a80036d
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