drm/amdgpu: fix error checking in amdgpu_read_mm_registers for nv
authorjsg <jsg@openbsd.org>
Tue, 28 Mar 2023 00:13:59 +0000 (00:13 +0000)
committerjsg <jsg@openbsd.org>
Tue, 28 Mar 2023 00:13:59 +0000 (00:13 +0000)
commite474b851fabc5b763a376329ebb2f3e45ca613d1
tree895cd2f8b402a0e6f174b22aaabf73451ad93179
parentebbdcb33518eb3b9b6a2b4b3b740bed65f4926d9
drm/amdgpu: fix error checking in amdgpu_read_mm_registers for nv

From Alex Deucher
d07d152d762d746016f546f9fedd3f319870cf5e in linux-6.1.y/6.1.20
b42fee5e0b44344cfe4c38e61341ee250362c83f in mainline linux
sys/dev/pci/drm/amd/amdgpu/nv.c