]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/powerplay: provide the interface to disable uclk switch for DAL
authorKenneth Feng <kenneth.feng@amd.com>
Mon, 29 Jul 2019 09:51:55 +0000 (17:51 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 Jul 2019 04:48:33 +0000 (23:48 -0500)
commit80408a3e69020129a89106046e5af3c0a52a30be
treedf1d80c32fbebe43a419bb89602f0122dd6da873
parent4bb8f20a7fd8302e5eb3ccee60d778960f8c00a4
drm/amdgpu/powerplay: provide the interface to disable uclk switch for DAL

provide the interface for DAL to disable uclk switch on navi10.
in this case, the uclk will be fixed to maximum.
this is a workaround when display configuration causes underflow issue.

Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/navi10_ppt.c
drivers/gpu/drm/amd/powerplay/smu_v11_0.c