Skip to content

Commit 5c05bcf

Browse files
Timur Kristófalexdeucher
authored andcommitted
drm/amd/pm: Disable MCLK switching on SI at high pixel clocks
On various SI GPUs, a flickering can be observed near the bottom edge of the screen when using a single 4K 60Hz monitor over DP. Disabling MCLK switching works around this problem. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 9858ea4 commit 5c05bcf

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • drivers/gpu/drm/amd/pm/legacy-dpm

drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3500,6 +3500,11 @@ static void si_apply_state_adjust_rules(struct amdgpu_device *adev,
35003500
* for these GPUs to calculate bandwidth requirements.
35013501
*/
35023502
if (high_pixelclock_count) {
3503+
/* Work around flickering lines at the bottom edge
3504+
* of the screen when using a single 4K 60Hz monitor.
3505+
*/
3506+
disable_mclk_switching = true;
3507+
35033508
/* On Oland, we observe some flickering when two 4K 60Hz
35043509
* displays are connected, possibly because voltage is too low.
35053510
* Raise the voltage by requiring a higher SCLK.

0 commit comments

Comments
 (0)