linux/drivers/gpu/drm/amd
Yao Wang1 1c5ea40c2a drm/amd/display: add a func to disable accelerated mode
[Why]
When driver disabled, we driver force the YCbCr420 to RGB,
which means some register will be changed, such as
RDPCS_PHY_DP_MPLLB_TX_CLK_DIV changed from 1 to 0
When driver re-enabled, OS will Set Mode YCbCr420 again,
which means the register RDPCS_PHY_DP_MPLLB_TX_CLK_DIV
should to be 1 again, but dmub fw can’t update the
register to 1 due to the mpll is not off

[How]
Adds an interface to disable accelerated mode bit,
which allows DM to decide to call during driver
disable/unload scenarios.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Yao Wang1 <Yao.Wang1@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Solomon Chiu <solomon.chiu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-03-23 23:33:36 -04:00
..
acp
amdgpu drm/amdgpu: Use dev_info if VFCT table not valid 2021-03-23 23:31:24 -04:00
amdkfd drm/amdkfd: fix build error with AMD_IOMMU_V2=m 2021-03-23 23:28:11 -04:00
display drm/amd/display: add a func to disable accelerated mode 2021-03-23 23:33:36 -04:00
include drm/amd/pm: add a new sysfs entry for default power limit 2021-03-23 23:30:55 -04:00
pm drm/amd/pm: fix workload mismatch on vega10 2021-03-23 23:31:29 -04:00