]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/display: Set DFS bypass flags for dce110
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tue, 24 Jul 2018 17:19:49 +0000 (13:19 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:09:49 +0000 (11:09 -0500)
commit4e60536d093f486229bb8d86c739e8ef6446df85
tree957a153a089efa40e9c42386fb201cda08521bbb
parent2cb3bcdb33c0a18b25a23e7081de8c9a1698a80e
drm/amd/display: Set DFS bypass flags for dce110

[Why]

While there is support for using and quering DFS bypass clocks the
hardware is never notified to enter DFS bypass mode for dce110.

[How]

Add a flag that can be set when programming the display engine PLL
to enable DFS bypass mode. If this flag is set then the hardware is
notified to enter DFS bypass mode and the correct display engine clock
frequency can be acquired.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/bios/command_table.c
drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c
drivers/gpu/drm/amd/display/include/bios_parser_types.h