aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_uvd.c
diff options
context:
space:
mode:
authorDennis Li <Dennis.Li@amd.com>2020-12-30 19:45:15 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-01-05 11:31:55 -0500
commit26eb6b51da86ec7dcc29fd90baf465b38acecfb7 (patch)
tree71d00b0eb0e7956c83cb3bf98600d12553c07233 /drivers/gpu/drm/radeon/radeon_uvd.c
parentdrm/amdgpu: fix a memory protection fault when remove amdgpu device (diff)
downloadlinux-dev-26eb6b51da86ec7dcc29fd90baf465b38acecfb7.tar.xz
linux-dev-26eb6b51da86ec7dcc29fd90baf465b38acecfb7.zip
drm/amdgpu: fix a GPU hang issue when remove device
When GFXOFF is enabled and GPU is idle, driver will fail to access some registers. Therefore change to disable power gating before all access registers with MMIO. Dmesg log is as following: amdgpu 0000:03:00.0: amdgpu: amdgpu: finishing device. amdgpu: cp queue pipe 4 queue 0 preemption failed amdgpu 0000:03:00.0: amdgpu: failed to write reg 2890 wait reg 28a2 amdgpu 0000:03:00.0: amdgpu: failed to write reg 1a6f4 wait reg 1a706 amdgpu 0000:03:00.0: amdgpu: failed to write reg 2890 wait reg 28a2 amdgpu 0000:03:00.0: amdgpu: failed to write reg 1a6f4 wait reg 1a706 Signed-off-by: Dennis Li <Dennis.Li@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_uvd.c')
0 files changed, 0 insertions, 0 deletions