OSDN Git Service

drm/i915/execlists: Verify we don't submit two identical CCIDs
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 28 Apr 2020 18:47:51 +0000 (19:47 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 28 Apr 2020 21:17:36 +0000 (22:17 +0100)
commitf6a7c21c991062da9ac93d547f07a5368c8d8d57
tree2fa8f34a82803f178042f7baa4b03d6394cbeead
parent5c4a53e3b1cbc38d0906e382f1037290658759bb
drm/i915/execlists: Verify we don't submit two identical CCIDs

Check that we do not submit two contexts into ELSP with the same CCID
[upper portion of the descriptor].

References: https://gitlab.freedesktop.org/drm/intel/-/issues/1793
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/20200428184751.11257-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_lrc.c