Searched refs:mdp5_state (Results 1 – 2 of 2) sorted by relevance
97 struct mdp5_plane_state *mdp5_state; in mdp5_plane_reset() local104 mdp5_state = kzalloc(sizeof(*mdp5_state), GFP_KERNEL); in mdp5_plane_reset()105 if (!mdp5_state) in mdp5_plane_reset()107 __drm_atomic_helper_plane_reset(plane, &mdp5_state->base); in mdp5_plane_reset()113 struct mdp5_plane_state *mdp5_state; in mdp5_plane_duplicate_state() local118 mdp5_state = kmemdup(to_mdp5_plane_state(plane->state), in mdp5_plane_duplicate_state()119 sizeof(*mdp5_state), GFP_KERNEL); in mdp5_plane_duplicate_state()120 if (!mdp5_state) in mdp5_plane_duplicate_state()123 __drm_atomic_helper_plane_duplicate_state(plane, &mdp5_state->base); in mdp5_plane_duplicate_state()125 return &mdp5_state->base; in mdp5_plane_duplicate_state()[all …]
117 struct mdp5_global_state *mdp5_state = to_mdp5_global_state(state); in mdp5_global_destroy_state() local119 kfree(mdp5_state); in mdp5_global_destroy_state()