drm/amdgpu: fix Null pointer dereference error in amdgpu_device_recover_vram
authorjsg <jsg@openbsd.org>
Tue, 20 Jun 2023 02:30:04 +0000 (02:30 +0000)
committerjsg <jsg@openbsd.org>
Tue, 20 Jun 2023 02:30:04 +0000 (02:30 +0000)
commit2ed4c3290e731aa4c1316070c44bd7b16c7f3fd7
treed5abc6180353941fe8cfa1b85775dd3af6390cbc
parent1f6ddcd0dff4d7b937556045325b82657296e9ca
drm/amdgpu: fix Null pointer dereference error in amdgpu_device_recover_vram

From Horatio Zhang
c5a17f3247bd7f6c2e22678dbfcd73832f487e3f in linux-6.1.y/6.1.34
2a1eb1a343208ce7d6839b73d62aece343e693ff in mainline linux
sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
sys/dev/pci/drm/amd/amdgpu/amdgpu_vm_pt.c