From: Dmytro Laktyushkin <dmytro.laktyush...@amd.com>

Remove code used to allow compilation error free
interface change.

Signed-off-by: Dmytro Laktyushkin <dmytro.laktyush...@amd.com>
Reviewed-by: Charlene Liu <charlene....@amd.com>
Acked-by: Bhawanpreet Lakha <bhawanpreet.la...@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

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to