diff options
author | Dave Airlie <airlied@redhat.com> | 2017-06-20 21:23:35 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2017-06-20 21:23:35 -0400 |
commit | 816b4e448c72cc388cdd0f6ea22302a47cd752a2 (patch) | |
tree | 953c3968211d7a88e90236d9603c5d1d2022fc14 /drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c | |
parent | 09da4baa4d502833a1ac79aea4ff85d08bb48871 (diff) | |
parent | acfd6ee4fa7ebeee75511825fe02be3f7ac1d668 (diff) |
Merge branch 'drm-fixes-4.12' of git://people.freedesktop.org/~agd5f/linux into drm-fixes
A few fixes for 4.12:
- Add a new Polaris12 pci id
- A stack corruption fix
- Suspend/resume fix
- PX fix
- Display flickering fix
* 'drm-fixes-4.12' of git://people.freedesktop.org/~agd5f/linux:
drm/radeon: add a quirk for Toshiba Satellite L20-183
drm/radeon: add a PX quirk for another K53TK variant
drm/amdgpu: adjust default display clock
drm/amdgpu/atom: fix ps allocation size for EnableDispPowerGating
drm/amdgpu: add Polaris12 DID
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c index 1cf78f4dd339..1e8e1123ddf4 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) | |||
693 | DRM_INFO("Changing default dispclk from %dMhz to 600Mhz\n", | 693 | DRM_INFO("Changing default dispclk from %dMhz to 600Mhz\n", |
694 | adev->clock.default_dispclk / 100); | 694 | adev->clock.default_dispclk / 100); |
695 | adev->clock.default_dispclk = 60000; | 695 | adev->clock.default_dispclk = 60000; |
696 | } else if (adev->clock.default_dispclk <= 60000) { | ||
697 | DRM_INFO("Changing default dispclk from %dMhz to 625Mhz\n", | ||
698 | adev->clock.default_dispclk / 100); | ||
699 | adev->clock.default_dispclk = 62500; | ||
696 | } | 700 | } |
697 | adev->clock.dp_extclk = | 701 | adev->clock.dp_extclk = |
698 | le16_to_cpu(firmware_info->info_21.usUniphyDPModeExtClkFreq); | 702 | le16_to_cpu(firmware_info->info_21.usUniphyDPModeExtClkFreq); |