[PATCH] drm/amdgpu: adjust default display clock
zhoucm1
david1.zhou at amd.com
Tue Jun 20 02:40:03 UTC 2017
Acked-by: Chunming Zhou <david1.zhou at amd.com>
On 2017年06月20日 01:36, Alex Deucher wrote:
> ping.
>
> On Thu, Jun 15, 2017 at 11:17 AM, Alex Deucher <alexdeucher at gmail.com> wrote:
>> 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
>> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
>> Cc: stable at vger.kernel.org
>> ---
>> drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c | 4 ++++
>> 1 file changed, 4 insertions(+)
>>
>> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c
>> index 1cf78f4..1e8e112 100644
>> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c
>> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c
>> @@ -693,6 +693,10 @@ int amdgpu_atombios_get_clock_info(struct amdgpu_device *adev)
>> DRM_INFO("Changing default dispclk from %dMhz to 600Mhz\n",
>> adev->clock.default_dispclk / 100);
>> adev->clock.default_dispclk = 60000;
>> + } else if (adev->clock.default_dispclk <= 60000) {
>> + DRM_INFO("Changing default dispclk from %dMhz to 625Mhz\n",
>> + adev->clock.default_dispclk / 100);
>> + adev->clock.default_dispclk = 62500;
>> }
>> adev->clock.dp_extclk =
>> le16_to_cpu(firmware_info->info_21.usUniphyDPModeExtClkFreq);
>> --
>> 2.5.5
>>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
More information about the amd-gfx
mailing list