]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/gpu/drm/amd/display/dc/core/dc_resource.c
drm/amd/display: Allow clock sharing b/w HDMI and DVI
authorMikita Lipski <mikita.lipski@amd.com>
Mon, 16 Jul 2018 13:17:55 +0000 (09:17 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Aug 2018 22:24:21 +0000 (17:24 -0500)
commitfc69009e35b74e45ad71140e94355e999b8d24af
tree2c896b9a68e0daa02c6e3334d5b08d25ea397bb3
parent7cb5285507172fabe87f87ef3d2cfe148e8a918d
drm/amd/display: Allow clock sharing b/w HDMI and DVI

[why]
HDMI and DVI share the same PHY clock and single link
DVI and HDMI both use 4 lanes, so they should be allowed
to be sharing the same clock source if all other parameters
are satisfied.

[how]
Change a check for general DVI to Dual DVI.

Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c