]> git.baikalelectronics.ru Git - kernel.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)
commit75b0bed0e770d0bdd92787b8ae9f1859a5103502
tree957a153a089efa40e9c42386fb201cda08521bbb
parent95be1cd99ab6264cacca8f24724f5bfb15f6c98f
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