Lines Matching refs:primary_plane_state
384 struct cirrus_primary_plane_state *primary_plane_state = in cirrus_primary_plane_helper_atomic_update() local
388 const struct drm_format_info *format = primary_plane_state->format; in cirrus_primary_plane_helper_atomic_update()
389 unsigned int pitch = primary_plane_state->pitch; in cirrus_primary_plane_helper_atomic_update()
430 struct cirrus_primary_plane_state *primary_plane_state = in cirrus_primary_plane_atomic_duplicate_state() local
444 new_primary_plane_state->format = primary_plane_state->format; in cirrus_primary_plane_atomic_duplicate_state()
445 new_primary_plane_state->pitch = primary_plane_state->pitch; in cirrus_primary_plane_atomic_duplicate_state()
453 struct cirrus_primary_plane_state *primary_plane_state = in cirrus_primary_plane_atomic_destroy_state() local
456 __drm_gem_destroy_shadow_plane_state(&primary_plane_state->base); in cirrus_primary_plane_atomic_destroy_state()
457 kfree(primary_plane_state); in cirrus_primary_plane_atomic_destroy_state()
462 struct cirrus_primary_plane_state *primary_plane_state; in cirrus_reset_primary_plane() local
469 primary_plane_state = kzalloc(sizeof(*primary_plane_state), GFP_KERNEL); in cirrus_reset_primary_plane()
470 if (!primary_plane_state) in cirrus_reset_primary_plane()
472 __drm_gem_reset_shadow_plane(plane, &primary_plane_state->base); in cirrus_reset_primary_plane()