aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0243-drm-amd-display-fix-dce100_validate_bandwidth-return.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0243-drm-amd-display-fix-dce100_validate_bandwidth-return.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0243-drm-amd-display-fix-dce100_validate_bandwidth-return.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0243-drm-amd-display-fix-dce100_validate_bandwidth-return.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0243-drm-amd-display-fix-dce100_validate_bandwidth-return.patch
new file mode 100644
index 00000000..c4c25391
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0243-drm-amd-display-fix-dce100_validate_bandwidth-return.patch
@@ -0,0 +1,28 @@
+From b3f3c4bc0f6553c559cfcfbf310f1788ca48fbbb Mon Sep 17 00:00:00 2001
+From: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
+Date: Tue, 28 Feb 2017 16:14:10 -0500
+Subject: [PATCH 0243/4131] drm/amd/display: fix dce100_validate_bandwidth
+ return value
+
+Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c b/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c
+index fc85efa..c72858a 100644
+--- a/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c
++++ b/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c
+@@ -772,7 +772,7 @@ bool dce100_validate_bandwidth(
+ /* TODO implement when needed but for now hardcode max value*/
+ context->dispclk_khz = 681000;
+
+- return false;
++ return true;
+ }
+
+ static bool dce100_validate_surface_sets(
+--
+2.7.4
+