diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0918-drm-amdgpu-dce11-add-dce-clock-setting-for-ELM-BAF.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0918-drm-amdgpu-dce11-add-dce-clock-setting-for-ELM-BAF.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/common/recipes-kernel/linux/files/0918-drm-amdgpu-dce11-add-dce-clock-setting-for-ELM-BAF.patch b/common/recipes-kernel/linux/files/0918-drm-amdgpu-dce11-add-dce-clock-setting-for-ELM-BAF.patch deleted file mode 100644 index 4792c76f..00000000 --- a/common/recipes-kernel/linux/files/0918-drm-amdgpu-dce11-add-dce-clock-setting-for-ELM-BAF.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 9e99a7c6708cf90b76fc13766fba4cfc3d665379 Mon Sep 17 00:00:00 2001 -From: Alex Deucher <alexander.deucher@amd.com> -Date: Thu, 15 Oct 2015 17:14:31 -0400 -Subject: [PATCH 0918/1110] drm/amdgpu/dce11: add dce clock setting for ELM/BAF -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Setup the disp clock and dp reference clock. This is -now a separate command table on elm/baf compared to -older asics. - -Reviewed-by: Christian König <christian.koenig@amd.com> -Signed-off-by: Alex Deucher <alexander.deucher@amd.com> -Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com> ---- - drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | 10 +++++++++- - 1 file changed, 9 insertions(+), 1 deletion(-) - -diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c -index d068de8..78cd659 100644 ---- a/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c -+++ b/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c -@@ -3063,7 +3063,15 @@ static int dce_v11_0_hw_init(void *handle) - /* init dig PHYs, disp eng pll */ - amdgpu_atombios_crtc_powergate_init(adev); - amdgpu_atombios_encoder_init_dig(adev); -- amdgpu_atombios_crtc_set_disp_eng_pll(adev, adev->clock.default_dispclk); -+ if ((adev->asic_type == CHIP_ELLESMERE) || -+ (adev->asic_type == CHIP_BAFFIN)) { -+ amdgpu_atombios_crtc_set_dce_clock(adev, adev->clock.default_dispclk, -+ DCE_CLOCK_TYPE_DISPCLK, ATOM_GCK_DFS); -+ amdgpu_atombios_crtc_set_dce_clock(adev, 0, -+ DCE_CLOCK_TYPE_DPREFCLK, ATOM_GCK_DFS); -+ } else { -+ amdgpu_atombios_crtc_set_disp_eng_pll(adev, adev->clock.default_dispclk); -+ } - - /* initialize hpd */ - dce_v11_0_hpd_init(adev); --- -2.7.4 - |