drm/i915: Move Wa_16011163337 to gen12_ctx_workarounds_init()
authorJosé Roberto de Souza <jose.souza@intel.com>
Wed, 24 Mar 2021 20:05:01 +0000 (13:05 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 9 Apr 2021 06:43:50 +0000 (23:43 -0700)
commit0a6b3d35c033b340f0bb1f6d3236ebdb953020ac
tree11a17095f7b07b96a68a151e8c77d18257ff2a0a
parent503c7ef3b47d7c4274e01d0703ef2d987284716b
drm/i915: Move Wa_16011163337 to gen12_ctx_workarounds_init()

This WA is needed in all gen12 platforms, moving it to
gen12_ctx_workarounds_init() allow us to remove the duplicated
implementation.
Also allow us to remove the tgl_ctx_workarounds_init() that after the
WA move above was empty.

Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210324200502.1731265-4-lucas.demarchi@intel.com
drivers/gpu/drm/i915/gt/intel_workarounds.c