OSDN Git Service

drm/i915/rkl: Add initial workarounds
authorMatt Roper <matthew.d.roper@intel.com>
Thu, 16 Jul 2020 22:05:48 +0000 (15:05 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 17 Aug 2020 20:16:01 +0000 (16:16 -0400)
commitf52fa57ae70e2e411c0d72396d526d76bf8d3eda
tree908b1acc55ef70b5ed8c0c40ca893c75d4d5abd6
parentcd803bb4f8a8d7b2c27c464ae32af14005cce7a1
drm/i915/rkl: Add initial workarounds

RKL and TGL share some general gen12 workarounds, but each platform also
has its own platform-specific workarounds.

v2:
 - Add Wa_1604555607 for RKL.  This makes RKL's ctx WA list identical to
   TGL's, so we'll have both functions call the tgl_ function for now;
   this workaround isn't listed for DG1 so we don't want to add it to
   the general gen12_ function.

Cc: Matt Atwood <matthew.s.atwood@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200716220551.2730644-3-matthew.d.roper@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/display/intel_sprite.c
drivers/gpu/drm/i915/gt/intel_workarounds.c