Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_dma.c145 unsigned array_mode, lbpp, pitch_tile_max, slice_tile_max, size; in si_dma_copy_tile() local
168 slice_tile_max = (rtiled->surface.u.legacy.level[tiled_lvl].nblk_x * in si_dma_copy_tile()
207 radeon_emit(cs, (slice_tile_max << 0) | (pipe_config << 26)); in si_dma_copy_tile()
Dcik_sdma.c285 unsigned slice_tile_max = tiled_slice_pitch / 64 - 1; in cik_sdma_copy_texture() local
389 slice_tile_max < (1 << 22) && in cik_sdma_copy_texture()
407 radeon_emit(cs, slice_tile_max); in cik_sdma_copy_texture()
Dsi_state.c3069 unsigned pitch_tile_max, slice_tile_max, tile_mode_index; in si_emit_framebuffer_state() local
3083 slice_tile_max = level_info->nblk_x * in si_emit_framebuffer_state()
3089 cb_color_slice = S_028C68_TILE_MAX(slice_tile_max); in si_emit_framebuffer_state()
3095 cb_color_fmask_slice = S_028C88_TILE_MAX(tex->fmask.slice_tile_max); in si_emit_framebuffer_state()
3101 cb_color_fmask_slice = S_028C88_TILE_MAX(slice_tile_max); in si_emit_framebuffer_state()
3114 radeon_emit(cs, tex->cmask.slice_tile_max); /* CB_COLOR0_CMASK_SLICE */ in si_emit_framebuffer_state()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state.c961 surf->cb_color_mask |= S_028100_CMASK_BLOCK_MAX(rtex->cmask.slice_tile_max); in r600_init_color_surface()
966 surf->cb_color_mask |= S_028100_FMASK_TILE_MAX(rtex->fmask.slice_tile_max); in r600_init_color_surface()
1029 surf->cb_color_mask = S_028100_CMASK_BLOCK_MAX(cmask.slice_tile_max) | in r600_init_color_surface()
1030 S_028100_FMASK_TILE_MAX(fmask.slice_tile_max); in r600_init_color_surface()
2855 unsigned array_mode, lbpp, pitch_tile_max, slice_tile_max, size; in r600_dma_copy_tile() local
2870slice_tile_max = (rsrc->surface.u.legacy.level[src_level].nblk_x * rsrc->surface.u.legacy.level[sr… in r600_dma_copy_tile()
2871 slice_tile_max = slice_tile_max ? slice_tile_max - 1 : 0; in r600_dma_copy_tile()
2889slice_tile_max = (rdst->surface.u.legacy.level[dst_level].nblk_x * rdst->surface.u.legacy.level[ds… in r600_dma_copy_tile()
2890 slice_tile_max = slice_tile_max ? slice_tile_max - 1 : 0; in r600_dma_copy_tile()
2931 radeon_emit(cs, (slice_tile_max << 12) | (z << 0)); in r600_dma_copy_tile()
Dr600_pipe_common.h194 unsigned slice_tile_max; member
203 unsigned slice_tile_max; member
Dr600_texture.c627 out->slice_tile_max = (fmask.u.legacy.level[0].nblk_x * fmask.u.legacy.level[0].nblk_y) / 64; in r600_texture_get_fmask_info()
628 if (out->slice_tile_max) in r600_texture_get_fmask_info()
629 out->slice_tile_max -= 1; in r600_texture_get_fmask_info()
677 out->slice_tile_max = ((pitch_elements * height) / (128*128)) - 1; in r600_texture_get_cmask_info()
832 rtex->fmask.slice_tile_max, rtex->fmask.tile_mode_index); in r600_print_texture_info()
838 rtex->cmask.slice_tile_max); in r600_print_texture_info()
Devergreen_state.c1265 color->fmask_slice = S_028C88_TILE_MAX(rtex->fmask.slice_tile_max); in evergreen_set_color_surface_common()
1740 radeon_emit(cs, rtex ? rtex->cmask.slice_tile_max : 0); /* R_028C80_CB_COLOR0_CMASK_SLICE */ in evergreen_emit_image_state()
1870 radeon_emit(cs, tex->cmask.slice_tile_max); /* R_028C80_CB_COLOR0_CMASK_SLICE */ in evergreen_emit_framebuffer_state()
3697 unsigned array_mode, lbpp, pitch_tile_max, slice_tile_max, size; in evergreen_dma_copy_tile() local
3719slice_tile_max = (rsrc->surface.u.legacy.level[src_level].nblk_x * rsrc->surface.u.legacy.level[sr… in evergreen_dma_copy_tile()
3720 slice_tile_max = slice_tile_max ? slice_tile_max - 1 : 0; in evergreen_dma_copy_tile()
3744slice_tile_max = (rdst->surface.u.legacy.level[dst_level].nblk_x * rdst->surface.u.legacy.level[ds… in evergreen_dma_copy_tile()
3745 slice_tile_max = slice_tile_max ? slice_tile_max - 1 : 0; in evergreen_dma_copy_tile()
3789 radeon_emit(cs, (slice_tile_max << 0)); in evergreen_dma_copy_tile()
/external/mesa3d/src/amd/vulkan/
Dradv_image.c697 out->slice_tile_max = (fmask.u.legacy.level[0].nblk_x * fmask.u.legacy.level[0].nblk_y) / 64; in radv_image_get_fmask_info()
698 if (out->slice_tile_max) in radv_image_get_fmask_info()
699 out->slice_tile_max -= 1; in radv_image_get_fmask_info()
768 out->slice_tile_max = (width * height) / (128*128); in radv_image_get_cmask_info()
769 if (out->slice_tile_max) in radv_image_get_cmask_info()
770 out->slice_tile_max -= 1; in radv_image_get_cmask_info()
Dradv_device.c3122 unsigned pitch_tile_max, slice_tile_max, tile_mode_index; in radv_initialise_color_surface() local
3129 slice_tile_max = (level_info->nblk_x * level_info->nblk_y) / 64 - 1; in radv_initialise_color_surface()
3133 cb->cb_color_slice = S_028C68_TILE_MAX(slice_tile_max); in radv_initialise_color_surface()
3134 cb->cb_color_cmask_slice = iview->image->cmask.slice_tile_max; in radv_initialise_color_surface()
3142 cb->cb_color_fmask_slice = S_028C88_TILE_MAX(iview->image->fmask.slice_tile_max); in radv_initialise_color_surface()
3148 cb->cb_color_fmask_slice = S_028C88_TILE_MAX(slice_tile_max); in radv_initialise_color_surface()
Dradv_private.h1345 unsigned slice_tile_max; member
1354 unsigned slice_tile_max; member
/external/mesa3d/src/gallium/drivers/radeon/
Dr600_pipe_common.h196 unsigned slice_tile_max; member
205 unsigned slice_tile_max; member
Dr600_texture.c876 out->slice_tile_max = (fmask.u.legacy.level[0].nblk_x * fmask.u.legacy.level[0].nblk_y) / 64; in si_texture_get_fmask_info()
877 if (out->slice_tile_max) in si_texture_get_fmask_info()
878 out->slice_tile_max -= 1; in si_texture_get_fmask_info()
943 out->slice_tile_max = (width * height) / (128*128); in si_texture_get_cmask_info()
944 if (out->slice_tile_max) in si_texture_get_cmask_info()
945 out->slice_tile_max -= 1; in si_texture_get_cmask_info()
1130 rtex->fmask.slice_tile_max, rtex->fmask.tile_mode_index); in si_print_texture_info()
1136 rtex->cmask.slice_tile_max); in si_print_texture_info()