Lines Matching defs:states
146 struct drm_plane_state **states;
149 states = kmalloc_array(total_planes, sizeof(*states), GFP_KERNEL);
150 if (!states)
162 * Normalization process might create new states for planes
173 states[n++] = plane_state;
176 sort(states, n, sizeof(*states),
180 plane = states[i]->plane;
182 states[i]->normalized_zpos = i + inc;
185 states[i]->normalized_zpos);
187 if (is_omap_plane_dual_overlay(states[i]))
194 kfree(states);