drm/amdgpu/userq: rework front end call sequence
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Feb 2025 19:47:00 +0000 (14:47 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Apr 2025 14:49:16 +0000 (10:49 -0400)
commitb0db33c8c50f5e89557d4b11da94820677f0c9a2
tree75ee1113b3389ff3bfe9fe1b7d38f12b43ee98c7
parent51a9ea455115fc75ef703dbc2ac04ca59b47b174
drm/amdgpu/userq: rework front end call sequence

Split out the queue map from the mqd create call and split
out the queue unmap from the mqd destroy call.  This splits
the queue setup and teardown with the actual enablement
in the firmware.

Reviewed-by: Sunil Khatri <sunil.khatri@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c
drivers/gpu/drm/amd/amdgpu/mes_userqueue.c