OSDN Git Service

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)
commitbd9bec5b6a09a3a7656f096e3ff0ca6709f89770
treeced156faaee17be606d4bf1a6fa92b3db85c8c56
parent542a5c66e0ff6cf257600df1d7362735f8ebde35
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