On Tue, 15 Aug 2023, Matt Roper <matthew.d.ro...@intel.com> wrote: > We generally only keep support for pre-production steppings and > workarounds around in the driver until the next major platform is > implemented. Now that MTL is in good shape in i915 (and subsequent > platforms like LNL are being implemented solely on the Xe driver) it's > time to drop the DG2 pre-production hardware support. > > DG2 production hardware always has display stepping C0 or later. On the > GT side, production hardware starts with C0 (for DG2-G10), B1 (for > DG2-G11), and A1 (for DG2-G12). This means we can drop quite a few > pre-production workarounds, and simplify the handling of several others.
Did not review, but in general Acked-by: Jani Nikula <jani.nik...@intel.com> > > > Matt Roper (4): > drm/i915/dg2: Recognize pre-production hardware > drm/i915/dg2: Drop pre-production display workarounds > drm/i915/dg2: Drop pre-production GT workarounds > drm/i915: Tidy workaround definitions > > drivers/gpu/drm/i915/display/intel_display.c | 2 +- > .../drm/i915/display/skl_universal_plane.c | 4 - > drivers/gpu/drm/i915/gt/intel_lrc.c | 34 +- > drivers/gpu/drm/i915/gt/intel_mocs.c | 21 +- > drivers/gpu/drm/i915/gt/intel_rc6.c | 6 +- > drivers/gpu/drm/i915/gt/intel_workarounds.c | 301 +++--------------- > drivers/gpu/drm/i915/gt/uc/intel_guc.c | 20 +- > drivers/gpu/drm/i915/i915_driver.c | 3 + > drivers/gpu/drm/i915/i915_drv.h | 23 -- > drivers/gpu/drm/i915/i915_perf.c | 20 -- > drivers/gpu/drm/i915/intel_clock_gating.c | 8 - > 11 files changed, 66 insertions(+), 376 deletions(-) -- Jani Nikula, Intel Open Source Graphics Center