drm/amd/display: remove temporary transition code
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Wed, 3 Jul 2019 20:37:54 +0000 (16:37 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Sep 2019 23:02:34 +0000 (18:02 -0500)
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>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc_hw_types.h

index 0b8700a..dafc19a 100644 (file)
@@ -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*/