]> git.dujemihanovic.xyz Git - linux.git/commit
drm/amdgpu: disable SDMA WPTR_POLL_ENABLE for SR-IOV
authorHorace Chen <horace.chen@amd.com>
Tue, 25 Apr 2023 05:15:32 +0000 (13:15 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:25:40 +0000 (09:25 -0400)
commit9f58341d63bd26e93cca66e9e1ca850d3c40b0c3
tree2f2c581190aba3db0da9c67ec91615a374618149
parent64e2e71737acad867577deac92c1bec62e8b57d1
drm/amdgpu: disable SDMA WPTR_POLL_ENABLE for SR-IOV

[Why]
This WPTR_POLL_ENABLE is a hardware contigious polling which will cause
FCLK and UCLK to keep on a high level.
Mostly its case can be covered by F32_WPTR_POLL_ENABLE which polls by
firmware.
So to save power, SR-IOV also needs to disable this bit

Signed-off-by: Horace Chen <horace.chen@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c