mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 20:00:10 +01:00
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
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
* but the fast clear path requires an alignment of 32K
|
||||||
*/
|
*/
|
||||||
key->gmem_page_align = 8;
|
key->gmem_page_align = 8;
|
||||||
|
} else if (is_a6xx(screen)) {
|
||||||
|
key->gmem_page_align = 1;
|
||||||
} else {
|
} else {
|
||||||
// TODO re-check this across gens.. maybe it should only
|
// TODO re-check this across gens.. maybe it should only
|
||||||
// be a single page in some cases:
|
// be a single page in some cases:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue