aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3715-drm-amd-display-remove-temporary-transition-code.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3715-drm-amd-display-remove-temporary-transition-code.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3715-drm-amd-display-remove-temporary-transition-code.patch65
1 files changed, 65 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3715-drm-amd-display-remove-temporary-transition-code.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3715-drm-amd-display-remove-temporary-transition-code.patch
new file mode 100644
index 00000000..390d12ca
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3715-drm-amd-display-remove-temporary-transition-code.patch
@@ -0,0 +1,65 @@
+From 973ae2e7255320f22c31018a14262bde3bb26ea3 Mon Sep 17 00:00:00 2001
+From: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
+Date: Wed, 3 Jul 2019 16:37:54 -0400
+Subject: [PATCH 3715/4256] drm/amd/display: remove temporary transition code
+
+Remove code used to allow compilation error free
+interface change.
+
+Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
+Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
+Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
+---
+ drivers/gpu/drm/amd/display/dc/dc_hw_types.h | 29 --------------------
+ 1 file changed, 29 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/display/dc/dc_hw_types.h b/drivers/gpu/drm/amd/display/dc/dc_hw_types.h
+index 0b8700a8a94a..dafc19a7b699 100644
+--- a/drivers/gpu/drm/amd/display/dc/dc_hw_types.h
++++ b/drivers/gpu/drm/amd/display/dc/dc_hw_types.h
+@@ -124,20 +124,6 @@ struct plane_size {
+ int chroma_pitch;
+ struct rect surface_size;
+ struct rect chroma_size;
+-
+- union {
+- struct {
+- struct rect surface_size;
+- int surface_pitch;
+- } grph;
+-
+- struct {
+- struct rect luma_size;
+- int luma_pitch;
+- struct rect chroma_size;
+- int chroma_pitch;
+- } video;
+- };
+ };
+
+ struct dc_plane_dcc_param {
+@@ -148,21 +134,6 @@ struct dc_plane_dcc_param {
+
+ int meta_pitch_c;
+ bool independent_64b_blks_c;
+-
+- union {
+- struct {
+- int meta_pitch;
+- bool independent_64b_blks;
+- } grph;
+-
+- struct {
+- int meta_pitch_l;
+- bool independent_64b_blks_l;
+-
+- int meta_pitch_c;
+- bool independent_64b_blks_c;
+- } video;
+- };
+ };
+
+ /*Displayable pixel format in fb*/
+--
+2.17.1
+