]> git.baikalelectronics.ru Git - 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)
commit30a917d420b45d131961b3115253b10204baecd4
tree910041b53968bf61ea93381368a044d8d383a7fa
parenta58f3dc3706a5e2f3fad30387c09e134f95654ac
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