[Why]
Implement an interface to obtain plane size caps
[How]
Add min_width, min_height fields to dc_plane_cap structure.
Set values to 16x16 for discrete ASICs, and 64x64 for others.
Signed-off-by: Igor Kravchenko <Igor.Kravchenko@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
                uint32_t nv12;
                uint32_t fp16;
        } max_downscale_factor;
+       // minimal width/height
+       uint32_t min_width;
+       uint32_t min_height;
 };
 
 // Color management caps (DPP and MPC)
 
                                .argb8888 = 250,
                                .nv12 = 1,
                                .fp16 = 1
-               }
+               },
+               64,
+               64
 };
 
 static const struct dc_plane_cap underlay_plane_cap = {
                                .argb8888 = 1,
                                .nv12 = 250,
                                .fp16 = 1
-               }
+               },
+               64,
+               64
 };
 
 #define CTX  ctx
 
                        .argb8888 = 250,
                        .nv12 = 1,
                        .fp16 = 1
-       }
+       },
+       64,
+       64
 };
 
 #define CTX  ctx
 
                        .argb8888 = 250,
                        .nv12 = 250,
                        .fp16 = 1
-       }
+       },
+       16,
+       16
 };
 static const struct resource_caps res_cap_nv14 = {
                .num_timing_generator = 5,
 
                        .argb8888 = 250,
                        .nv12 = 250,
                        .fp16 = 250
-       }
+       },
+       64,
+       64
 };
 
 static const struct dc_debug_options debug_defaults_drv = {