diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0865-drm-amd-dal-Fix-DCE110-not-initializing-number-of-cl.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0865-drm-amd-dal-Fix-DCE110-not-initializing-number-of-cl.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0865-drm-amd-dal-Fix-DCE110-not-initializing-number-of-cl.patch b/common/recipes-kernel/linux/files/0865-drm-amd-dal-Fix-DCE110-not-initializing-number-of-cl.patch new file mode 100644 index 00000000..cbb58e64 --- /dev/null +++ b/common/recipes-kernel/linux/files/0865-drm-amd-dal-Fix-DCE110-not-initializing-number-of-cl.patch @@ -0,0 +1,35 @@ +From 9b7f7483ee369cfed1d98952ecf8cc3408a683b6 Mon Sep 17 00:00:00 2001 +From: Jun Lei <Jun.Lei@amd.com> +Date: Sat, 27 Feb 2016 17:48:33 -0500 +Subject: [PATCH 0865/1110] drm/amd/dal: Fix DCE110 not initializing number of + clock sources. + +Signed-off-by: Jun Lei <Jun.Lei@amd.com> +Acked-by: Harry Wentland <harry.wentland@amd.com> +--- + drivers/gpu/drm/amd/dal/dc/dce110/dce110_resource.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/drivers/gpu/drm/amd/dal/dc/dce110/dce110_resource.c b/drivers/gpu/drm/amd/dal/dc/dce110/dce110_resource.c +index 1a315c0..557c2fe 100644 +--- a/drivers/gpu/drm/amd/dal/dc/dce110/dce110_resource.c ++++ b/drivers/gpu/drm/amd/dal/dc/dce110/dce110_resource.c +@@ -1096,6 +1096,7 @@ bool dce110_construct_resource_pool( + bp, + CLOCK_SOURCE_ID_EXTERNAL, + NULL); ++ pool->clk_src_count = DCE110_CLK_SRC_TOTAL; + } else { + pool->dp_clock_source = + dce110_clock_source_create( +@@ -1103,6 +1104,7 @@ bool dce110_construct_resource_pool( + bp, + CLOCK_SOURCE_ID_PLL0, + &dce110_clk_src_reg_offsets[0]); ++ pool->clk_src_count = DCE110_CLK_SRC_TOTAL - 1; + } + + pool->clock_sources[DCE110_CLK_SRC0] = +-- +2.7.4 + |