]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amdgpu/userq: move mqd_destroy to later stage to keep core obj valid
authorSunil Khatri <sunil.khatri@amd.com>
Wed, 20 May 2026 10:55:50 +0000 (16:25 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 27 May 2026 16:01:35 +0000 (12:01 -0400)
commit0b8a1600ab50f331aeeba47c777a1b34cba606bf
tree17487ecac747b995a9eb212d494832b3e513a10f
parent93f5534b35a05ef8a0109c1eefa800062fee810a
drm/amdgpu/userq: move mqd_destroy to later stage to keep core obj valid

mqd_destroy cleans up queue core objects like mqd and fw_object
which are needed for any pending fence to signal properly.

Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 4ad65d610096498c8e265615aba42b3c47441bb5)
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c