Home
last modified time | relevance | path

Searched refs:mdp5_state (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c97 struct mdp5_plane_state *mdp5_state; in mdp5_plane_reset() local
104 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() local
118 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 …]
Dmdp5_kms.c117 struct mdp5_global_state *mdp5_state = to_mdp5_global_state(state); in mdp5_global_destroy_state() local
119 kfree(mdp5_state); in mdp5_global_destroy_state()