drm/i915: Use RING_PSMI_CTL rather than per-engine macros
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 11 Jan 2022 05:15:53 +0000 (21:15 -0800)
committerMatt Roper <matthew.d.roper@intel.com>
Tue, 11 Jan 2022 21:45:39 +0000 (13:45 -0800)
commit3e5cbecb9aa88f00016b61200d4126f727fc71e6
tree2676ee235dab4e636a0ca93e9a9bf2b9d991b6e5
parente0d47fcff1f4df458b9c8824a5204adcbf624ae7
drm/i915: Use RING_PSMI_CTL rather than per-engine macros

We have a parameterized macro for RING_PSMI_CTL; let's use that instead
of the per-engine definitions where possible.

Cc: Jani Nikula <jani.nikula@linux.intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220111051600.3429104-5-matthew.d.roper@intel.com
drivers/gpu/drm/i915/gt/intel_ring_submission.c
drivers/gpu/drm/i915/gt/intel_workarounds.c
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_pm.c