Lines Matching defs:states
438 struct drm_plane_state **states;
446 states = kmalloc_array(total_planes, sizeof(*states), GFP_KERNEL);
447 if (!states)
451 * Normalization process might create new states for planes which
461 states[n++] = plane_state;
467 sort(states, n, sizeof(*states), drm_atomic_state_zpos_cmp, NULL);
470 plane = states[i]->plane;
472 states[i]->normalized_zpos = i;
479 kfree(states);
491 * For every CRTC this function checks new states of all planes assigned to