OSDN Git Service

drm/i915/dg2: Add additional tuning settings
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 16 Aug 2022 21:06:01 +0000 (14:06 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 17 Aug 2022 05:29:19 +0000 (22:29 -0700)
commit6dc85721df748385cfb011326ead52c01840b461
treef655e3c7e48e5d26146d1782a1382718abd8f5ab
parent7e55536c9c488febfeedacebae0831c070e72c36
drm/i915/dg2: Add additional tuning settings

Some additional MMIO tuning settings have appeared in the bspec's
performance tuning guide section.

One of the tuning settings here is also documented as formal workaround
Wa_22012654132 for some steppings of DG2.  However the tuning setting
applies to all DG2 variants and steppings, making it a superset of the
workaround.

v2:
 - Move DRAW_WATERMARK to engine workaround section.  It only moves into
   the engine context on future platforms.  (Lucas)
 - CHICKEN_RASTER_2 needs to be handled as a masked register.  (Lucas)

Bspec: 68331
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220816210601.2041572-2-matthew.d.roper@intel.com
drivers/gpu/drm/i915/gt/intel_gt_regs.h
drivers/gpu/drm/i915/gt/intel_workarounds.c