Re: [Mesa-dev] [PATCH 2/5] gallium: Weaken assertion about u_mm's align2 field.

2017-09-20 Thread Nicolai Hähnle
On 19.09.2017 20:06, Eric Anholt wrote: 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.

[Mesa-dev] [PATCH 2/5] gallium: Weaken assertion about u_mm's align2 field.

2017-09-19 Thread Eric Anholt
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. --- src/gallium/auxiliary/util/u_mm.c | 5