drm/amd/powerplay: avoid disabling ECC if RAS is enabled for VEGA20
authorLe Ma <le.ma@amd.com>
Fri, 11 Oct 2019 10:37:49 +0000 (18:37 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Oct 2019 19:49:22 +0000 (15:49 -0400)
commitdf9331e561dab0a451cbd6a679ee88a95f306fd6
tree1b82da6079600f2382811c666d6365341ab04eda
parent956f670509df28e94147e2fc1ee756c491af4d8a
drm/amd/powerplay: avoid disabling ECC if RAS is enabled for VEGA20

Program THM_BACO_CNTL.SOC_DOMAIN_IDLE=1 will tell VBIOS to disable ECC when
BACO exit. This can save BACO exit time by PSP on none-ECC SKU. Drop the setting
for ECC supported SKU.

Signed-off-by: Le Ma <le.ma@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/vega20_baco.c