drm/i915/display/dmc: Set DC_STATE_DEBUG_MASK_CORES after firmware load
authorJosé Roberto de Souza <jose.souza@intel.com>
Wed, 22 Sep 2021 21:52:40 +0000 (14:52 -0700)
committerJosé Roberto de Souza <jose.souza@intel.com>
Thu, 23 Sep 2021 17:06:15 +0000 (10:06 -0700)
commit27493cb8747e8389a70a053445daf6a5c7888c3c
treec10f650c896df8ef2ba72f13f670f22794098597
parent3d1adc3d64cfc544044feeca9c892599199f9616
drm/i915/display/dmc: Set DC_STATE_DEBUG_MASK_CORES after firmware load

Specification asks for DC_STATE_DEBUG_MASK_CORES to be set for all
platforms that supports DMC, not only for geminilake and broxton.

While at is also taking the oportunity to simply the code.

BSpec: 7402
BSpec: 49436
Reviewed-by: Imre Deak <imre.deak@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Cc: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210922215242.66683-1-jose.souza@intel.com
drivers/gpu/drm/i915/display/intel_dmc.c