From: Jack Xiao Date: Sun, 14 Jul 2019 21:12:21 +0000 (+0800) Subject: drm/amdgpu: correct smu rlc handshake enablement bit X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=02938eed74a3d75c743c3b8a80c80ba130dd6674;p=linux.git drm/amdgpu: correct smu rlc handshake enablement bit Correct the enablement bit of SMU RLC handshake. Signed-off-by: Jack Xiao Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c index db8c7fbc1b5fa..ec71e2a7d7b71 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c @@ -1779,9 +1779,9 @@ static void gfx_v10_0_rlc_smu_handshake_cntl(struct amdgpu_device *adev, * hence no handshake between SMU & RLC * GFXOFF will be disabled */ - rlc_pg_cntl |= 0x80000; + rlc_pg_cntl |= 0x800000; } else - rlc_pg_cntl &= ~0x80000; + rlc_pg_cntl &= ~0x800000; WREG32_SOC15(GC, 0, mmRLC_PG_CNTL, rlc_pg_cntl); }