drm/i915/gen11: Moving WAs to rcs_engine_wa_init()
authorJosé Roberto de Souza <jose.souza@intel.com>
Mon, 2 Mar 2020 23:14:20 +0000 (15:14 -0800)
committerJosé Roberto de Souza <jose.souza@intel.com>
Tue, 3 Mar 2020 21:32:52 +0000 (13:32 -0800)
commit3551ff92874405674b58ac0f5742069a5ddfc462
treeffea3b8342e8e310f6c8afd32b8880fe1c3602a8
parent9b234d2643692601149b373e5d7e831eace95dfa
drm/i915/gen11: Moving WAs to rcs_engine_wa_init()

This are register of render engine, so after a render reset those
would return to the default value and init_clock_gating() is not
called for single engine reset.
So here moving it rcs_engine_wa_init() that will guarantee that this
WAs will not be lost.

Cc: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200302231421.224322-1-jose.souza@intel.com
drivers/gpu/drm/i915/gt/intel_workarounds.c
drivers/gpu/drm/i915/intel_pm.c