]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: add userqueue suspend/resume functions
authorShashank Sharma <shashank.sharma@amd.com>
Mon, 3 Jun 2024 09:13:03 +0000 (11:13 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 8 Apr 2025 20:48:18 +0000 (16:48 -0400)
commit30e4d781385dda92fdee574b0a95094dfa143b52
tree7927a34a40fe504ca18da64e0239a19380ce86e6
parentfb796c308767606bbd6c2e1bf4fa9446ec68ce51
drm/amdgpu: add userqueue suspend/resume functions

This patch adds userqueue suspend/resume functions at
core MES V11 IP level.

V2: use true/false for queue_active status (Christian)
    added Christian's R-B

V3: reset/set queue status in mqd.create and mqd.destroy

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian Koenig <christian.koenig@amd.com>
Reviewed-by: Christian Koenig <christian.koenig@amd.com>
Signed-off-by: Shashank Sharma <shashank.sharma@amd.com>
Signed-off-by: Arvind Yadav <arvind.yadav@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/mes_v11_0_userqueue.c
drivers/gpu/drm/amd/include/amdgpu_userqueue.h