Lines Matching refs:vc4_state

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()
288 kfree(vc4_state); in vc4_plane_duplicate_state()
291 vc4_state->dlist_size = vc4_state->dlist_count; in vc4_plane_duplicate_state()
294 return &vc4_state->base; in vc4_plane_duplicate_state()
301 struct vc4_plane_state *vc4_state = to_vc4_plane_state(state); in vc4_plane_destroy_state() local
303 if (drm_mm_node_allocated(&vc4_state->lbm)) { in vc4_plane_destroy_state()
307 drm_mm_remove_node(&vc4_state->lbm); in vc4_plane_destroy_state()
311 kfree(vc4_state->dlist); in vc4_plane_destroy_state()
312 __drm_atomic_helper_plane_destroy_state(&vc4_state->base); in vc4_plane_destroy_state()
319 struct vc4_plane_state *vc4_state; in vc4_plane_reset() local
323 vc4_state = kzalloc(sizeof(*vc4_state), GFP_KERNEL); in vc4_plane_reset()
324 if (!vc4_state) in vc4_plane_reset()
327 __drm_atomic_helper_plane_reset(plane, &vc4_state->base); in vc4_plane_reset()
330 static void vc4_dlist_counter_increment(struct vc4_plane_state *vc4_state) in vc4_dlist_counter_increment() argument
332 if (vc4_state->dlist_count == vc4_state->dlist_size) { in vc4_dlist_counter_increment()
333 u32 new_size = max(4u, vc4_state->dlist_count * 2); in vc4_dlist_counter_increment()
338 memcpy(new_dlist, vc4_state->dlist, vc4_state->dlist_count * 4); in vc4_dlist_counter_increment()
340 kfree(vc4_state->dlist); in vc4_dlist_counter_increment()
341 vc4_state->dlist = new_dlist; in vc4_dlist_counter_increment()
342 vc4_state->dlist_size = new_size; in vc4_dlist_counter_increment()
345 vc4_state->dlist_count++; in vc4_dlist_counter_increment()
348 static void vc4_dlist_write(struct vc4_plane_state *vc4_state, u32 val) in vc4_dlist_write() argument
350 unsigned int idx = vc4_state->dlist_count; in vc4_dlist_write()
352 vc4_dlist_counter_increment(vc4_state); in vc4_dlist_write()
353 vc4_state->dlist[idx] = val; in vc4_dlist_write()
363 struct vc4_plane_state *vc4_state = to_vc4_plane_state(state); in vc4_get_scl_field() local
365 switch (vc4_state->x_scaling[plane] << 2 | vc4_state->y_scaling[plane]) { in vc4_get_scl_field()
439 struct vc4_plane_state *vc4_state = to_vc4_plane_state(state); in vc4_plane_setup_clipping_and_scaling() local
462 vc4_state->offsets[i] = bo->dma_addr + fb->offsets[i]; in vc4_plane_setup_clipping_and_scaling()
470 vc4_state->src_x = DIV_ROUND_CLOSEST(state->src.x1, 1 << 16); in vc4_plane_setup_clipping_and_scaling()
471 vc4_state->src_y = DIV_ROUND_CLOSEST(state->src.y1, 1 << 16); in vc4_plane_setup_clipping_and_scaling()
472 vc4_state->src_w[0] = DIV_ROUND_CLOSEST(state->src.x2, 1 << 16) - vc4_state->src_x; in vc4_plane_setup_clipping_and_scaling()
473 vc4_state->src_h[0] = DIV_ROUND_CLOSEST(state->src.y2, 1 << 16) - vc4_state->src_y; in vc4_plane_setup_clipping_and_scaling()
475 vc4_state->crtc_x = state->dst.x1; in vc4_plane_setup_clipping_and_scaling()
476 vc4_state->crtc_y = state->dst.y1; in vc4_plane_setup_clipping_and_scaling()
477 vc4_state->crtc_w = state->dst.x2 - state->dst.x1; in vc4_plane_setup_clipping_and_scaling()
478 vc4_state->crtc_h = state->dst.y2 - state->dst.y1; in vc4_plane_setup_clipping_and_scaling()
484 vc4_state->x_scaling[0] = vc4_get_scaling_mode(vc4_state->src_w[0], in vc4_plane_setup_clipping_and_scaling()
485 vc4_state->crtc_w); in vc4_plane_setup_clipping_and_scaling()
486 vc4_state->y_scaling[0] = vc4_get_scaling_mode(vc4_state->src_h[0], in vc4_plane_setup_clipping_and_scaling()
487 vc4_state->crtc_h); in vc4_plane_setup_clipping_and_scaling()
489 vc4_state->is_unity = (vc4_state->x_scaling[0] == VC4_SCALING_NONE && in vc4_plane_setup_clipping_and_scaling()
490 vc4_state->y_scaling[0] == VC4_SCALING_NONE); in vc4_plane_setup_clipping_and_scaling()
493 vc4_state->is_yuv = true; in vc4_plane_setup_clipping_and_scaling()
495 vc4_state->src_w[1] = vc4_state->src_w[0] / h_subsample; in vc4_plane_setup_clipping_and_scaling()
496 vc4_state->src_h[1] = vc4_state->src_h[0] / v_subsample; in vc4_plane_setup_clipping_and_scaling()
498 vc4_state->x_scaling[1] = in vc4_plane_setup_clipping_and_scaling()
499 vc4_get_scaling_mode(vc4_state->src_w[1], in vc4_plane_setup_clipping_and_scaling()
500 vc4_state->crtc_w); in vc4_plane_setup_clipping_and_scaling()
501 vc4_state->y_scaling[1] = in vc4_plane_setup_clipping_and_scaling()
502 vc4_get_scaling_mode(vc4_state->src_h[1], in vc4_plane_setup_clipping_and_scaling()
503 vc4_state->crtc_h); in vc4_plane_setup_clipping_and_scaling()
511 if (vc4_state->x_scaling[1] == VC4_SCALING_NONE) in vc4_plane_setup_clipping_and_scaling()
512 vc4_state->x_scaling[1] = VC4_SCALING_PPF; in vc4_plane_setup_clipping_and_scaling()
514 vc4_state->is_yuv = false; in vc4_plane_setup_clipping_and_scaling()
515 vc4_state->x_scaling[1] = VC4_SCALING_NONE; in vc4_plane_setup_clipping_and_scaling()
516 vc4_state->y_scaling[1] = VC4_SCALING_NONE; in vc4_plane_setup_clipping_and_scaling()
522 static void vc4_write_tpz(struct vc4_plane_state *vc4_state, u32 src, u32 dst) in vc4_write_tpz() argument
533 vc4_dlist_write(vc4_state, in vc4_write_tpz()
536 vc4_dlist_write(vc4_state, in vc4_write_tpz()
540 static void vc4_write_ppf(struct vc4_plane_state *vc4_state, u32 src, u32 dst) in vc4_write_ppf() argument
544 vc4_dlist_write(vc4_state, in vc4_write_ppf()
552 struct vc4_plane_state *vc4_state = to_vc4_plane_state(state); in vc4_lbm_size() local
558 if (vc4_state->y_scaling[0] == VC4_SCALING_NONE && in vc4_lbm_size()
559 vc4_state->y_scaling[1] == VC4_SCALING_NONE) in vc4_lbm_size()
569 if (vc4_state->x_scaling[0] == VC4_SCALING_TPZ) in vc4_lbm_size()
570 pix_per_line = vc4_state->crtc_w; in vc4_lbm_size()
572 pix_per_line = vc4_state->src_w[0]; in vc4_lbm_size()
574 if (!vc4_state->is_yuv) { in vc4_lbm_size()
575 if (vc4_state->y_scaling[0] == VC4_SCALING_TPZ) in vc4_lbm_size()
601 struct vc4_plane_state *vc4_state = to_vc4_plane_state(state); in vc4_write_scaling_parameters() local
604 if (vc4_state->x_scaling[channel] == VC4_SCALING_PPF) { in vc4_write_scaling_parameters()
605 vc4_write_ppf(vc4_state, in vc4_write_scaling_parameters()
606 vc4_state->src_w[channel], vc4_state->crtc_w); in vc4_write_scaling_parameters()
610 if (vc4_state->y_scaling[channel] == VC4_SCALING_PPF) { in vc4_write_scaling_parameters()
611 vc4_write_ppf(vc4_state, in vc4_write_scaling_parameters()
612 vc4_state->src_h[channel], vc4_state->crtc_h); in vc4_write_scaling_parameters()
613 vc4_dlist_write(vc4_state, 0xc0c0c0c0); in vc4_write_scaling_parameters()
617 if (vc4_state->x_scaling[channel] == VC4_SCALING_TPZ) { in vc4_write_scaling_parameters()
618 vc4_write_tpz(vc4_state, in vc4_write_scaling_parameters()
619 vc4_state->src_w[channel], vc4_state->crtc_w); in vc4_write_scaling_parameters()
623 if (vc4_state->y_scaling[channel] == VC4_SCALING_TPZ) { in vc4_write_scaling_parameters()
624 vc4_write_tpz(vc4_state, in vc4_write_scaling_parameters()
625 vc4_state->src_h[channel], vc4_state->crtc_h); in vc4_write_scaling_parameters()
626 vc4_dlist_write(vc4_state, 0xc0c0c0c0); in vc4_write_scaling_parameters()
634 struct vc4_plane_state *vc4_state; in vc4_plane_calc_load() local
638 vc4_state = to_vc4_plane_state(state); in vc4_plane_calc_load()
650 if (vc4_state->x_scaling[0] != VC4_SCALING_NONE || in vc4_plane_calc_load()
651 vc4_state->x_scaling[1] != VC4_SCALING_NONE || in vc4_plane_calc_load()
652 vc4_state->y_scaling[0] != VC4_SCALING_NONE || in vc4_plane_calc_load()
653 vc4_state->y_scaling[1] != VC4_SCALING_NONE) in vc4_plane_calc_load()
658 vc4_state->membus_load = 0; in vc4_plane_calc_load()
659 vc4_state->hvs_load = 0; in vc4_plane_calc_load()
672 vscale_factor = DIV_ROUND_UP(vc4_state->src_h[i], in vc4_plane_calc_load()
673 vc4_state->crtc_h); in vc4_plane_calc_load()
674 vc4_state->membus_load += vc4_state->src_w[i] * in vc4_plane_calc_load()
675 vc4_state->src_h[i] * vscale_factor * in vc4_plane_calc_load()
677 vc4_state->hvs_load += vc4_state->crtc_h * vc4_state->crtc_w; in vc4_plane_calc_load()
680 vc4_state->hvs_load *= vrefresh; in vc4_plane_calc_load()
681 vc4_state->hvs_load >>= hvs_load_shift; in vc4_plane_calc_load()
682 vc4_state->membus_load *= vrefresh; in vc4_plane_calc_load()
688 struct vc4_plane_state *vc4_state = to_vc4_plane_state(state); in vc4_plane_allocate_lbm() local
696 if (WARN_ON(!vc4_state->lbm_offset)) in vc4_plane_allocate_lbm()
702 if (!drm_mm_node_allocated(&vc4_state->lbm)) { in vc4_plane_allocate_lbm()
707 &vc4_state->lbm, in vc4_plane_allocate_lbm()
716 WARN_ON_ONCE(lbm_size != vc4_state->lbm.size); in vc4_plane_allocate_lbm()
719 vc4_state->dlist[vc4_state->lbm_offset] = vc4_state->lbm.start; in vc4_plane_allocate_lbm()
818 struct vc4_plane_state *vc4_state = to_vc4_plane_state(state); in vc4_plane_mode_set() local
820 u32 ctl0_offset = vc4_state->dlist_count; in vc4_plane_mode_set()
834 if (vc4_state->dlist_initialized) in vc4_plane_mode_set()
861 src_y = vc4_state->src_y; in vc4_plane_mode_set()
863 src_y += vc4_state->src_h[0] - 1; in vc4_plane_mode_set()
874 vc4_state->offsets[i] += src_y / in vc4_plane_mode_set()
878 vc4_state->offsets[i] += vc4_state->src_x / in vc4_plane_mode_set()
901 u32 tiles_l = vc4_state->src_x >> tile_w_shift; in vc4_plane_mode_set()
911 u32 x_off = vc4_state->src_x & tile_w_mask; in vc4_plane_mode_set()
935 vc4_state->offsets[0] += tiles_t * (tiles_w << tile_size_shift); in vc4_plane_mode_set()
936 vc4_state->offsets[0] += subtile_y << 8; in vc4_plane_mode_set()
937 vc4_state->offsets[0] += utile_y << 4; in vc4_plane_mode_set()
942 vc4_state->offsets[0] += (tiles_w - tiles_l) << in vc4_plane_mode_set()
944 vc4_state->offsets[0] -= (1 + !tile_y) << 10; in vc4_plane_mode_set()
946 vc4_state->offsets[0] += tiles_l << tile_size_shift; in vc4_plane_mode_set()
947 vc4_state->offsets[0] += tile_y << 10; in vc4_plane_mode_set()
1007 u32 remaining_pixels = vc4_state->src_x % 96; in vc4_plane_mode_set()
1029 x_off = (vc4_state->src_x % pix_per_tile) / in vc4_plane_mode_set()
1034 tile = vc4_state->src_x / pix_per_tile; in vc4_plane_mode_set()
1036 vc4_state->offsets[i] += param * tile_w * tile; in vc4_plane_mode_set()
1037 vc4_state->offsets[i] += src_y / in vc4_plane_mode_set()
1040 vc4_state->offsets[i] += x_off & ~(i ? 1 : 0); in vc4_plane_mode_set()
1062 vc4_dlist_write(vc4_state, in vc4_plane_mode_set()
1070 (vc4_state->is_unity ? SCALER_CTL0_UNITY : 0) | in vc4_plane_mode_set()
1075 vc4_state->pos0_offset = vc4_state->dlist_count; in vc4_plane_mode_set()
1076 vc4_dlist_write(vc4_state, in vc4_plane_mode_set()
1078 VC4_SET_FIELD(vc4_state->crtc_x, SCALER_POS0_START_X) | in vc4_plane_mode_set()
1079 VC4_SET_FIELD(vc4_state->crtc_y, SCALER_POS0_START_Y)); in vc4_plane_mode_set()
1082 if (!vc4_state->is_unity) { in vc4_plane_mode_set()
1083 vc4_dlist_write(vc4_state, in vc4_plane_mode_set()
1084 VC4_SET_FIELD(vc4_state->crtc_w, in vc4_plane_mode_set()
1086 VC4_SET_FIELD(vc4_state->crtc_h, in vc4_plane_mode_set()
1091 vc4_state->pos2_offset = vc4_state->dlist_count; in vc4_plane_mode_set()
1092 vc4_dlist_write(vc4_state, in vc4_plane_mode_set()
1095 VC4_SET_FIELD(vc4_state->src_w[0], in vc4_plane_mode_set()
1097 VC4_SET_FIELD(vc4_state->src_h[0], in vc4_plane_mode_set()
1101 vc4_dlist_write(vc4_state, 0xc0c0c0c0); in vc4_plane_mode_set()
1105 vc4_dlist_write(vc4_state, in vc4_plane_mode_set()
1110 (vc4_state->is_unity ? in vc4_plane_mode_set()
1118 vc4_state->pos0_offset = vc4_state->dlist_count; in vc4_plane_mode_set()
1119 vc4_dlist_write(vc4_state, in vc4_plane_mode_set()
1122 VC4_SET_FIELD(vc4_state->crtc_x, in vc4_plane_mode_set()
1126 VC4_SET_FIELD(vc4_state->crtc_y, in vc4_plane_mode_set()
1131 vc4_dlist_write(vc4_state, in vc4_plane_mode_set()
1140 if (!vc4_state->is_unity) { in vc4_plane_mode_set()
1141 vc4_dlist_write(vc4_state, in vc4_plane_mode_set()
1142 VC4_SET_FIELD(vc4_state->crtc_w, in vc4_plane_mode_set()
1144 VC4_SET_FIELD(vc4_state->crtc_h, in vc4_plane_mode_set()
1149 vc4_state->pos2_offset = vc4_state->dlist_count; in vc4_plane_mode_set()
1150 vc4_dlist_write(vc4_state, in vc4_plane_mode_set()
1151 VC4_SET_FIELD(vc4_state->src_w[0], in vc4_plane_mode_set()
1153 VC4_SET_FIELD(vc4_state->src_h[0], in vc4_plane_mode_set()
1157 vc4_dlist_write(vc4_state, 0xc0c0c0c0); in vc4_plane_mode_set()
1165 vc4_state->ptr0_offset = vc4_state->dlist_count; in vc4_plane_mode_set()
1167 vc4_dlist_write(vc4_state, vc4_state->offsets[i]); in vc4_plane_mode_set()
1171 vc4_dlist_write(vc4_state, 0xc0c0c0c0); in vc4_plane_mode_set()
1174 vc4_dlist_write(vc4_state, pitch0); in vc4_plane_mode_set()
1180 vc4_dlist_write(vc4_state, in vc4_plane_mode_set()
1184 vc4_dlist_write(vc4_state, pitch0); in vc4_plane_mode_set()
1189 if (vc4_state->is_yuv) { in vc4_plane_mode_set()
1201 vc4_dlist_write(vc4_state, ccm[0]); in vc4_plane_mode_set()
1202 vc4_dlist_write(vc4_state, ccm[1]); in vc4_plane_mode_set()
1203 vc4_dlist_write(vc4_state, ccm[2]); in vc4_plane_mode_set()
1206 vc4_state->lbm_offset = 0; in vc4_plane_mode_set()
1208 if (vc4_state->x_scaling[0] != VC4_SCALING_NONE || in vc4_plane_mode_set()
1209 vc4_state->x_scaling[1] != VC4_SCALING_NONE || in vc4_plane_mode_set()
1210 vc4_state->y_scaling[0] != VC4_SCALING_NONE || in vc4_plane_mode_set()
1211 vc4_state->y_scaling[1] != VC4_SCALING_NONE) { in vc4_plane_mode_set()
1215 if (vc4_state->y_scaling[0] != VC4_SCALING_NONE || in vc4_plane_mode_set()
1216 vc4_state->y_scaling[1] != VC4_SCALING_NONE) { in vc4_plane_mode_set()
1217 vc4_state->lbm_offset = vc4_state->dlist_count; in vc4_plane_mode_set()
1218 vc4_dlist_counter_increment(vc4_state); in vc4_plane_mode_set()
1233 if (vc4_state->x_scaling[0] == VC4_SCALING_PPF || in vc4_plane_mode_set()
1234 vc4_state->y_scaling[0] == VC4_SCALING_PPF || in vc4_plane_mode_set()
1235 vc4_state->x_scaling[1] == VC4_SCALING_PPF || in vc4_plane_mode_set()
1236 vc4_state->y_scaling[1] == VC4_SCALING_PPF) { in vc4_plane_mode_set()
1241 vc4_dlist_write(vc4_state, kernel); in vc4_plane_mode_set()
1243 vc4_dlist_write(vc4_state, kernel); in vc4_plane_mode_set()
1245 vc4_dlist_write(vc4_state, kernel); in vc4_plane_mode_set()
1247 vc4_dlist_write(vc4_state, kernel); in vc4_plane_mode_set()
1251 vc4_state->dlist[ctl0_offset] |= in vc4_plane_mode_set()
1252 VC4_SET_FIELD(vc4_state->dlist_count, SCALER_CTL0_SIZE); in vc4_plane_mode_set()
1255 covers_screen = vc4_state->crtc_x == 0 && vc4_state->crtc_y == 0 && in vc4_plane_mode_set()
1256 vc4_state->crtc_w == state->crtc->mode.hdisplay && in vc4_plane_mode_set()
1257 vc4_state->crtc_h == state->crtc->mode.vdisplay; in vc4_plane_mode_set()
1262 vc4_state->needs_bg_fill = fb->format->has_alpha || !covers_screen || in vc4_plane_mode_set()
1270 vc4_state->dlist_initialized = 1; in vc4_plane_mode_set()
1289 struct vc4_plane_state *vc4_state = to_vc4_plane_state(new_plane_state); in vc4_plane_atomic_check() local
1292 vc4_state->dlist_count = 0; in vc4_plane_atomic_check()
1316 struct vc4_plane_state *vc4_state = to_vc4_plane_state(plane->state); in vc4_plane_write_dlist() local
1323 vc4_state->hw_dlist = dlist; in vc4_plane_write_dlist()
1326 for (i = 0; i < vc4_state->dlist_count; i++) in vc4_plane_write_dlist()
1327 writel(vc4_state->dlist[i], &dlist[i]); in vc4_plane_write_dlist()
1332 return vc4_state->dlist_count; in vc4_plane_write_dlist()
1337 const struct vc4_plane_state *vc4_state = to_vc4_plane_state(state); in vc4_plane_dlist_size() local
1339 return vc4_state->dlist_count; in vc4_plane_dlist_size()
1347 struct vc4_plane_state *vc4_state = to_vc4_plane_state(plane->state); in vc4_plane_async_set_fb() local
1365 writel(addr, &vc4_state->hw_dlist[vc4_state->ptr0_offset]); in vc4_plane_async_set_fb()
1371 vc4_state->dlist[vc4_state->ptr0_offset] = addr; in vc4_plane_async_set_fb()
1381 struct vc4_plane_state *vc4_state, *new_vc4_state; in vc4_plane_atomic_async_update() local
1408 vc4_state = to_vc4_plane_state(plane->state); in vc4_plane_atomic_async_update()
1410 vc4_state->crtc_x = new_vc4_state->crtc_x; in vc4_plane_atomic_async_update()
1411 vc4_state->crtc_y = new_vc4_state->crtc_y; in vc4_plane_atomic_async_update()
1412 vc4_state->crtc_h = new_vc4_state->crtc_h; in vc4_plane_atomic_async_update()
1413 vc4_state->crtc_w = new_vc4_state->crtc_w; in vc4_plane_atomic_async_update()
1414 vc4_state->src_x = new_vc4_state->src_x; in vc4_plane_atomic_async_update()
1415 vc4_state->src_y = new_vc4_state->src_y; in vc4_plane_atomic_async_update()
1416 memcpy(vc4_state->src_w, new_vc4_state->src_w, in vc4_plane_atomic_async_update()
1417 sizeof(vc4_state->src_w)); in vc4_plane_atomic_async_update()
1418 memcpy(vc4_state->src_h, new_vc4_state->src_h, in vc4_plane_atomic_async_update()
1419 sizeof(vc4_state->src_h)); in vc4_plane_atomic_async_update()
1420 memcpy(vc4_state->x_scaling, new_vc4_state->x_scaling, in vc4_plane_atomic_async_update()
1421 sizeof(vc4_state->x_scaling)); in vc4_plane_atomic_async_update()
1422 memcpy(vc4_state->y_scaling, new_vc4_state->y_scaling, in vc4_plane_atomic_async_update()
1423 sizeof(vc4_state->y_scaling)); in vc4_plane_atomic_async_update()
1424 vc4_state->is_unity = new_vc4_state->is_unity; in vc4_plane_atomic_async_update()
1425 vc4_state->is_yuv = new_vc4_state->is_yuv; in vc4_plane_atomic_async_update()
1426 memcpy(vc4_state->offsets, new_vc4_state->offsets, in vc4_plane_atomic_async_update()
1427 sizeof(vc4_state->offsets)); in vc4_plane_atomic_async_update()
1428 vc4_state->needs_bg_fill = new_vc4_state->needs_bg_fill; in vc4_plane_atomic_async_update()
1431 vc4_state->dlist[vc4_state->pos0_offset] = in vc4_plane_atomic_async_update()
1432 new_vc4_state->dlist[vc4_state->pos0_offset]; in vc4_plane_atomic_async_update()
1433 vc4_state->dlist[vc4_state->pos2_offset] = in vc4_plane_atomic_async_update()
1434 new_vc4_state->dlist[vc4_state->pos2_offset]; in vc4_plane_atomic_async_update()
1435 vc4_state->dlist[vc4_state->ptr0_offset] = in vc4_plane_atomic_async_update()
1436 new_vc4_state->dlist[vc4_state->ptr0_offset]; in vc4_plane_atomic_async_update()
1442 writel(vc4_state->dlist[vc4_state->pos0_offset], in vc4_plane_atomic_async_update()
1443 &vc4_state->hw_dlist[vc4_state->pos0_offset]); in vc4_plane_atomic_async_update()
1444 writel(vc4_state->dlist[vc4_state->pos2_offset], in vc4_plane_atomic_async_update()
1445 &vc4_state->hw_dlist[vc4_state->pos2_offset]); in vc4_plane_atomic_async_update()
1446 writel(vc4_state->dlist[vc4_state->ptr0_offset], in vc4_plane_atomic_async_update()
1447 &vc4_state->hw_dlist[vc4_state->ptr0_offset]); in vc4_plane_atomic_async_update()