]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu/userq: Optimize S0ix handling
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Sep 2025 16:42:10 +0000 (12:42 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Sep 2025 13:43:23 +0000 (09:43 -0400)
commit846de1384a6ab5576601f206b9a94786276ec204
treeccaeb0e9b2d3cbb08f9b30389b05a19d9958119f
parentf05c03ffc786968ec728422728f5226522886d9c
drm/amdgpu/userq: Optimize S0ix handling

In S0i3, GFX state is retained, so it's preferrable to
preempt queues rather than unmapping them as the overhead
is lower.

Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Tested-by: David Perry <david.perry@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c