drm/amdgpu/userq: add suspend and resume helpers
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 20 Feb 2025 21:31:40 +0000 (16:31 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Apr 2025 14:49:26 +0000 (10:49 -0400)
commit73e12e98ec0c5657c4a0c99c96bc4c608813365d
treec25c2708c28d0b373eaf2c588463c993651a6cfd
parentc0bbf64870e71eb8d6f6e2bcef3d84ba86baf32c
drm/amdgpu/userq: add suspend and resume helpers

Add helpers to unmap and map user queues on suspend and
resume.

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/amdgpu_userqueue.h