drm/amdgpu/userq: optimize enforce isolation and s/r
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 16 Apr 2025 20:59:08 +0000 (16:59 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 22 Apr 2025 12:51:45 +0000 (08:51 -0400)
commitba324ffb25999e14b8488d085ae9916d6f4a6bcf
treeed6398499f24c6c55eb450ad78ba055f0d26f281
parentd61724056a74b6316f92433bd89f08421a36d2d9
drm/amdgpu/userq: optimize enforce isolation and s/r

If user queues are disabled for all IPs in the case
of suspend and resume and for gfx/compute in the case
of enforce isolation, we can return early.

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