Lines Matching refs:ofdrm_crtc_state
734 struct ofdrm_crtc_state { struct
741 static struct ofdrm_crtc_state *to_ofdrm_crtc_state(struct drm_crtc_state *base) in to_ofdrm_crtc_state() argument
743 return container_of(base, struct ofdrm_crtc_state, base); in to_ofdrm_crtc_state()
746 static void ofdrm_crtc_state_destroy(struct ofdrm_crtc_state *ofdrm_crtc_state) in ofdrm_crtc_state_destroy() argument
748 __drm_atomic_helper_crtc_destroy_state(&ofdrm_crtc_state->base); in ofdrm_crtc_state_destroy()
749 kfree(ofdrm_crtc_state); in ofdrm_crtc_state_destroy()
768 struct ofdrm_crtc_state *new_ofdrm_crtc_state; in ofdrm_primary_plane_helper_atomic_check()
929 struct ofdrm_crtc_state *ofdrm_crtc_state = to_ofdrm_crtc_state(crtc_state); in ofdrm_crtc_helper_atomic_flush() local
932 const struct drm_format_info *format = ofdrm_crtc_state->format; in ofdrm_crtc_helper_atomic_flush()
954 struct ofdrm_crtc_state *ofdrm_crtc_state = in ofdrm_crtc_reset() local
955 kzalloc(sizeof(*ofdrm_crtc_state), GFP_KERNEL); in ofdrm_crtc_reset()
960 if (ofdrm_crtc_state) in ofdrm_crtc_reset()
961 __drm_atomic_helper_crtc_reset(crtc, &ofdrm_crtc_state->base); in ofdrm_crtc_reset()
970 struct ofdrm_crtc_state *new_ofdrm_crtc_state; in ofdrm_crtc_atomic_duplicate_state()
971 struct ofdrm_crtc_state *ofdrm_crtc_state; in ofdrm_crtc_atomic_duplicate_state() local
980 ofdrm_crtc_state = to_ofdrm_crtc_state(crtc_state); in ofdrm_crtc_atomic_duplicate_state()
983 new_ofdrm_crtc_state->format = ofdrm_crtc_state->format; in ofdrm_crtc_atomic_duplicate_state()