Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_plane.c85 struct mdp5_plane_state *mdp5_state; in mdp5_plane_reset() local
92 mdp5_state = kzalloc(sizeof(*mdp5_state), GFP_KERNEL); in mdp5_plane_reset()
93 if (!mdp5_state) in mdp5_plane_reset()
95 __drm_atomic_helper_plane_reset(plane, &mdp5_state->base); in mdp5_plane_reset()
101 struct mdp5_plane_state *mdp5_state; in mdp5_plane_duplicate_state() local
106 mdp5_state = kmemdup(to_mdp5_plane_state(plane->state), in mdp5_plane_duplicate_state()
107 sizeof(*mdp5_state), GFP_KERNEL); in mdp5_plane_duplicate_state()
108 if (!mdp5_state) in mdp5_plane_duplicate_state()
111 __drm_atomic_helper_plane_duplicate_state(plane, &mdp5_state->base); in mdp5_plane_duplicate_state()
113 return &mdp5_state->base; in mdp5_plane_duplicate_state()
[all …]
H A Dmdp5_kms.c112 struct mdp5_global_state *mdp5_state = to_mdp5_global_state(state); in mdp5_global_destroy_state() local
114 kfree(mdp5_state); in mdp5_global_destroy_state()
120 struct mdp5_global_state *mdp5_state = to_mdp5_global_state(state); in mdp5_global_print_state() local
122 if (mdp5_state->mdp5_kms->smp) in mdp5_global_print_state()
123 mdp5_smp_dump(mdp5_state->mdp5_kms->smp, p, mdp5_state); in mdp5_global_print_state()