

freedreno: reduce extra height alignment in a6xx layout
source link: https://gitlab.freedesktop.org/mesa/mesa/-/commit/e49748521ec9182e8d2eec823182cc463709123f
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

freedreno: reduce extra height alignment in a6xx layout
Signed-off-by: Jonathan Marek <[email protected]> Part-of: <!4611>
1 merge request!4611freedreno: add adreno 650
......@@ -169,14 +169,14 @@ fdl6_layout(struct fdl_layout *layout,
nblocksy = align(nblocksy, ta->heightalign);
/* The blits used for mem<->gmem work at a granularity of
* 32x32, which can cause faults due to over-fetch on the
* 16x4, which can cause faults due to over-fetch on the
* last level. The simple solution is to over-allocate a
* bit the last level to ensure any over-fetch is harmless.
* The pitch is already sufficiently aligned, but height
* may not be:
* may not be. note this only matters if last level is linear
*/
if (level == mip_levels - 1)
nblocksy = align(nblocksy, 32);
height = align(nblocksy, 4);
uint32_t nblocksx =
util_align_npot(util_format_get_nblocksx(format, u_minify(pitch0, level)),
......
Recommend
-
4
How To Make Expandable UITableViewCells For Dynamic Text Height With Auto Layout UITableViewCell objects are the core elements for table views and are used to draw the table view visible rows. Alth...
-
7
freedreno/a6xx: add support for ARB_shader_stencil_export Copied from Turnip. There are no CTS tests and only two piglit: glsl-fs-shader-stencil-export fbo-de...
-
5
freedreno/a6xx: Fix typo in height alignment calculation in a6xx layout Fixes KHR-GL31.texture_size_promotion.functional Fixes:
-
5
freedreno/a6xx: add support for dual-source blending It was already implemented in Turnip !5039 (merged). ...
-
4
Commit 7fbdb686 authored 3 months ago by Danylo Piliaiev
-
10
Opened 3 months ago by freedreno/a6xx: bump varyings limit GL_MAX_VARYING_COMPONENTS is bumped t...
-
10
freedreno/a6xx: support layered framebuffers in blitter_clear Search files (Ctrl+P) src/gallium/drivers/freedreno freedreno_blitte...
-
4
Commit de75cb3a authored 2 months ago by Danylo Piliaiev
-
6
Avoiding <img> layout shifts: aspect-ratio vs width & height attributesPosted 11 July 2022 By default, an <img> takes up zero space until the browser loads enough of the image to know its dimensi...
-
9
Ultimate guide to baseline alignment using Figma’s auto layoutAn in-depth analysis of implementing the overlooked baseline grids in FigmaPubl...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK