aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0832-drm-amd-dal-fix-some-missing-stoney-cases-in-dm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0832-drm-amd-dal-fix-some-missing-stoney-cases-in-dm.patch')
-rw-r--r--common/recipes-kernel/linux/files/0832-drm-amd-dal-fix-some-missing-stoney-cases-in-dm.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0832-drm-amd-dal-fix-some-missing-stoney-cases-in-dm.patch b/common/recipes-kernel/linux/files/0832-drm-amd-dal-fix-some-missing-stoney-cases-in-dm.patch
new file mode 100644
index 00000000..83437516
--- /dev/null
+++ b/common/recipes-kernel/linux/files/0832-drm-amd-dal-fix-some-missing-stoney-cases-in-dm.patch
@@ -0,0 +1,44 @@
+From 4c14218c5342df1574ee8403b1f31373331e672a Mon Sep 17 00:00:00 2001
+From: Alex Deucher <alexander.deucher@amd.com>
+Date: Tue, 23 Feb 2016 18:08:30 -0500
+Subject: [PATCH 0832/1110] drm/amd/dal: fix some missing stoney cases in dm
+
+Reviewed-by: Harry Wentland <harry.wentland@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c
+index aa78d6c..67dd7b9 100644
+--- a/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c
++++ b/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c
+@@ -286,7 +286,8 @@ int amdgpu_dm_init(struct amdgpu_device *adev)
+ adev->mode_info.atom_context->bios;
+ init_data.asic_id.runtime_flags.flags.bits.SKIP_POWER_DOWN_ON_RESUME = 1;
+
+- if (adev->asic_type == CHIP_CARRIZO)
++ if ((adev->asic_type == CHIP_CARRIZO) ||
++ (adev->asic_type == CHIP_STONEY))
+ init_data.asic_id.runtime_flags.flags.bits.GNB_WAKEUP_SUPPORTED = 1;
+
+ init_data.driver = adev;
+@@ -1003,6 +1004,7 @@ int amdgpu_dm_initialize_drm_device(struct amdgpu_device *adev)
+ case CHIP_TONGA:
+ case CHIP_FIJI:
+ case CHIP_CARRIZO:
++ case CHIP_STONEY:
+ if (dce110_register_irq_handlers(dm->adev)) {
+ DRM_ERROR("DM: Failed to initialize IRQ\n");
+ return -1;
+@@ -1246,6 +1248,7 @@ static int dm_early_init(void *handle)
+ adev->mode_info.funcs = &dm_dce_v10_0_display_funcs;
+ break;
+ case CHIP_CARRIZO:
++ case CHIP_STONEY:
+ adev->mode_info.num_crtc = 3;
+ adev->mode_info.num_hpd = 6;
+ adev->mode_info.num_dig = 9;
+--
+2.7.4
+