Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_surface.c406 surf_ws->u.legacy.color.fmask.slice_tile_max = in radeon_winsys_surface_init()
408 if (surf_ws->u.legacy.color.fmask.slice_tile_max) in radeon_winsys_surface_init()
409 surf_ws->u.legacy.color.fmask.slice_tile_max -= 1; in radeon_winsys_surface_init()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_sdma_copy_image.c309 unsigned slice_tile_max = tiled_slice_pitch / 64 - 1; in cik_sdma_copy_texture() local
384 slice_tile_max < (1 << 22) && linear_pitch <= (1 << 14) && in cik_sdma_copy_texture()
398 radeon_emit(slice_tile_max); in cik_sdma_copy_texture()
Dsi_state.c3399 unsigned pitch_tile_max, slice_tile_max, tile_mode_index; in si_emit_framebuffer_state() local
3415 slice_tile_max = level_info->nblk_x * level_info->nblk_y / 64 - 1; in si_emit_framebuffer_state()
3420 cb_color_slice = S_028C68_TILE_MAX(slice_tile_max); in si_emit_framebuffer_state()
3428 … cb_color_fmask_slice = S_028C88_TILE_MAX(tex->surface.u.legacy.color.fmask.slice_tile_max); in si_emit_framebuffer_state()
3434 cb_color_fmask_slice = S_028C88_TILE_MAX(slice_tile_max); in si_emit_framebuffer_state()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_state.c965 surf->cb_color_mask |= S_028100_CMASK_BLOCK_MAX(rtex->cmask.slice_tile_max); in r600_init_color_surface()
970 surf->cb_color_mask |= S_028100_FMASK_TILE_MAX(rtex->fmask.slice_tile_max); in r600_init_color_surface()
1033 surf->cb_color_mask = S_028100_CMASK_BLOCK_MAX(cmask.slice_tile_max) | in r600_init_color_surface()
1034 S_028100_FMASK_TILE_MAX(fmask.slice_tile_max); in r600_init_color_surface()
2868 unsigned array_mode, lbpp, pitch_tile_max, slice_tile_max, size; in r600_dma_copy_tile() local
2883slice_tile_max = (rsrc->surface.u.legacy.level[src_level].nblk_x * rsrc->surface.u.legacy.level[sr… in r600_dma_copy_tile()
2884 slice_tile_max = slice_tile_max ? slice_tile_max - 1 : 0; in r600_dma_copy_tile()
2902slice_tile_max = (rdst->surface.u.legacy.level[dst_level].nblk_x * rdst->surface.u.legacy.level[ds… in r600_dma_copy_tile()
2903 slice_tile_max = slice_tile_max ? slice_tile_max - 1 : 0; in r600_dma_copy_tile()
2942 radeon_emit(cs, (slice_tile_max << 12) | (z << 0)); in r600_dma_copy_tile()
Dr600_pipe_common.h183 unsigned slice_tile_max; member
192 unsigned slice_tile_max; member
Dr600_texture.c645 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()
646 if (out->slice_tile_max) in r600_texture_get_fmask_info()
647 out->slice_tile_max -= 1; in r600_texture_get_fmask_info()
695 out->slice_tile_max = ((pitch_elements * height) / (128*128)) - 1; in r600_texture_get_cmask_info()
846 rtex->fmask.slice_tile_max, rtex->fmask.tile_mode_index); in r600_print_texture_info()
852 rtex->cmask.slice_tile_max); in r600_print_texture_info()
Devergreen_state.c1282 color->fmask_slice = S_028C88_TILE_MAX(rtex->fmask.slice_tile_max); in evergreen_set_color_surface_common()
1757 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()
/third_party/mesa3d/src/amd/common/
Dac_surface.h107 unsigned slice_tile_max; /* max 4M */ member
Dac_surface.c1331 surf->u.legacy.color.fmask.slice_tile_max = (fout.pitch * fout.height) / 64; in gfx6_compute_surface()
1332 if (surf->u.legacy.color.fmask.slice_tile_max) in gfx6_compute_surface()
1333 surf->u.legacy.color.fmask.slice_tile_max -= 1; in gfx6_compute_surface()
3098 surf->u.legacy.color.fmask.slice_tile_max, in ac_surface_print_info()
/third_party/mesa3d/src/amd/vulkan/
Dradv_device.c6294 unsigned pitch_tile_max, slice_tile_max, tile_mode_index; in radv_initialise_color_surface() local
6301 slice_tile_max = (level_info->nblk_x * level_info->nblk_y) / 64 - 1; in radv_initialise_color_surface()
6305 cb->cb_color_slice = S_028C68_TILE_MAX(slice_tile_max); in radv_initialise_color_surface()
6315 cb->cb_color_fmask_slice = S_028C88_TILE_MAX(surf->u.legacy.color.fmask.slice_tile_max); in radv_initialise_color_surface()
6321 cb->cb_color_fmask_slice = S_028C88_TILE_MAX(slice_tile_max); in radv_initialise_color_surface()