freedreno/gmem: relax alignment on a6xx
The blob only uses single page alignment, and empirically that appears to work just fine. Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4976>
This commit is contained in:
parent
ad6e06621b
commit
c46f46befe
|
@ -461,6 +461,8 @@ gmem_key_init(struct fd_batch *batch, bool assume_zs, bool no_scis_opt)
|
|||
* but the fast clear path requires an alignment of 32K
|
||||
*/
|
||||
key->gmem_page_align = 8;
|
||||
} else if (is_a6xx(screen)) {
|
||||
key->gmem_page_align = 1;
|
||||
} else {
|
||||
// TODO re-check this across gens.. maybe it should only
|
||||
// be a single page in some cases:
|
||||
|
|
Loading…
Reference in New Issue