Searched refs:vc4_state (Results 1 – 2 of 2) sorted by relevance
146 struct vc4_plane_state *vc4_state; in vc4_plane_duplicate_state() local151 vc4_state = kmemdup(plane->state, sizeof(*vc4_state), GFP_KERNEL); in vc4_plane_duplicate_state()152 if (!vc4_state) in vc4_plane_duplicate_state()155 memset(&vc4_state->lbm, 0, sizeof(vc4_state->lbm)); in vc4_plane_duplicate_state()157 __drm_atomic_helper_plane_duplicate_state(plane, &vc4_state->base); in vc4_plane_duplicate_state()159 if (vc4_state->dlist) { in vc4_plane_duplicate_state()160 vc4_state->dlist = kmemdup(vc4_state->dlist, in vc4_plane_duplicate_state()161 vc4_state->dlist_count * 4, in vc4_plane_duplicate_state()163 if (!vc4_state->dlist) { in vc4_plane_duplicate_state()164 kfree(vc4_state); in vc4_plane_duplicate_state()[all …]
423 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc->state); in vc4_crtc_mode_set_nofb() local447 if (vc4_state->feed_txp) in vc4_crtc_mode_set_nofb()457 if (!vc4_state->feed_txp) in vc4_crtc_mode_set_nofb()541 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(state); in vc4_crtc_txp_armed() local543 vc4_state->txp_armed = true; in vc4_crtc_txp_armed()551 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc->state); in vc4_crtc_update_dlist() local562 if (!vc4_state->feed_txp || vc4_state->txp_armed) { in vc4_crtc_update_dlist()568 vc4_state->mm.start); in vc4_crtc_update_dlist()573 vc4_state->mm.start); in vc4_crtc_update_dlist()583 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc->state); in vc4_crtc_atomic_enable() local[all …]