summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/pm
diff options
context:
space:
mode:
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>2023-11-14 19:22:09 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-11-30 02:11:03 +0300
commit27750e176a4f8549e13fa91f311b29a2e40d47be (patch)
treed0871f219159d28db3ebec4d243e4a015420277c /drivers/gpu/drm/amd/pm
parent2161e09cd05a50d80736fe397145340d2e8f6c05 (diff)
downloadlinux-27750e176a4f8549e13fa91f311b29a2e40d47be.tar.xz
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/pm')
0 files changed, 0 insertions, 0 deletions