]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: fix userq resource double freed
authorPrike Liang <Prike.Liang@amd.com>
Mon, 12 May 2025 07:09:21 +0000 (15:09 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 May 2025 15:30:03 +0000 (11:30 -0400)
commit64db76701351913a07fe3032210ef5e6ab13dea8
tree0266e3d754d8d692ffd3a5e7a6cbd42e627e9a28
parent96a86dcb5b5ca65564efeaaeecfca669e79a57e1
drm/amdgpu: fix userq resource double freed

As the userq resource was already freed at the drm_release
early phase, it should avoid freeing userq resource again
at the later kms postclose callback.

Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Reviewed-by: Jesse Zhang <Jesse.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c