Home
last modified time | relevance | path

Searched refs:blk_h (Results 1 – 17 of 17) sorted by relevance

/third_party/libdrm/radeon/
Dradeon_surface.c177 surflevel->nblk_y = (surflevel->npix_y + surf->blk_h - 1) / surf->blk_h; in surf_minify()
586 surflevel->nblk_y = (surflevel->npix_y + surf->blk_h - 1) / surf->blk_h; in eg_surf_minify()
1437 surflevel->nblk_y = (next_power_of_two(surflevel->npix_y) + surf->blk_h - 1) / surf->blk_h; in si_surf_minify()
1441 surflevel->nblk_y = (surflevel->npix_y + surf->blk_h - 1) / surf->blk_h; in si_surf_minify()
1487 surflevel->nblk_y = (next_power_of_two(surflevel->npix_y) + surf->blk_h - 1) / surf->blk_h; in si_surf_minify_2d()
1491 surflevel->nblk_y = (surflevel->npix_y + surf->blk_h - 1) / surf->blk_h; in si_surf_minify_2d()
2479 if (!surf->blk_w || !surf->blk_h || !surf->blk_d) { in radeon_surface_sanity()
Dradeon_surface.h115 uint32_t blk_h; member
/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_surface.c42 if (!surf->blk_w || !surf->blk_h) in radv_amdgpu_surface_sanity()
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_surface.c104 surf_drm->blk_h = util_format_get_blockheight(tex->format); in surf_winsys_to_drm()
184 surf_ws->blk_h = surf_drm->blk_h; in surf_drm_to_winsys()
/third_party/mesa3d/src/mesa/main/
Dtexcompress_astc.cpp1818 unsigned blk_w, blk_h; in _mesa_unpack_astc_2d_ldr() local
1819 _mesa_get_format_block_size(format, &blk_w, &blk_h); in _mesa_unpack_astc_2d_ldr()
1823 unsigned y_blocks = (src_height + blk_h - 1) / blk_h; in _mesa_unpack_astc_2d_ldr()
1825 Decoder dec(blk_w, blk_h, 1, srgb, true); in _mesa_unpack_astc_2d_ldr()
1836 unsigned dst_blk_h = MIN2(blk_h, src_height - y*blk_h); in _mesa_unpack_astc_2d_ldr()
1852 dst_row += dst_stride * blk_h; in _mesa_unpack_astc_2d_ldr()
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_surface.c77 surf->blk_h = util_format_get_blockheight(tex->format); in amdgpu_surface_init()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_sdma_copy_image.c121 unsigned copy_height = DIV_ROUND_UP(ssrc->buffer.b.b.height0, ssrc->surface.blk_h); in si_sdma_v4_v5_copy_texture()
157 unsigned tiled_height = DIV_ROUND_UP(tiled->buffer.b.b.height0, tiled->surface.blk_h); in si_sdma_v4_v5_copy_texture()
250 unsigned copy_height = DIV_ROUND_UP(ssrc->buffer.b.b.height0, ssrc->surface.blk_h); in cik_sdma_copy_texture()
Dsi_texture.c153 (box->y / tex->surface.blk_h * pitch + box->x / tex->surface.blk_w) * in si_texture_get_offset()
167 (box->y / tex->surface.blk_h * tex->surface.u.legacy.level[level].nblk_x + in si_texture_get_offset()
/third_party/mesa3d/src/amd/vulkan/
Dradv_sdma_copy_image.c82 unsigned copy_height = DIV_ROUND_UP(image->info.height, image->planes[0].surface.blk_h); in radv_sdma_v4_v5_copy_image_to_buffer()
Dradv_image.c1624 image->planes[i].surface.blk_h = vk_format_get_blockheight(format); in radv_image_reset_layout()
/third_party/mesa3d/src/amd/common/
Dac_surface.h310 uint8_t blk_h : 4; member
Dac_surface.c882 surf->blk_h == 1) { in get_display_flag()
884 if (surf->blk_w == 2 && surf->blk_h == 1) in get_display_flag()
1044 compressed = surf->blk_w == 4 && surf->blk_h == 4; in gfx6_compute_surface()
2144 compressed = surf->blk_w == 4 && surf->blk_h == 4; in gfx9_compute_surface()
3038 surf->blk_w, surf->blk_h, surf->bpe, surf->flags); in ac_surface_print_info()
3079 surf->blk_h, surf->bpe, surf->flags); in ac_surface_print_info()
Dac_surface_modifier_test.c250 .blk_h = 1, in test_modifier()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_texture.c507 unsigned blk_w, blk_h; in st_MapTextureImage() local
508 _mesa_get_format_block_size(texImage->TexFormat, &blk_w, &blk_h); in st_MapTextureImage()
510 unsigned y_blocks = DIV_ROUND_UP(texImage->Height2, blk_h); in st_MapTextureImage()
518 (z * y_blocks + (y / blk_h)) * stride + in st_MapTextureImage()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_texture.c192 (box->y / rtex->surface.blk_h * in r600_texture_get_offset()
829 rtex->surface.blk_h, in r600_print_texture_info()
Dr600_state.c2996 copy_height = src_box->height / rsrc->surface.blk_h; in r600_dma_copy()
Devergreen_state.c3930 copy_height = src_box->height / rsrc->surface.blk_h; in evergreen_dma_copy()