Skip to content

Commit 525e496

Browse files
alexdeuchergregkh
authored andcommitted
drm/amdgpu: adjust default display clock
commit 52b482b0f4fd6d5267faf29fe91398e203f3c230 upstream. Increase the default display clock on newer asics to accomodate some high res modes with really high refresh rates. bug: https://bugs.freedesktop.org/show_bug.cgi?id=93826 Acked-by: Chunming Zhou <david1.zhou@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 5265278 commit 525e496

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,10 @@ int amdgpu_atombios_get_clock_info(struct amdgpu_device *adev)
681681
DRM_INFO("Changing default dispclk from %dMhz to 600Mhz\n",
682682
adev->clock.default_dispclk / 100);
683683
adev->clock.default_dispclk = 60000;
684+
} else if (adev->clock.default_dispclk <= 60000) {
685+
DRM_INFO("Changing default dispclk from %dMhz to 625Mhz\n",
686+
adev->clock.default_dispclk / 100);
687+
adev->clock.default_dispclk = 62500;
684688
}
685689
adev->clock.dp_extclk =
686690
le16_to_cpu(firmware_info->info_21.usUniphyDPModeExtClkFreq);

0 commit comments

Comments
 (0)