MAX_PLANES
struct dc_plane_cap planes[MAX_PLANES];
union dmub_rb_cmd cmds[MAX_PLANES];
memset(cmds, 0, sizeof(union dmub_rb_cmd) * MAX_PLANES);
} mpc_combines[MAX_PLANES];
struct dc_mcache_params mcache_params[MAX_PLANES] = {0};
int dpps_per_surface[MAX_PLANES];
for (i = 0; i < MAX_PLANES; i++) {
for (i = 0; i < MAX_PLANES; i++) {
struct drm_plane *primary_planes[MAX_PLANES], *plane;
struct drm_plane *cursor_planes[MAX_PLANES] = { NULL };
u32 sizeimage[MAX_PLANES];
u32 bytesperline[MAX_PLANES];
if (pinfo->num_planes > MAX_PLANES)