]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/i915/tgl: Use TGL stepping info for applying WAs
authorAditya Swarup <aditya.swarup@intel.com>
Tue, 19 Jan 2021 19:29:30 +0000 (11:29 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 20 Jan 2021 17:00:28 +0000 (09:00 -0800)
commit7e6c064ed834c86bb517841b72bed146d1a2d36d
tree910041b53968bf61ea93381368a044d8d383a7fa
parentfb5cfcaa2efbb4c71abb1dfbc8f4da727e0bfd89
drm/i915/tgl: Use TGL stepping info for applying WAs

TGL adds another level of indirection for applying WA based on stepping
information rather than PCI REVID. So change TGL_REVID enum into
stepping enum and use PCI REVID as index into revid to stepping table to
fetch correct display and GT stepping for application of WAs as
suggested by Matt Roper.

Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Aditya Swarup <aditya.swarup@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210119192931.1116500-1-lucas.demarchi@intel.com
drivers/gpu/drm/i915/display/intel_display_power.c
drivers/gpu/drm/i915/display/intel_psr.c
drivers/gpu/drm/i915/display/intel_sprite.c
drivers/gpu/drm/i915/gt/intel_workarounds.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_pm.c