Lines Matching defs:states
441 struct drm_plane_state **states;
449 states = kmalloc_array(total_planes, sizeof(*states), GFP_KERNEL);
450 if (!states)
454 * Normalization process might create new states for planes which
464 states[n++] = plane_state;
470 sort(states, n, sizeof(*states), drm_atomic_state_zpos_cmp, NULL);
473 plane = states[i]->plane;
475 states[i]->normalized_zpos = i;
482 kfree(states);
494 * For every CRTC this function checks new states of all planes assigned to