gallium: Weaken assertion about u_mm's align2 field.
authorEric Anholt <eric@anholt.net>
Sat, 21 Jan 2017 05:56:27 +0000 (16:56 +1100)
committerEric Anholt <eric@anholt.net>
Tue, 26 Sep 2017 21:50:29 +0000 (14:50 -0700)
commit6cc59de9cd56498e176fa3a07326be00a7f5929f
treeeceba0b9e45d5ba6abfd370a6ca2eff5250603f4
parentbb7c9789c2fbba0335993cb610cee3d455a8bedc
gallium: Weaken assertion about u_mm's align2 field.

vc5 MMU mappings are access-controlled at a 128kb boundary, so the 4kb
here was too small for that purpose.  Allowing any valid align2 value that
u_mm's 32-bit addressing can represent will still catch most cases of
people passing in a byte alignment.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/auxiliary/util/u_mm.c