Home
last modified time | relevance | path

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

/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c88 struct mdp5_plane_state *mdp5_state; in mdp5_plane_reset() local
95 mdp5_state = kzalloc(sizeof(*mdp5_state), GFP_KERNEL); in mdp5_plane_reset()
96 if (!mdp5_state) in mdp5_plane_reset()
100 mdp5_state->base.zpos = STAGE_BASE; in mdp5_plane_reset()
102 mdp5_state->base.zpos = STAGE0 + drm_plane_index(plane); in mdp5_plane_reset()
103 mdp5_state->base.normalized_zpos = mdp5_state->base.zpos; in mdp5_plane_reset()
105 __drm_atomic_helper_plane_reset(plane, &mdp5_state->base); in mdp5_plane_reset()
111 struct mdp5_plane_state *mdp5_state; in mdp5_plane_duplicate_state() local
116 mdp5_state = kmemdup(to_mdp5_plane_state(plane->state), in mdp5_plane_duplicate_state()
117 sizeof(*mdp5_state), GFP_KERNEL); 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()