Home
last modified time | relevance | path

Searched refs:vc4_state (Results 1 – 6 of 6) sorted by relevance

/linux-6.3-rc2/drivers/gpu/drm/vc4/
A Dvc4_plane.c278 memset(&vc4_state->lbm, 0, sizeof(vc4_state->lbm)); in vc4_plane_duplicate_state()
284 vc4_state->dlist = kmemdup(vc4_state->dlist, in vc4_plane_duplicate_state()
291 vc4_state->dlist_size = vc4_state->dlist_count; in vc4_plane_duplicate_state()
674 vc4_state->membus_load += vc4_state->src_w[i] * in vc4_plane_calc_load()
677 vc4_state->hvs_load += vc4_state->crtc_h * vc4_state->crtc_w; in vc4_plane_calc_load()
719 vc4_state->dlist[vc4_state->lbm_offset] = vc4_state->lbm.start; in vc4_plane_allocate_lbm()
878 vc4_state->offsets[i] += vc4_state->src_x / in vc4_plane_mode_set()
1165 vc4_state->ptr0_offset = vc4_state->dlist_count; in vc4_plane_mode_set()
1432 vc4_state->dlist[vc4_state->pos0_offset] = in vc4_plane_atomic_async_update()
1434 vc4_state->dlist[vc4_state->pos2_offset] = in vc4_plane_atomic_async_update()
[all …]
A Dvc4_crtc.c682 *left = vc4_state->margins.left; in vc4_crtc_get_margins()
683 *right = vc4_state->margins.right; in vc4_crtc_get_margins()
684 *top = vc4_state->margins.top; in vc4_crtc_get_margins()
685 *bottom = vc4_state->margins.bottom; in vc4_crtc_get_margins()
728 vc4_state->hvs_load = mode->clock * 1000; in vc4_crtc_atomic_check()
1058 vc4_state = kzalloc(sizeof(*vc4_state), GFP_KERNEL); in vc4_crtc_duplicate_state()
1059 if (!vc4_state) in vc4_crtc_duplicate_state()
1063 vc4_state->margins = old_vc4_state->margins; in vc4_crtc_duplicate_state()
1067 return &vc4_state->base; in vc4_crtc_duplicate_state()
1076 if (drm_mm_node_allocated(&vc4_state->mm)) { in vc4_crtc_destroy_state()
[all …]
A Dvc4_hvs.c231 (vc4_state->assigned_channel * 3 * crtc->gamma_size)); in vc4_hvs_lut_load()
465 ret = drm_mm_insert_node(&vc4->hvs->dlist_mm, &vc4_state->mm, in vc4_hvs_atomic_check()
485 HVS_WRITE(SCALER_DISPLISTX(vc4_state->assigned_channel), in vc4_hvs_install_dlist()
486 vc4_state->mm.start); in vc4_hvs_install_dlist()
505 if (!vc4_crtc->feeds_txp || vc4_state->txp_armed) { in vc4_hvs_update_dlist()
514 vc4_crtc->current_dlist = vc4_state->mm.start; in vc4_hvs_update_dlist()
526 vc4_crtc->current_hvs_channel = vc4_state->assigned_channel; in vc4_hvs_atomic_begin()
551 unsigned int chan = vc4_state->assigned_channel; in vc4_hvs_atomic_disable()
566 unsigned int channel = vc4_state->assigned_channel; in vc4_hvs_atomic_flush()
582 if (vc4_state->assigned_channel == VC4_HVS_CHANNEL_DISABLED) in vc4_hvs_atomic_flush()
[all …]
A Dvc4_hdmi.c789 struct vc4_hdmi_connector_state *vc4_state = in vc4_hdmi_set_avi_infoframe() local
1174 struct vc4_hdmi_connector_state *vc4_state = in vc5_hdmi_csc_setup() local
1189 switch (vc4_state->output_format) { in vc5_hdmi_csc_setup()
1354 switch (vc4_state->output_bpc) { in vc5_hdmi_set_timings()
1681 struct vc4_hdmi_connector_state *vc4_state = in vc4_hdmi_encoder_atomic_mode_set() local
1834 vc4_state->tmds_char_rate = clock; in vc4_hdmi_encoder_compute_clock()
1859 vc4_state->output_format = format; in vc4_hdmi_encoder_compute_format()
1873 vc4_state->output_format = format; in vc4_hdmi_encoder_compute_format()
1902 vc4_state->output_bpc = bpc; in vc4_hdmi_encoder_compute_config()
1907 vc4_state->output_bpc, in vc4_hdmi_encoder_compute_config()
[all …]
A Dvc4_kms.c224 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc_state); in vc4_hvs_pv_muxing_commit() local
231 if (vc4_state->assigned_channel != 2) in vc4_hvs_pv_muxing_commit()
266 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc_state); in vc5_hvs_pv_muxing_commit() local
268 unsigned int channel = vc4_state->assigned_channel; in vc5_hvs_pv_muxing_commit()
270 if (!vc4_state->update_muxing) in vc5_hvs_pv_muxing_commit()
A Dvc4_txp.c242 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(state); in vc4_txp_armed() local
244 vc4_state->txp_armed = true; in vc4_txp_armed()

Completed in 24 milliseconds