]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/execlists: Mark up expected state during reset
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 10 Oct 2019 08:32:42 +0000 (09:32 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 10 Oct 2019 12:52:34 +0000 (13:52 +0100)
commite268af7025aca792244f7831a22df00e1f22e111
treeced156faaee17be606d4bf1a6fa92b3db85c8c56
parent305852d851bb3cece8e8f4b4aa80fc786482c920
drm/i915/execlists: Mark up expected state during reset

Move the BUG_ON around slightly and add some explanations for each to
try and capture the expected state more carefully. We want to compare
the expected active state of our bookkeeping as compared to the tracked
HW state.

References: https://bugs.freedesktop.org/show_bug.cgi?id=111937
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/20191010083242.1387-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_lrc.c