]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu: fix error checking in amdgpu_read_mm_registers for soc15
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 6 Mar 2023 15:34:20 +0000 (10:34 -0500)
committerRoxana Nicolescu <roxana.nicolescu@canonical.com>
Wed, 17 May 2023 11:33:04 +0000 (13:33 +0200)
commit07f2709ad31fcb7dfa5f9328fabbc73f037c98bd
treef359bff3d5de6acd5a2fdc142d0f6d9e7e7e6511
parentd9f283065447f72468102be8ba4896deb1701e61
drm/amdgpu: fix error checking in amdgpu_read_mm_registers for soc15

BugLink: https://bugs.launchpad.net/bugs/2016875
commit 0dcdf8498eae2727bb33cef3576991dc841d4343 upstream.

Properly skip non-existent registers as well.

Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/2442
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/gpu/drm/amd/amdgpu/soc15.c