drm/i915: Parameterize ECOSKPD
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 11 Jan 2022 05:15:52 +0000 (21:15 -0800)
committerMatt Roper <matthew.d.roper@intel.com>
Tue, 11 Jan 2022 21:45:39 +0000 (13:45 -0800)
commite0d47fcff1f4df458b9c8824a5204adcbf624ae7
tree43b0454b1fc1731fe0653dabc91ea930e8bc8de1
parentcd5d2fdb045fb31a152cbb257e10da78fa4f06ac
drm/i915: Parameterize ECOSKPD

Combine the separate render and blitter register definitions into a
single definition.  We already know we have some workarounds on an
upcoming platform that will need to update the ECOSKPD register for
other engines too, so this helps pave the way for that.

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-4-matthew.d.roper@intel.com
drivers/gpu/drm/i915/gt/intel_workarounds.c
drivers/gpu/drm/i915/gvt/handlers.c
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_pm.c