Searched refs:vc4_state (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/drivers/gpu/drm/vc4/ |
D | vc4_plane.c | 269 struct vc4_plane_state *vc4_state; in vc4_plane_duplicate_state() local 274 vc4_state = kmemdup(plane->state, sizeof(*vc4_state), GFP_KERNEL); in vc4_plane_duplicate_state() 275 if (!vc4_state) in vc4_plane_duplicate_state() 278 memset(&vc4_state->lbm, 0, sizeof(vc4_state->lbm)); in vc4_plane_duplicate_state() 279 vc4_state->dlist_initialized = 0; in vc4_plane_duplicate_state() 281 __drm_atomic_helper_plane_duplicate_state(plane, &vc4_state->base); in vc4_plane_duplicate_state() 283 if (vc4_state->dlist) { in vc4_plane_duplicate_state() 284 vc4_state->dlist = kmemdup(vc4_state->dlist, in vc4_plane_duplicate_state() 285 vc4_state->dlist_count * 4, in vc4_plane_duplicate_state() 287 if (!vc4_state->dlist) { in vc4_plane_duplicate_state() [all …]
|
D | vc4_crtc.c | 678 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(state); in vc4_crtc_get_margins() local 683 *left = vc4_state->margins.left; in vc4_crtc_get_margins() 684 *right = vc4_state->margins.right; in vc4_crtc_get_margins() 685 *top = vc4_state->margins.top; in vc4_crtc_get_margins() 686 *bottom = vc4_state->margins.bottom; in vc4_crtc_get_margins() 710 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc_state); in vc4_crtc_atomic_check() local 726 vc4_state->hvs_load = max(mode->clock * mode->hdisplay / mode->htotal + 8000, in vc4_crtc_atomic_check() 729 vc4_state->hvs_load = mode->clock * 1000; in vc4_crtc_atomic_check() 738 vc4_state->margins.left = conn_state->tv.margins.left; in vc4_crtc_atomic_check() 739 vc4_state->margins.right = conn_state->tv.margins.right; in vc4_crtc_atomic_check() [all …]
|
D | vc4_hvs.c | 218 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc->state); in vc4_hvs_lut_load() local 231 (vc4_state->assigned_channel * 3 * crtc->gamma_size)); in vc4_hvs_lut_load() 444 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc_state); in vc4_hvs_atomic_check() local 465 ret = drm_mm_insert_node(&vc4->hvs->dlist_mm, &vc4_state->mm, in vc4_hvs_atomic_check() 479 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc->state); in vc4_hvs_install_dlist() local 485 HVS_WRITE(SCALER_DISPLISTX(vc4_state->assigned_channel), in vc4_hvs_install_dlist() 486 vc4_state->mm.start); in vc4_hvs_install_dlist() 495 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc->state); in vc4_hvs_update_dlist() local 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() [all …]
|
D | vc4_hdmi.c | 157 struct vc4_hdmi_connector_state *vc4_state) in vc4_hdmi_is_full_range() argument 162 if (vc4_state->broadcast_rgb == VC4_HDMI_BROADCAST_RGB_LIMITED) in vc4_hdmi_is_full_range() 164 else if (vc4_state->broadcast_rgb == VC4_HDMI_BROADCAST_RGB_FULL) in vc4_hdmi_is_full_range() 659 struct vc4_hdmi_connector_state *vc4_state = conn_state_to_vc4_hdmi_conn_state(conn_state); in vc4_hdmi_connector_duplicate_state() local 666 new_state->tmds_char_rate = vc4_state->tmds_char_rate; in vc4_hdmi_connector_duplicate_state() 667 new_state->output_bpc = vc4_state->output_bpc; in vc4_hdmi_connector_duplicate_state() 668 new_state->output_format = vc4_state->output_format; in vc4_hdmi_connector_duplicate_state() 669 new_state->broadcast_rgb = vc4_state->broadcast_rgb; in vc4_hdmi_connector_duplicate_state() 902 struct vc4_hdmi_connector_state *vc4_state = in vc4_hdmi_set_avi_infoframe() local 919 vc4_hdmi_is_full_range(vc4_hdmi, vc4_state) ? in vc4_hdmi_set_avi_infoframe() [all …]
|
D | vc4_kms.c | 218 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc_state); in vc4_hvs_pv_muxing_commit() local 225 if (vc4_state->assigned_channel != 2) in vc4_hvs_pv_muxing_commit() 260 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc_state); in vc5_hvs_pv_muxing_commit() local 262 unsigned int channel = vc4_state->assigned_channel; in vc5_hvs_pv_muxing_commit() 264 if (!vc4_state->update_muxing) in vc5_hvs_pv_muxing_commit()
|
D | vc4_txp.c | 238 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(state); in vc4_txp_armed() local 240 vc4_state->txp_armed = true; in vc4_txp_armed()
|