]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Fix S3 test issue
authorJames Zhu <James.Zhu@amd.com>
Wed, 8 May 2019 20:38:58 +0000 (16:38 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 May 2019 17:20:51 +0000 (12:20 -0500)
commite9632bc2b71dd035f5c3277319b1eebdaceb9fb3
treef045b4104d2e29dc243a29350028c655ac0eb1e8
parent8bc67b92b0a9d36f2f6df3859ae37216b7cd0046
drm/amdgpu: Fix S3 test issue

During S3 test, when system wake up and resume, ras interface
is already allocated. Move workaround before ras jumps to resume
step in gfx_v9_0_ecc_late_init, and make sure workaround applied
during resume. Also remove unused mmGB_EDC_MODE clearing.

Signed-off-by: James Zhu <James.Zhu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c