Lines Matching defs:states
448 struct drm_plane_state **states;
456 states = kmalloc_array(total_planes, sizeof(*states), GFP_KERNEL);
457 if (!states)
461 * Normalization process might create new states for planes which
471 states[n++] = plane_state;
476 sort(states, n, sizeof(*states), drm_atomic_state_zpos_cmp, NULL);
479 plane = states[i]->plane;
481 states[i]->normalized_zpos = i;
488 kfree(states);
500 * For every CRTC this function checks new states of all planes assigned to