SUN4I_BACKEND_NUM_LAYERS
struct drm_plane_state *plane_states[SUN4I_BACKEND_NUM_LAYERS] = { 0 };
0, SUN4I_BACKEND_NUM_LAYERS - 1);
planes = devm_kcalloc(drm->dev, SUN4I_BACKEND_NUM_LAYERS + 1,
for (i = 0; i < SUN4I_BACKEND_NUM_LAYERS; i++) {