]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit567cb31633a253346e21e4397b9064107eb4556f
tree1b82da6079600f2382811c666d6365341ab04eda
parent84fd10ffd95c01feab444ee1eb5464e8d8a431f9
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