]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Clarify error message on failed workaround
authorMatt Roper <matthew.d.roper@intel.com>
Thu, 31 Dec 2020 19:11:03 +0000 (11:11 -0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 1 Jan 2021 22:15:03 +0000 (22:15 +0000)
commit2fa0b78d3e4e060f7c4a4e2655c22353792360e5
tree7e108ca0d987028e5b3f0defeb8747366a363056
parentd2db968d9e5f6f826eecda697486948c0016ac1d
drm/i915: Clarify error message on failed workaround

Let's modify the "workaround lost" error message slightly to make it
more clear what the various numbers represent.  Also, the 'expected'
value needs to be &'d with wa->read so that it doesn't include the mask
bits for masked registers (those bits are write-only in the hardware and
will usually always read out as 0's).

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20201231191103.854519-1-matthew.d.roper@intel.com
drivers/gpu/drm/i915/gt/intel_workarounds.c