aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
diff options
context:
space:
mode:
authorLang Yu <[email protected]>2021-10-21 06:36:36 +0000
committerAlex Deucher <[email protected]>2021-10-28 18:26:12 +0000
commita5c5d8d50ecf5874be90a76e1557279ff8a30c9e (patch)
tree82942545bb1b8d8c488a102dc2d4a43df965ead6 /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
parentdrm/amdkfd: Separate pinned BOs destruction from general routine (diff)
downloadkernel-a5c5d8d50ecf5874be90a76e1557279ff8a30c9e.tar.gz
kernel-a5c5d8d50ecf5874be90a76e1557279ff8a30c9e.zip
drm/amdgpu: fix a potential memory leak in amdgpu_device_fini_sw()
amdgpu_fence_driver_sw_fini() should be executed before amdgpu_device_ip_fini(), otherwise fence driver resource won't be properly freed as adev->rings have been tore down. Fixes: 72c8c97b1522 ("drm/amdgpu: Split amdgpu_device_fini into early and late") Signed-off-by: Lang Yu <[email protected]> Reviewed-by: Andrey Grodzovsky <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c')
0 files changed, 0 insertions, 0 deletions