drm/amdgpu/display: add flag for multi-display mclk switching
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Aug 2019 19:17:57 +0000 (14:17 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Aug 2019 16:33:00 +0000 (11:33 -0500)
commitd99f38aed1a03f78cb7ae04d86e7fc5ac70411e3
tree4b3d3d8b749555d0685368e6cfd0abcc1c1a3dba
parent8b2608f1cfece410801a7f5fba374abde4540c0c
drm/amdgpu/display: add flag for multi-display mclk switching

Add a dcfeaturemask flag for mclk switching.  Disable by default;
enable once the feature has seen more testing.

Set amdgpu.dcfeaturemask=2 on the kernel command line in grub
to enable this.

Acked-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/include/amd_shared.h