]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu/userq: handle runtime pm
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 20 Feb 2025 14:44:39 +0000 (09:44 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 8 Apr 2025 20:48:20 +0000 (16:48 -0400)
commit2a060b3ae92ec1951a8a94bf64580ccb4fedf38c
tree6e949d15f3c718acd01d068fbc18253472f98a94
parent29adc5c2dd7a0e8dba9aac38a3116df38220dc4b
drm/amdgpu/userq: handle runtime pm

Take a reference when we create a queue and drop it
when we destroy the queue.  We need to keep the device
active while user queues are active.

v2: squash in fix from Sunil
v3: squash in fix from Prike

Reviewed-by: Prike Liang <Prike.Liang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/mes_userqueue.c