diff options
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2023-11-14 11:22:09 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-11-29 18:11:03 -0500 |
commit | 27750e176a4f8549e13fa91f311b29a2e40d47be (patch) | |
tree | d0871f219159d28db3ebec4d243e4a015420277c /drivers/gpu/drm/amd/amdgpu | |
parent | 2161e09cd05a50d80736fe397145340d2e8f6c05 (diff) |
drm/amd/display: Allow DTBCLK disable for DCN35
[Why]
DTBCLK is enabled on idle and it will burn power.
[How]
There's a few issues here:
- Always enabling DTBCLK on clock manager init
- Setting refclk when DTBCLK is supposed to be disabled
- Not applying the correct calculated version refclk, but instead the
base value which might be zero
On dtbclk_en change we'll message PMFW to enable or disable the clock
accordingly.
The DTBDTO will be then based on refclk, but it will be set to the
default fixed value if there was nothing calculated in DML despite the
clock being considered enabled.
Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions