Searched refs:vc4_state (Results 1 – 6 of 6) sorted by relevance
171 memset(&vc4_state->lbm, 0, sizeof(vc4_state->lbm)); in vc4_plane_duplicate_state()177 vc4_state->dlist = kmemdup(vc4_state->dlist, in vc4_plane_duplicate_state()184 vc4_state->dlist_size = vc4_state->dlist_count; in vc4_plane_duplicate_state()216 vc4_state = kzalloc(sizeof(*vc4_state), GFP_KERNEL); in vc4_plane_reset()574 vc4_state->membus_load += vc4_state->src_w[i] * in vc4_plane_calc_load()577 vc4_state->hvs_load += vc4_state->crtc_h * vc4_state->crtc_w; in vc4_plane_calc_load()619 vc4_state->dlist[vc4_state->lbm_offset] = vc4_state->lbm.start; in vc4_plane_allocate_lbm()691 vc4_state->offsets[i] += vc4_state->src_x / in vc4_plane_mode_set()1188 vc4_state->dlist[vc4_state->pos0_offset] = in vc4_plane_atomic_async_update()1190 vc4_state->dlist[vc4_state->pos2_offset] = in vc4_plane_atomic_async_update()[all …]
174 (vc4_state->assigned_channel * 3 * crtc->gamma_size)); in vc4_hvs_lut_load()353 ret = drm_mm_insert_node(&vc4->hvs->dlist_mm, &vc4_state->mm, in vc4_hvs_atomic_check()378 if (!vc4_state->feed_txp || vc4_state->txp_armed) { in vc4_hvs_update_dlist()383 HVS_WRITE(SCALER_DISPLISTX(vc4_state->assigned_channel), in vc4_hvs_update_dlist()384 vc4_state->mm.start); in vc4_hvs_update_dlist()388 HVS_WRITE(SCALER_DISPLISTX(vc4_state->assigned_channel), in vc4_hvs_update_dlist()389 vc4_state->mm.start); in vc4_hvs_update_dlist()401 bool oneshot = vc4_state->feed_txp; in vc4_hvs_atomic_enable()413 unsigned int chan = vc4_state->assigned_channel; in vc4_hvs_atomic_disable()460 WARN_ON_ONCE(dlist_next - dlist_start != vc4_state->mm.size); in vc4_hvs_atomic_flush()[all …]
622 *left = vc4_state->margins.left; in vc4_crtc_get_margins()623 *right = vc4_state->margins.right; in vc4_crtc_get_margins()624 *top = vc4_state->margins.top; in vc4_crtc_get_margins()625 *bottom = vc4_state->margins.bottom; in vc4_crtc_get_margins()695 u32 chan = vc4_state->assigned_channel; in vc4_crtc_handle_page_flip()701 vc4_state->feed_txp)) { in vc4_crtc_handle_page_flip()874 vc4_state = kzalloc(sizeof(*vc4_state), GFP_KERNEL); in vc4_crtc_duplicate_state()875 if (!vc4_state) in vc4_crtc_duplicate_state()880 vc4_state->margins = old_vc4_state->margins; in vc4_crtc_duplicate_state()884 return &vc4_state->base; in vc4_crtc_duplicate_state()[all …]
236 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc_state); in vc4_hvs_pv_muxing_commit() local243 if (vc4_state->assigned_channel != 2) in vc4_hvs_pv_muxing_commit()256 if (vc4_state->feed_txp) in vc4_hvs_pv_muxing_commit()280 if (!vc4_state->update_muxing) in vc5_hvs_pv_muxing_commit()285 mux = (vc4_state->assigned_channel == 2) ? 0 : 1; in vc5_hvs_pv_muxing_commit()293 if (vc4_state->assigned_channel == VC4_HVS_CHANNEL_DISABLED) in vc5_hvs_pv_muxing_commit()296 mux = vc4_state->assigned_channel; in vc5_hvs_pv_muxing_commit()305 if (vc4_state->assigned_channel == VC4_HVS_CHANNEL_DISABLED) in vc5_hvs_pv_muxing_commit()308 mux = vc4_state->assigned_channel; in vc5_hvs_pv_muxing_commit()318 if (vc4_state->assigned_channel == VC4_HVS_CHANNEL_DISABLED) in vc5_hvs_pv_muxing_commit()[all …]
231 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(state); in vc4_txp_armed() local233 vc4_state->txp_armed = true; in vc4_txp_armed()394 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc_state); in vc4_txp_atomic_check() local402 vc4_state->feed_txp = true; in vc4_txp_atomic_check()
287 struct vc4_hdmi_connector_state *vc4_state = conn_state_to_vc4_hdmi_conn_state(conn_state); in vc4_hdmi_connector_duplicate_state() local294 new_state->pixel_rate = vc4_state->pixel_rate; in vc4_hdmi_connector_duplicate_state()1080 struct vc4_hdmi_connector_state *vc4_state = conn_state_to_vc4_hdmi_conn_state(conn_state); in vc4_hdmi_encoder_atomic_check() local1122 vc4_state->pixel_rate = pixel_rate; in vc4_hdmi_encoder_atomic_check()
Completed in 23 milliseconds