Home
last modified time | relevance | path

Searched refs:slice_tile_max (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_dma.c147 unsigned array_mode, lbpp, pitch_tile_max, slice_tile_max, size; in si_dma_copy_tile() local
170 slice_tile_max = (rtiled->surface.level[tiled_lvl].nblk_x * in si_dma_copy_tile()
209 radeon_emit(cs, (slice_tile_max << 0) | (pipe_config << 26)); in si_dma_copy_tile()
Dcik_sdma.c280 unsigned slice_tile_max = tiled_slice_pitch / 64 - 1; in cik_sdma_copy_texture() local
384 slice_tile_max < (1 << 22) && in cik_sdma_copy_texture()
402 radeon_emit(cs, slice_tile_max); in cik_sdma_copy_texture()
Dsi_state.c2511 unsigned pitch_tile_max, slice_tile_max, tile_mode_index; in si_emit_framebuffer_state() local
2547 slice_tile_max = level_info->nblk_x * in si_emit_framebuffer_state()
2553 cb_color_slice = S_028C68_TILE_MAX(slice_tile_max); in si_emit_framebuffer_state()
2562 cb_color_fmask_slice = S_028C88_TILE_MAX(tex->fmask.slice_tile_max); in si_emit_framebuffer_state()
2569 cb_color_fmask_slice = S_028C88_TILE_MAX(slice_tile_max); in si_emit_framebuffer_state()
2594 radeon_emit(cs, tex->cmask.slice_tile_max); /* R_028C80_CB_COLOR0_CMASK_SLICE */ in si_emit_framebuffer_state()
/external/mesa3d/src/amd/vulkan/
Dradv_image.c494 out->slice_tile_max = (fmask.level[0].nblk_x * fmask.level[0].nblk_y) / 64; in radv_image_get_fmask_info()
495 if (out->slice_tile_max) in radv_image_get_fmask_info()
496 out->slice_tile_max -= 1; in radv_image_get_fmask_info()
556 out->slice_tile_max = (width * height) / (128*128); in radv_image_get_cmask_info()
557 if (out->slice_tile_max) in radv_image_get_cmask_info()
558 out->slice_tile_max -= 1; in radv_image_get_cmask_info()
Dradv_device.c1588 unsigned pitch_tile_max, slice_tile_max, tile_mode_index; in radv_initialise_color_surface() local
1605 cb->cb_color_cmask_slice = iview->image->cmask.slice_tile_max; in radv_initialise_color_surface()
1616 slice_tile_max = (level_info->nblk_x * level_info->nblk_y) / 64 - 1; in radv_initialise_color_surface()
1620 cb->cb_color_slice = S_028C68_TILE_MAX(slice_tile_max); in radv_initialise_color_surface()
1639 cb->cb_color_fmask_slice = S_028C88_TILE_MAX(iview->image->fmask.slice_tile_max); in radv_initialise_color_surface()
1646 cb->cb_color_fmask_slice = S_028C88_TILE_MAX(slice_tile_max); in radv_initialise_color_surface()
Dradv_private.h985 unsigned slice_tile_max; member
993 unsigned slice_tile_max; member
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state.c951 surf->cb_color_mask |= S_028100_CMASK_BLOCK_MAX(rtex->cmask.slice_tile_max); in r600_init_color_surface()
956 surf->cb_color_mask |= S_028100_FMASK_TILE_MAX(rtex->fmask.slice_tile_max); in r600_init_color_surface()
1009 surf->cb_color_mask = S_028100_CMASK_BLOCK_MAX(cmask.slice_tile_max) | in r600_init_color_surface()
1010 S_028100_FMASK_TILE_MAX(fmask.slice_tile_max); in r600_init_color_surface()
2823 unsigned array_mode, lbpp, pitch_tile_max, slice_tile_max, size; in r600_dma_copy_tile() local
2838slice_tile_max = (rsrc->surface.level[src_level].nblk_x * rsrc->surface.level[src_level].nblk_y) /… in r600_dma_copy_tile()
2839 slice_tile_max = slice_tile_max ? slice_tile_max - 1 : 0; in r600_dma_copy_tile()
2857slice_tile_max = (rdst->surface.level[dst_level].nblk_x * rdst->surface.level[dst_level].nblk_y) /… in r600_dma_copy_tile()
2858 slice_tile_max = slice_tile_max ? slice_tile_max - 1 : 0; in r600_dma_copy_tile()
2899 radeon_emit(cs, (slice_tile_max << 12) | (z << 0)); in r600_dma_copy_tile()
Devergreen_state.c1155 surf->cb_color_fmask_slice = S_028C88_TILE_MAX(rtex->fmask.slice_tile_max); in evergreen_init_color_surface()
1568 radeon_emit(cs, tex->cmask.slice_tile_max); /* R_028C80_CB_COLOR0_CMASK_SLICE */ in evergreen_emit_framebuffer_state()
3355 unsigned array_mode, lbpp, pitch_tile_max, slice_tile_max, size; in evergreen_dma_copy_tile() local
3377slice_tile_max = (rsrc->surface.level[src_level].nblk_x * rsrc->surface.level[src_level].nblk_y) /… in evergreen_dma_copy_tile()
3378 slice_tile_max = slice_tile_max ? slice_tile_max - 1 : 0; in evergreen_dma_copy_tile()
3402slice_tile_max = (rdst->surface.level[dst_level].nblk_x * rdst->surface.level[dst_level].nblk_y) /… in evergreen_dma_copy_tile()
3403 slice_tile_max = slice_tile_max ? slice_tile_max - 1 : 0; in evergreen_dma_copy_tile()
3447 radeon_emit(cs, (slice_tile_max << 0)); in evergreen_dma_copy_tile()
/external/mesa3d/src/gallium/drivers/radeon/
Dr600_texture.c636 out->slice_tile_max = (fmask.level[0].nblk_x * fmask.level[0].nblk_y) / 64; in r600_texture_get_fmask_info()
637 if (out->slice_tile_max) in r600_texture_get_fmask_info()
638 out->slice_tile_max -= 1; in r600_texture_get_fmask_info()
685 out->slice_tile_max = ((pitch_elements * height) / (128*128)) - 1; in r600_texture_get_cmask_info()
730 out->slice_tile_max = (width * height) / (128*128); in si_texture_get_cmask_info()
731 if (out->slice_tile_max) in si_texture_get_cmask_info()
732 out->slice_tile_max -= 1; in si_texture_get_cmask_info()
923 rtex->fmask.slice_tile_max, rtex->fmask.tile_mode_index); in r600_print_texture_info()
929 rtex->cmask.slice_tile_max); in r600_print_texture_info()
Dr600_pipe_common.h228 unsigned slice_tile_max; member
236 unsigned slice_tile_max; member