Searched refs:vc4_state (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.15/drivers/gpu/drm/vc4/ |
D | vc4_plane.c | 162 struct vc4_plane_state *vc4_state; in vc4_plane_duplicate_state() local 167 vc4_state = kmemdup(plane->state, sizeof(*vc4_state), GFP_KERNEL); in vc4_plane_duplicate_state() 168 if (!vc4_state) in vc4_plane_duplicate_state() 171 memset(&vc4_state->lbm, 0, sizeof(vc4_state->lbm)); in vc4_plane_duplicate_state() 172 vc4_state->dlist_initialized = 0; in vc4_plane_duplicate_state() 174 __drm_atomic_helper_plane_duplicate_state(plane, &vc4_state->base); in vc4_plane_duplicate_state() 176 if (vc4_state->dlist) { in vc4_plane_duplicate_state() 177 vc4_state->dlist = kmemdup(vc4_state->dlist, in vc4_plane_duplicate_state() 178 vc4_state->dlist_count * 4, in vc4_plane_duplicate_state() 180 if (!vc4_state->dlist) { in vc4_plane_duplicate_state() [all …]
|
D | vc4_hvs.c | 165 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc->state); in vc4_hvs_lut_load() local 174 (vc4_state->assigned_channel * 3 * crtc->gamma_size)); in vc4_hvs_lut_load() 332 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc_state); in vc4_hvs_atomic_check() local 353 ret = drm_mm_insert_node(&vc4->hvs->dlist_mm, &vc4_state->mm, in vc4_hvs_atomic_check() 367 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc->state); in vc4_hvs_update_dlist() local 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() [all …]
|
D | vc4_crtc.c | 617 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(state); in vc4_crtc_get_margins() local 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() 649 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc_state); in vc4_crtc_atomic_check() local 663 vc4_state->margins.left = conn_state->tv.margins.left; in vc4_crtc_atomic_check() 664 vc4_state->margins.right = conn_state->tv.margins.right; in vc4_crtc_atomic_check() 665 vc4_state->margins.top = conn_state->tv.margins.top; in vc4_crtc_atomic_check() 666 vc4_state->margins.bottom = conn_state->tv.margins.bottom; in vc4_crtc_atomic_check() [all …]
|
D | vc4_kms.c | 236 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc_state); in vc4_hvs_pv_muxing_commit() local 243 if (vc4_state->assigned_channel != 2) in vc4_hvs_pv_muxing_commit() 256 if (vc4_state->feed_txp) in vc4_hvs_pv_muxing_commit() 277 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc_state); in vc5_hvs_pv_muxing_commit() local 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() [all …]
|
D | vc4_txp.c | 231 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(state); in vc4_txp_armed() local 233 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() local 402 vc4_state->feed_txp = true; in vc4_txp_atomic_check()
|
D | vc4_hdmi.c | 287 struct vc4_hdmi_connector_state *vc4_state = conn_state_to_vc4_hdmi_conn_state(conn_state); in vc4_hdmi_connector_duplicate_state() local 294 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() local 1122 vc4_state->pixel_rate = pixel_rate; in vc4_hdmi_encoder_atomic_check()
|