diff options
author | Dillon Varone <dillon.varone@amd.com> | 2024-09-20 16:56:20 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-10-01 17:38:17 -0400 |
commit | 3c6c8d1a1e3f033f1abf84d6d54c268c35b0fcdd (patch) | |
tree | 1a7b9cccca6f0858410031a7d03ae96d0ba6d77d /drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c | |
parent | 07907588db61f7fbed840f1bbbf6451a3416817d (diff) |
drm/amd/display: Configure DTBCLK_P with OPTC only for dcn401
[WHY]
DTBCLK_P is used to generate virtual pixel clock, and to drive the HPO
stream encoder clock. Programming the required clock when
enabling/disabling both components can cause issues.
For example, if HPO is being disabled and clock source is changed to
REFCLK, virtual pixel rate will then be wrong, causing issues in CRTC.
[HOW]
Only program the DTBCLK_P when programming CRTC, as its expected it will
be enabled prior to HPO, and disabled after HPO in all valid cases.
Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Fangzhi Zuo <jerry.zuo@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c')
0 files changed, 0 insertions, 0 deletions