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 14:48:42 +0000 (10:48 -0400)
commit4ad65d610096498c8e265615aba42b3c47441bb5
treefdaef2fb38f6a7df97d63903256e50ade73fda4f
parent2d57a0475f085c08b49312dfd8edcb461845f285
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c