]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix adev variable used in amdgpu_device_gpu_recover()
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Jun 2022 20:52:01 +0000 (16:52 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 29 Jun 2022 18:50:42 +0000 (14:50 -0400)
commit7ecd0cf94ad29df0d87edde68ef3754361094398
treedcfad6e04ed4a7f6be46b66c376265995d86710b
parentf6a94f34940f102357f1216d8b27395da87e6f8c
drm/amdgpu: fix adev variable used in amdgpu_device_gpu_recover()

Use the correct adev variable for the drm_fb_helper in
amdgpu_device_gpu_recover().  Noticed by inspection.

Fixes: 782c4c62d181 ("drm/amdgpu: use generic fb helpers instead of setting up AMD own's.")
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c