]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/amd/powerplay: cache the watermark settings on system memory
authorEvan Quan <evan.quan@amd.com>
Tue, 31 Dec 2019 02:33:19 +0000 (10:33 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Jan 2020 17:01:15 +0000 (12:01 -0500)
commit9fa1ed5bf628a871be52bb2d84ade8b108db8902
tree3aa0b608e24a1c3b095258697345a0a76235622b
parentd5ec4b45682e21f0d954e532a70531dc19723265
drm/amd/powerplay: cache the watermark settings on system memory

So that we do not need to allocate a piece of VRAM for it. This
is a preparation for coming change which unifies the VRAM address
for all driver tables interaction with SMU.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/navi10_ppt.c
drivers/gpu/drm/amd/powerplay/renoir_ppt.c
drivers/gpu/drm/amd/powerplay/smu_v11_0.c
drivers/gpu/drm/amd/powerplay/vega20_ppt.c