• Home
  • Raw
  • Download

Lines Matching refs:args

105 		(DIV_ROUND_UP(exec->args->width, 32) * y + x);  in vc4_full_res_offset()
127 struct drm_vc4_submit_cl *args = exec->args; in emit_tile() local
128 bool has_bin = args->bin_cl_size != 0; in emit_tile()
135 if (args->color_read.flags & in emit_tile()
140 &args->color_read, x, y) | in emit_tile()
144 rcl_u16(setup, args->color_read.bits); in emit_tile()
146 args->color_read.offset); in emit_tile()
157 if (args->zs_read.flags & in emit_tile()
162 &args->zs_read, x, y) | in emit_tile()
166 rcl_u16(setup, args->zs_read.bits); in emit_tile()
168 args->zs_read.offset); in emit_tile()
202 &args->msaa_color_write, x, y) | in emit_tile()
220 &args->msaa_zs_write, x, y) | in emit_tile()
231 rcl_u16(setup, args->zs_write.bits | in emit_tile()
235 (setup->zs_write->paddr + args->zs_write.offset) | in emit_tile()
256 struct drm_vc4_submit_cl *args = exec->args; in vc4_create_rcl_bo() local
257 bool has_bin = args->bin_cl_size != 0; in vc4_create_rcl_bo()
258 uint8_t min_x_tile = args->min_x_tile; in vc4_create_rcl_bo()
259 uint8_t min_y_tile = args->min_y_tile; in vc4_create_rcl_bo()
260 uint8_t max_x_tile = args->max_x_tile; in vc4_create_rcl_bo()
261 uint8_t max_y_tile = args->max_y_tile; in vc4_create_rcl_bo()
269 if (args->flags & VC4_SUBMIT_CL_FIXED_RCL_ORDER) { in vc4_create_rcl_bo()
270 if (!(args->flags & VC4_SUBMIT_CL_RCL_ORDER_INCREASING_X)) in vc4_create_rcl_bo()
272 if (!(args->flags & VC4_SUBMIT_CL_RCL_ORDER_INCREASING_Y)) in vc4_create_rcl_bo()
279 if (args->flags & VC4_SUBMIT_CL_USE_CLEAR_COLOR) { in vc4_create_rcl_bo()
286 if (args->color_read.flags & in vc4_create_rcl_bo()
299 if (args->zs_read.flags & in vc4_create_rcl_bo()
342 if (args->flags & VC4_SUBMIT_CL_USE_CLEAR_COLOR) { in vc4_create_rcl_bo()
344 rcl_u32(setup, args->clear_color[0]); in vc4_create_rcl_bo()
345 rcl_u32(setup, args->clear_color[1]); in vc4_create_rcl_bo()
346 rcl_u32(setup, args->clear_z); in vc4_create_rcl_bo()
347 rcl_u8(setup, args->clear_s); in vc4_create_rcl_bo()
359 args->color_write.offset) : in vc4_create_rcl_bo()
361 rcl_u16(setup, args->width); in vc4_create_rcl_bo()
362 rcl_u16(setup, args->height); in vc4_create_rcl_bo()
363 rcl_u16(setup, args->color_write.bits); in vc4_create_rcl_bo()
387 struct drm_vc4_submit_cl *args = exec->args; in vc4_full_res_bounds_check() local
388 u32 render_tiles_stride = DIV_ROUND_UP(exec->args->width, 32); in vc4_full_res_bounds_check()
397 render_tiles_stride * args->max_y_tile + args->max_x_tile) { in vc4_full_res_bounds_check()
400 args->max_x_tile, args->max_y_tile, in vc4_full_res_bounds_check()
465 if (surf == &exec->args->zs_write) { in vc4_rcl_surface_setup()
526 exec->args->width, exec->args->height, cpp)) { in vc4_rcl_surface_setup()
587 exec->args->width, exec->args->height, cpp)) { in vc4_rcl_render_config_surface_setup()
597 struct drm_vc4_submit_cl *args = exec->args; in vc4_get_rcl() local
598 bool has_bin = args->bin_cl_size != 0; in vc4_get_rcl()
601 if (args->min_x_tile > args->max_x_tile || in vc4_get_rcl()
602 args->min_y_tile > args->max_y_tile) { in vc4_get_rcl()
604 args->min_x_tile, args->min_y_tile, in vc4_get_rcl()
605 args->max_x_tile, args->max_y_tile); in vc4_get_rcl()
610 (args->max_x_tile > exec->bin_tiles_x || in vc4_get_rcl()
611 args->max_y_tile > exec->bin_tiles_y)) { in vc4_get_rcl()
614 args->max_x_tile, args->max_y_tile, in vc4_get_rcl()
621 &args->color_write); in vc4_get_rcl()
625 ret = vc4_rcl_surface_setup(exec, &setup.color_read, &args->color_read, in vc4_get_rcl()
630 ret = vc4_rcl_surface_setup(exec, &setup.zs_read, &args->zs_read, in vc4_get_rcl()
635 ret = vc4_rcl_surface_setup(exec, &setup.zs_write, &args->zs_write, in vc4_get_rcl()
641 &args->msaa_color_write); in vc4_get_rcl()
646 &args->msaa_zs_write); in vc4_get_rcl()