]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Move SFC lock bits to intel_engine_regs.h
authorMatt Roper <matthew.d.roper@intel.com>
Wed, 9 Feb 2022 05:11:36 +0000 (21:11 -0800)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 16 Feb 2022 20:29:28 +0000 (12:29 -0800)
commit49b71af3c4fbe938e47254180bccea2cd31dce6d
tree4e12b0a0aacc76cdc5055cc9c79266b612889382
parenta37454aae6ec324a408af0b3aaae585f6708f3db
drm/i915/gt: Move SFC lock bits to intel_engine_regs.h

These SFC registers were defined in an unusual way, taking an engine as
a parameter rather than an engine MMIO base offset.  Let's adjust them
to match the style used by other per-engine registers and move them to
intel_engine_regs.h.

While doing this move, we can drop GEN12_HCP_SFC_FORCED_LOCK completely;
it was intended for use in an early version of a hardware workaround,
but was no longer necessary by the time the workaround was finalized.
It is not used anywhere in the driver.

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Matt Atwood <matthew.s.atwood@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220209051140.1599643-3-matthew.d.roper@intel.com
drivers/gpu/drm/i915/gt/intel_engine_regs.h
drivers/gpu/drm/i915/gt/intel_gt_regs.h
drivers/gpu/drm/i915/gt/intel_reset.c