aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.19.8/0119-drm-amd-display-Don-t-force-UPDATE_TYPE_FULL-if-stre.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/0119-drm-amd-display-Don-t-force-UPDATE_TYPE_FULL-if-stre.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.19.8/0119-drm-amd-display-Don-t-force-UPDATE_TYPE_FULL-if-stre.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/0119-drm-amd-display-Don-t-force-UPDATE_TYPE_FULL-if-stre.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/0119-drm-amd-display-Don-t-force-UPDATE_TYPE_FULL-if-stre.patch
new file mode 100644
index 00000000..1f219f30
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/0119-drm-amd-display-Don-t-force-UPDATE_TYPE_FULL-if-stre.patch
@@ -0,0 +1,35 @@
+From 8f670655627ad831db4f56f68aa60931e22bfde4 Mon Sep 17 00:00:00 2001
+From: Harry Wentland <harry.wentland@amd.com>
+Date: Sun, 25 Mar 2018 16:28:33 -0400
+Subject: [PATCH 0119/2940] drm/amd/display: Don't force UPDATE_TYPE_FULL if
+ stream_update has hdr_static_metadata
+
+This was missed when pushing public patch for 3e3a40b03847 (drm/amd/display:
+Updated HDR Static Metadata to directly take info packet raw)
+
+This is currently no problem yet since we're not doing HDR on Linux yet.
+
+Signed-off-by: Harry Wentland <harry.wentland@amd.com>
+Acked-by: Alex Deucher <alexander.deucher@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/display/dc/core/dc.c | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c
+index 737eafe21dbf..a51d7ce84134 100644
+--- a/drivers/gpu/drm/amd/display/dc/core/dc.c
++++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
+@@ -1277,9 +1277,6 @@ static enum surface_update_type check_update_surfaces_for_stream(
+ if (stream_update->out_transfer_func)
+ return UPDATE_TYPE_FULL;
+
+- if (stream_update->hdr_static_metadata)
+- return UPDATE_TYPE_FULL;
+-
+ if (stream_update->abm_level)
+ return UPDATE_TYPE_FULL;
+ }
+--
+2.17.1
+