Re: [PATCH v2 5/7] drm/panfrost: Add a no execute flag for BO allocations

2019-07-26 Thread Steven Price
On 25/07/2019 02:10, Rob Herring wrote: > Executable buffers have an alignment restriction that they can't cross > 16MB boundary as the GPU program counter is 24-bits. This restriction is > currently not handled and we just get lucky. As current userspace > assumes all BOs are executable, that has

[PATCH v2 5/7] drm/panfrost: Add a no execute flag for BO allocations

2019-07-24 Thread Rob Herring
Executable buffers have an alignment restriction that they can't cross 16MB boundary as the GPU program counter is 24-bits. This restriction is currently not handled and we just get lucky. As current userspace assumes all BOs are executable, that has to remain the default. So add a new PANFROST_BO_