Lines Matching refs:ofdrm_crtc_state
735 struct ofdrm_crtc_state { struct
742 static struct ofdrm_crtc_state *to_ofdrm_crtc_state(struct drm_crtc_state *base) in to_ofdrm_crtc_state() argument
744 return container_of(base, struct ofdrm_crtc_state, base); in to_ofdrm_crtc_state()
747 static void ofdrm_crtc_state_destroy(struct ofdrm_crtc_state *ofdrm_crtc_state) in ofdrm_crtc_state_destroy() argument
749 __drm_atomic_helper_crtc_destroy_state(&ofdrm_crtc_state->base); in ofdrm_crtc_state_destroy()
750 kfree(ofdrm_crtc_state); in ofdrm_crtc_state_destroy()
765 struct ofdrm_crtc_state *new_ofdrm_crtc_state; in ofdrm_primary_plane_helper_atomic_check()
916 struct ofdrm_crtc_state *ofdrm_crtc_state = to_ofdrm_crtc_state(crtc_state); in ofdrm_crtc_helper_atomic_flush() local
919 const struct drm_format_info *format = ofdrm_crtc_state->format; in ofdrm_crtc_helper_atomic_flush()
941 struct ofdrm_crtc_state *ofdrm_crtc_state = in ofdrm_crtc_reset() local
942 kzalloc(sizeof(*ofdrm_crtc_state), GFP_KERNEL); in ofdrm_crtc_reset()
947 if (ofdrm_crtc_state) in ofdrm_crtc_reset()
948 __drm_atomic_helper_crtc_reset(crtc, &ofdrm_crtc_state->base); in ofdrm_crtc_reset()
957 struct ofdrm_crtc_state *new_ofdrm_crtc_state; in ofdrm_crtc_atomic_duplicate_state()
958 struct ofdrm_crtc_state *ofdrm_crtc_state; in ofdrm_crtc_atomic_duplicate_state() local
967 ofdrm_crtc_state = to_ofdrm_crtc_state(crtc_state); in ofdrm_crtc_atomic_duplicate_state()
970 new_ofdrm_crtc_state->format = ofdrm_crtc_state->format; in ofdrm_crtc_atomic_duplicate_state()