/external/mesa3d/src/intel/blorp/ |
D | blorp_priv.h | 76 blorp_surf_convert_to_single_slice(const struct isl_device *isl_dev, 79 surf_fake_rgb_with_red(const struct isl_device *isl_dev, 82 blorp_surf_convert_to_uncompressed(const struct isl_device *isl_dev, 87 blorp_surf_fake_interleaved_msaa(const struct isl_device *isl_dev, 90 blorp_surf_retile_w_to_y(const struct isl_device *isl_dev,
|
D | blorp_clear.c | 356 get_fast_clear_rect(batch->blorp->isl_dev, surf->aux_surf, in blorp_fast_clear() 432 if (batch->blorp->isl_dev->info->gen < 6) in blorp_clear() 476 if (batch->blorp->isl_dev->info->gen == 4 && in blorp_clear() 478 blorp_surf_convert_to_single_slice(batch->blorp->isl_dev, ¶ms.dst); in blorp_clear() 482 surf_fake_rgb_with_red(batch->blorp->isl_dev, ¶ms.dst); in blorp_clear() 488 blorp_surf_convert_to_uncompressed(batch->blorp->isl_dev, ¶ms.dst, in blorp_clear() 615 if (ISL_DEV_GEN(batch->blorp->isl_dev) <= 6) { in blorp_clear_stencil_as_rgba() 634 blorp_surf_fake_interleaved_msaa(batch->blorp->isl_dev, ¶ms.dst); in blorp_clear_stencil_as_rgba() 637 blorp_surf_retile_w_to_y(batch->blorp->isl_dev, ¶ms.dst); in blorp_clear_stencil_as_rgba() 684 if (ISL_DEV_GEN(batch->blorp->isl_dev) == 6) { in blorp_clear_depth_stencil() [all …]
|
D | blorp_blit.c | 1171 const struct gen_device_info *devinfo = blorp->isl_dev->info; in brw_blorp_build_nir_shader() 1568 blorp_surf_convert_to_single_slice(const struct isl_device *isl_dev, in blorp_surf_convert_to_single_slice() argument 1594 isl_surf_get_image_surf(isl_dev, &info->surf, in blorp_surf_convert_to_single_slice() 1622 blorp_surf_fake_interleaved_msaa(const struct isl_device *isl_dev, in blorp_surf_fake_interleaved_msaa() argument 1628 blorp_surf_convert_to_single_slice(isl_dev, info); in blorp_surf_fake_interleaved_msaa() 1636 blorp_surf_retile_w_to_y(const struct isl_device *isl_dev, in blorp_surf_retile_w_to_y() argument 1642 blorp_surf_convert_to_single_slice(isl_dev, info); in blorp_surf_retile_w_to_y() 1649 if (isl_dev->info->gen > 6 && in blorp_surf_retile_w_to_y() 1651 blorp_surf_fake_interleaved_msaa(isl_dev, info); in blorp_surf_retile_w_to_y() 1654 if (isl_dev->info->gen == 6) { in blorp_surf_retile_w_to_y() [all …]
|
D | blorp_genX_exec.h | 339 GEN_GEN < 10 ? batch->blorp->isl_dev->ss.clear_value_size : 4 * 4; in blorp_emit_input_varying_data() 677 batch->blorp->isl_dev->info->max_vs_threads - 1; in blorp_emit_vs_config() 954 batch->blorp->isl_dev->info->max_wm_threads - 1; in blorp_emit_ps_config() 1008 batch->blorp->isl_dev->info->max_wm_threads - 1; in blorp_emit_ps_config() 1407 const struct isl_device *isl_dev = batch->blorp->isl_dev; in blorp_emit_surface_state() local 1439 isl_surf_fill_state(batch->blorp->isl_dev, state, in blorp_emit_surface_state() 1454 blorp_surface_reloc(batch, state_offset + isl_dev->ss.addr_offset, in blorp_emit_surface_state() 1463 uint32_t *aux_addr = state + isl_dev->ss.aux_addr_offset; in blorp_emit_surface_state() 1464 blorp_surface_reloc(batch, state_offset + isl_dev->ss.aux_addr_offset, in blorp_emit_surface_state() 1471 uint32_t *clear_addr = state + isl_dev->ss.clear_color_state_offset; in blorp_emit_surface_state() [all …]
|
D | blorp.c | 50 struct isl_device *isl_dev) in blorp_init() argument 53 blorp->isl_dev = isl_dev; in blorp_init() 140 if (is_render_target && blorp->isl_dev->info->gen <= 6) in brw_blorp_surface_info_init()
|
D | blorp.h | 44 const struct isl_device *isl_dev; member 62 struct isl_device *isl_dev);
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_wm_surface_state.c | 173 brw->isl_dev.ss.size, in brw_emit_surface_state() 174 brw->isl_dev.ss.align, in brw_emit_surface_state() 177 isl_surf_fill_state(&brw->isl_dev, state, .surf = &surf, .view = &view, in brw_emit_surface_state() 179 *surf_offset + brw->isl_dev.ss.addr_offset, in brw_emit_surface_state() 200 uint64_t *aux_addr = state + brw->isl_dev.ss.aux_addr_offset; in brw_emit_surface_state() 203 brw->isl_dev.ss.aux_addr_offset, in brw_emit_surface_state() 207 uint32_t *aux_addr = state + brw->isl_dev.ss.aux_addr_offset; in brw_emit_surface_state() 210 brw->isl_dev.ss.aux_addr_offset, in brw_emit_surface_state() 221 state + brw->isl_dev.ss.clear_color_state_offset; in brw_emit_surface_state() 224 brw->isl_dev.ss.clear_color_state_offset, in brw_emit_surface_state() [all …]
|
D | brw_misc_state.c | 352 const unsigned ds_dwords = brw->isl_dev.ds.size / 4; in brw_emit_depthbuffer() 376 ds_offset + brw->isl_dev.ds.depth_offset, in brw_emit_depthbuffer() 410 ds_offset + brw->isl_dev.ds.hiz_offset, in brw_emit_depthbuffer() 444 ds_offset + brw->isl_dev.ds.stencil_offset, in brw_emit_depthbuffer() 450 isl_emit_depth_stencil_hiz_s(&brw->isl_dev, ds_map, &info); in brw_emit_depthbuffer()
|
D | intel_screen.h | 68 struct isl_device isl_dev; member
|
D | intel_mipmap_tree.c | 393 if (!isl_surf_init_s(&brw->isl_dev, &mt->surf, &init_info)) in make_surface() 407 if (!isl_surf_init_s(&brw->isl_dev, &mt->surf, &init_info)) in make_surface() 411 if (!isl_surf_init_s(&brw->isl_dev, &mt->surf, &init_info)) in make_surface() 731 if (!isl_surf_get_ccs_surf(&brw->isl_dev, &mt->surf, &temp_ccs_surf, NULL, in create_ccs_buf_for_image() 754 if (brw->isl_dev.ss.clear_color_state_size > 0) { in create_ccs_buf_for_image() 757 brw->isl_dev.ss.clear_color_state_size, in create_ccs_buf_for_image() 1460 const bool has_indirect_clear = brw->isl_dev.ss.clear_color_state_size > 0; in intel_alloc_aux_buffer() 1467 size += brw->isl_dev.ss.clear_color_state_size; in intel_alloc_aux_buffer() 1510 brw->isl_dev.ss.clear_color_state_size); in intel_alloc_aux_buffer() 1591 aux_surf_ok = isl_surf_get_hiz_surf(&brw->isl_dev, &mt->surf, &aux_surf); in intel_miptree_alloc_aux() [all …]
|
D | intel_screen.c | 755 ok = isl_surf_init(&screen->isl_dev, &surf, in intel_create_image_common() 778 ok = isl_surf_get_ccs_surf(&screen->isl_dev, &surf, &aux_surf, NULL, 0); in intel_create_image_common() 1157 ok = isl_surf_init(&screen->isl_dev, &surf, in intel_create_image_from_fds_common() 1207 ok = isl_surf_get_ccs_surf(&screen->isl_dev, &surf, &aux_surf, NULL, in intel_create_image_from_fds_common() 2621 isl_device_init(&screen->isl_dev, &screen->devinfo, in intelInitScreen2()
|
/external/mesa3d/src/gallium/drivers/iris/ |
D | iris_draw.c | 290 const struct isl_device *isl_dev = &screen->isl_dev; in iris_update_grid_size_resource() local 325 u_upload_alloc(ice->state.surface_uploader, 0, isl_dev->ss.size, in iris_update_grid_size_resource() 326 isl_dev->ss.align, &state_ref->offset, &state_ref->res, in iris_update_grid_size_resource() 330 isl_buffer_fill_state(&screen->isl_dev, surf_map, in iris_update_grid_size_resource() 335 .mocs = iris_mocs(grid_bo, isl_dev, in iris_update_grid_size_resource()
|
D | iris_blit.c | 232 iris_blorp_surf_for_resource(struct isl_device *isl_dev, in iris_blorp_surf_for_resource() argument 253 .mocs = iris_mocs(res->bo, isl_dev, in iris_blorp_surf_for_resource() 266 .mocs = iris_mocs(res->bo, isl_dev, 0), in iris_blorp_surf_for_resource() 274 .mocs = iris_mocs(res->aux.clear_color_bo, isl_dev, 0), in iris_blorp_surf_for_resource() 417 iris_blorp_surf_for_resource(&screen->isl_dev, &src_surf, in iris_blit() 420 iris_blorp_surf_for_resource(&screen->isl_dev, &dst_surf, in iris_blit() 551 iris_blorp_surf_for_resource(&screen->isl_dev, &src_surf, in iris_blit() 554 iris_blorp_surf_for_resource(&screen->isl_dev, &dst_surf, in iris_blit() 702 iris_blorp_surf_for_resource(&screen->isl_dev, &src_surf, in iris_copy_region() 704 iris_blorp_surf_for_resource(&screen->isl_dev, &dst_surf, in iris_copy_region()
|
D | iris_state.c | 700 struct isl_device *isl_dev = &batch->screen->isl_dev; in init_state_base_address() local 701 uint32_t mocs = isl_mocs(isl_dev, 0); in init_state_base_address() 2149 fill_buffer_surface_state(struct isl_device *isl_dev, in fill_buffer_surface_state() argument 2181 isl_buffer_fill_state(isl_dev, map, in fill_buffer_surface_state() 2187 .mocs = iris_mocs(res->bo, isl_dev, usage)); in fill_buffer_surface_state() 2333 fill_surface_state(struct isl_device *isl_dev, in fill_surface_state() argument 2346 .mocs = iris_mocs(res->bo, isl_dev, view->usage), in fill_surface_state() 2365 f.use_clear_address = isl_dev->info->gen > 9; in fill_surface_state() 2369 isl_surf_fill_state_s(isl_dev, map, &f); in fill_surface_state() 2454 fill_surface_state(&screen->isl_dev, map, isv->res, &isv->res->surf, in iris_create_sampler_view() [all …]
|
D | iris_blorp.c | 186 .mocs = iris_mocs(bo, &batch->screen->isl_dev, in blorp_alloc_vertex_buffer() 382 blorp_init(&ice->blorp, ice, &screen->isl_dev); in genX()
|
D | iris_clear.c | 318 iris_blorp_surf_for_resource(&batch->screen->isl_dev, &surf, in fast_clear_color() 384 iris_blorp_surf_for_resource(&batch->screen->isl_dev, &surf, in clear_color() 602 iris_blorp_surf_for_resource(&batch->screen->isl_dev, in clear_depth_stencil() 613 iris_blorp_surf_for_resource(&batch->screen->isl_dev, in clear_depth_stencil()
|
D | iris_screen.h | 200 struct isl_device isl_dev; member
|
D | iris_screen.c | 103 const struct isl_device *isldev = &screen->isl_dev; in iris_get_device_uuid() 819 isl_device_init(&screen->isl_dev, &screen->devinfo, false); in iris_screen_create()
|
D | iris_resolve.c | 394 iris_blorp_surf_for_resource(&batch->screen->isl_dev, &surf, in iris_resolve_color() 448 iris_blorp_surf_for_resource(&batch->screen->isl_dev, &surf, in iris_mcs_partial_resolve() 568 iris_blorp_surf_for_resource(&batch->screen->isl_dev, &surf, in iris_hiz_exec()
|
D | iris_resource.c | 443 return devinfo->gen >= 10 ? screen->isl_dev.ss.clear_color_state_size : 0; in iris_get_aux_clear_color_state_size() 562 if (!isl_surf_init_s(&screen->isl_dev, &res->surf, &init_info)) in iris_resource_configure_main() 594 isl_surf_get_mcs_surf(&screen->isl_dev, &res->surf, &res->aux.surf); in iris_resource_configure_aux() 597 isl_surf_get_hiz_surf(&screen->isl_dev, &res->surf, &res->aux.surf); in iris_resource_configure_aux() 602 isl_surf_get_ccs_surf(&screen->isl_dev, &res->surf, &res->aux.surf, in iris_resource_configure_aux()
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_image.c | 316 device->isl_dev.ss.clear_color_state_size : in add_aux_state_tracking_buffer() 317 device->isl_dev.ss.clear_value_size; in add_aux_state_tracking_buffer() 404 ok = isl_surf_get_hiz_surf(&device->isl_dev, in add_aux_surface_if_supported() 408 if (!isl_surf_supports_ccs(&device->isl_dev, in add_aux_surface_if_supported() 434 if (!isl_surf_supports_ccs(&device->isl_dev, in add_aux_surface_if_supported() 484 ok = isl_surf_get_ccs_surf(&device->isl_dev, in add_aux_surface_if_supported() 523 ok = isl_surf_get_mcs_surf(&device->isl_dev, in add_aux_surface_if_supported() 582 ok = isl_surf_init(&device->isl_dev, &anv_surf->isl, in make_surface() 604 ok = isl_surf_init(&device->isl_dev, &image->planes[plane].shadow_surface.isl, in make_surface() 1785 isl_buffer_fill_state(&device->isl_dev, state_inout->state.map, in anv_image_fill_surface_state() [all …]
|
D | genX_cmd_buffer.c | 63 uint32_t mocs = isl_mocs(&device->isl_dev, 0); in genX() 251 const struct isl_device *isl_dev = &cmd_buffer->device->isl_dev; in add_surface_reloc() local 255 state.offset + isl_dev->ss.addr_offset, in add_surface_reloc() 265 const struct isl_device *isl_dev = &cmd_buffer->device->isl_dev; in add_surface_state_relocs() local 274 state.state.offset + isl_dev->ss.aux_addr_offset, in add_surface_state_relocs() 287 isl_dev->ss.clear_color_state_offset, in add_surface_state_relocs() 1000 const struct isl_device *isl_dev = &cmd_buffer->device->isl_dev; in init_fast_clear_color() local 1002 isl_dev->ss.clear_color_state_size / 4 : in init_fast_clear_color() 1003 isl_dev->ss.clear_value_size / 4; in init_fast_clear_color() 1049 cmd_buffer->device->isl_dev.ss.clear_value_offset, in genX() [all …]
|
D | genX_blorp_exec.c | 148 .mocs = isl_mocs(&cmd_buffer->device->isl_dev, in blorp_alloc_vertex_buffer()
|
D | anv_device.c | 262 gen_uuid_compute_device_id(device->device_uuid, &device->isl_dev, VK_UUID_SIZE); in anv_physical_device_init_uuids() 530 isl_device_init(&device->isl_dev, &device->info, swizzled); in anv_physical_device_try_create() 1516 isl_device_get_sample_counts(&pdevice->isl_dev); in anv_GetPhysicalDeviceProperties() 1815 isl_device_get_sample_counts(&pdevice->isl_dev); in anv_get_physical_device_properties_1_2() 2866 device->isl_dev = physical_device->isl_dev; in anv_CreateDevice() 2997 device->isl_dev.ss.size, in anv_CreateDevice() 2998 device->isl_dev.ss.align); in anv_CreateDevice() 2999 isl_null_fill_state(&device->isl_dev, device->null_surface_state.map, in anv_CreateDevice() 4354 isl_buffer_fill_state(&device->isl_dev, state.map, in anv_fill_buffer_surface_state() 4356 .mocs = isl_mocs(&device->isl_dev, usage), in anv_fill_buffer_surface_state()
|
D | anv_cmd_buffer.c | 1265 const struct isl_device *isl_dev = &cmd_buffer->device->isl_dev; in anv_cmd_buffer_push_descriptor_set() local 1268 isl_dev->ss.size, isl_dev->ss.align); in anv_cmd_buffer_push_descriptor_set()
|