Searched refs:vc4_state (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/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(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 | 555 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(state); in vc4_crtc_get_margins() local 560 *left = vc4_state->margins.left; in vc4_crtc_get_margins() 561 *right = vc4_state->margins.right; in vc4_crtc_get_margins() 562 *top = vc4_state->margins.top; in vc4_crtc_get_margins() 563 *bottom = vc4_state->margins.bottom; in vc4_crtc_get_margins() 585 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(state); in vc4_crtc_atomic_check() local 598 vc4_state->margins.left = conn_state->tv.margins.left; in vc4_crtc_atomic_check() 599 vc4_state->margins.right = conn_state->tv.margins.right; in vc4_crtc_atomic_check() 600 vc4_state->margins.top = conn_state->tv.margins.top; in vc4_crtc_atomic_check() 601 vc4_state->margins.bottom = conn_state->tv.margins.bottom; in vc4_crtc_atomic_check() [all …]
|
D | vc4_kms.c | 206 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc_state); in vc4_hvs_pv_muxing_commit() local 213 if (vc4_state->assigned_channel != 2) in vc4_hvs_pv_muxing_commit() 226 if (vc4_state->feed_txp) in vc4_hvs_pv_muxing_commit() 247 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(crtc_state); in vc5_hvs_pv_muxing_commit() local 250 if (!vc4_state->update_muxing) in vc5_hvs_pv_muxing_commit() 255 mux = (vc4_state->assigned_channel == 2) ? 0 : 1; in vc5_hvs_pv_muxing_commit() 263 if (vc4_state->assigned_channel == VC4_HVS_CHANNEL_DISABLED) in vc5_hvs_pv_muxing_commit() 266 mux = vc4_state->assigned_channel; in vc5_hvs_pv_muxing_commit() 275 if (vc4_state->assigned_channel == VC4_HVS_CHANNEL_DISABLED) in vc5_hvs_pv_muxing_commit() 278 mux = vc4_state->assigned_channel; in vc5_hvs_pv_muxing_commit() [all …]
|
D | vc4_txp.c | 230 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(state); in vc4_txp_armed() local 232 vc4_state->txp_armed = true; in vc4_txp_armed() 390 struct vc4_crtc_state *vc4_state = to_vc4_crtc_state(state); in vc4_txp_atomic_check() local 398 vc4_state->feed_txp = true; in vc4_txp_atomic_check()
|