Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_surface.c410 surf_ws->u.legacy.fmask.slice_tile_max = in radeon_winsys_surface_init()
412 if (surf_ws->u.legacy.fmask.slice_tile_max) in radeon_winsys_surface_init()
413 surf_ws->u.legacy.fmask.slice_tile_max -= 1; in radeon_winsys_surface_init()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state.c960 surf->cb_color_mask |= S_028100_CMASK_BLOCK_MAX(rtex->cmask.slice_tile_max); in r600_init_color_surface()
965 surf->cb_color_mask |= S_028100_FMASK_TILE_MAX(rtex->fmask.slice_tile_max); in r600_init_color_surface()
1028 surf->cb_color_mask = S_028100_CMASK_BLOCK_MAX(cmask.slice_tile_max) | in r600_init_color_surface()
1029 S_028100_FMASK_TILE_MAX(fmask.slice_tile_max); in r600_init_color_surface()
2860 unsigned array_mode, lbpp, pitch_tile_max, slice_tile_max, size; in r600_dma_copy_tile() local
2875slice_tile_max = (rsrc->surface.u.legacy.level[src_level].nblk_x * rsrc->surface.u.legacy.level[sr… in r600_dma_copy_tile()
2876 slice_tile_max = slice_tile_max ? slice_tile_max - 1 : 0; in r600_dma_copy_tile()
2894slice_tile_max = (rdst->surface.u.legacy.level[dst_level].nblk_x * rdst->surface.u.legacy.level[ds… in r600_dma_copy_tile()
2895 slice_tile_max = slice_tile_max ? slice_tile_max - 1 : 0; in r600_dma_copy_tile()
2934 radeon_emit(cs, (slice_tile_max << 12) | (z << 0)); in r600_dma_copy_tile()
Dr600_pipe_common.h188 unsigned slice_tile_max; member
197 unsigned slice_tile_max; member
Dr600_texture.c648 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()
649 if (out->slice_tile_max) in r600_texture_get_fmask_info()
650 out->slice_tile_max -= 1; in r600_texture_get_fmask_info()
698 out->slice_tile_max = ((pitch_elements * height) / (128*128)) - 1; in r600_texture_get_cmask_info()
853 rtex->fmask.slice_tile_max, rtex->fmask.tile_mode_index); in r600_print_texture_info()
859 rtex->cmask.slice_tile_max); in r600_print_texture_info()
Devergreen_state.c1277 color->fmask_slice = S_028C88_TILE_MAX(rtex->fmask.slice_tile_max); in evergreen_set_color_surface_common()
1756 radeon_emit(cs, rtex ? rtex->cmask.slice_tile_max : 0); /* R_028C80_CB_COLOR0_CMASK_SLICE */ in evergreen_emit_image_state()
1886 radeon_emit(cs, tex->cmask.slice_tile_max); /* R_028C80_CB_COLOR0_CMASK_SLICE */ in evergreen_emit_framebuffer_state()
3782 unsigned array_mode, lbpp, pitch_tile_max, slice_tile_max, size; in evergreen_dma_copy_tile() local
3804slice_tile_max = (rsrc->surface.u.legacy.level[src_level].nblk_x * rsrc->surface.u.legacy.level[sr… in evergreen_dma_copy_tile()
3805 slice_tile_max = slice_tile_max ? slice_tile_max - 1 : 0; in evergreen_dma_copy_tile()
3829slice_tile_max = (rdst->surface.u.legacy.level[dst_level].nblk_x * rdst->surface.u.legacy.level[ds… in evergreen_dma_copy_tile()
3830 slice_tile_max = slice_tile_max ? slice_tile_max - 1 : 0; in evergreen_dma_copy_tile()
3874 radeon_emit(cs, (slice_tile_max << 0)); in evergreen_dma_copy_tile()
/external/mesa3d/src/amd/common/
Dac_surface.h96 unsigned slice_tile_max; /* max 4M */ member
Dac_surface.c1143 surf->u.legacy.fmask.slice_tile_max = (fout.pitch * fout.height) / 64; in gfx6_compute_surface()
1144 if (surf->u.legacy.fmask.slice_tile_max) in gfx6_compute_surface()
1145 surf->u.legacy.fmask.slice_tile_max -= 1; in gfx6_compute_surface()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dcik_sdma.c325 unsigned slice_tile_max = tiled_slice_pitch / 64 - 1; in cik_sdma_copy_texture() local
407 slice_tile_max < (1 << 22) && linear_pitch <= (1 << 14) && in cik_sdma_copy_texture()
422 radeon_emit(cs, slice_tile_max); in cik_sdma_copy_texture()
Dsi_state.c3044 unsigned pitch_tile_max, slice_tile_max, tile_mode_index; in si_emit_framebuffer_state() local
3060 slice_tile_max = level_info->nblk_x * level_info->nblk_y / 64 - 1; in si_emit_framebuffer_state()
3065 cb_color_slice = S_028C68_TILE_MAX(slice_tile_max); in si_emit_framebuffer_state()
3073 cb_color_fmask_slice = S_028C88_TILE_MAX(tex->surface.u.legacy.fmask.slice_tile_max); in si_emit_framebuffer_state()
3079 cb_color_fmask_slice = S_028C88_TILE_MAX(slice_tile_max); in si_emit_framebuffer_state()
Dsi_texture.c905 tex->surface.u.legacy.fmask.slice_tile_max, tex->surface.u.legacy.fmask.tiling_index); in si_print_texture_info()
/external/mesa3d/src/amd/vulkan/
Dradv_device.c6765 unsigned pitch_tile_max, slice_tile_max, tile_mode_index; in radv_initialise_color_surface() local
6772 slice_tile_max = (level_info->nblk_x * level_info->nblk_y) / 64 - 1; in radv_initialise_color_surface()
6776 cb->cb_color_slice = S_028C68_TILE_MAX(slice_tile_max); in radv_initialise_color_surface()
6785 cb->cb_color_fmask_slice = S_028C88_TILE_MAX(surf->u.legacy.fmask.slice_tile_max); in radv_initialise_color_surface()
6791 cb->cb_color_fmask_slice = S_028C88_TILE_MAX(slice_tile_max); in radv_initialise_color_surface()