drm/amdgpu: fix gfx9 soft recovery
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Tue, 6 Aug 2019 16:27:26 +0000 (18:27 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Aug 2019 03:01:17 +0000 (22:01 -0500)
commit17b6d2d528542bc60ad400add35728b2259b3cc1
tree3369443deb4736412c79cab208d414cde8bb6ba4
parentd45331b00ddb179e291766617259261c112db872
drm/amdgpu: fix gfx9 soft recovery

The SOC15_REG_OFFSET() macro wasn't used, making the soft recovery fail.

v2: use WREG32_SOC15 instead of WREG32 + SOC15_REG_OFFSET

Signed-off-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c