Re: [PATCH 4/9] drm/vc4: Add an API for creating GPU shaders in GEM BOs.

2015-12-02 Thread Eric Anholt
Emil Velikov writes: > Hi Eric, > > On 1 December 2015 at 20:35, Eric Anholt wrote: >> Since we have no MMU, the kernel needs to validate that the submitted >> shader code won't make any accesses to memory that the user doesn't >> control, which involves banning some operations (general purpose

Re: [PATCH 4/9] drm/vc4: Add an API for creating GPU shaders in GEM BOs.

2015-12-02 Thread Emil Velikov
Hi Eric, On 1 December 2015 at 20:35, Eric Anholt wrote: > Since we have no MMU, the kernel needs to validate that the submitted > shader code won't make any accesses to memory that the user doesn't > control, which involves banning some operations (general purpose DMA > writes), and tracking whe

[PATCH 4/9] drm/vc4: Add an API for creating GPU shaders in GEM BOs.

2015-12-01 Thread Eric Anholt
Since we have no MMU, the kernel needs to validate that the submitted shader code won't make any accesses to memory that the user doesn't control, which involves banning some operations (general purpose DMA writes), and tracking where we need to write out pointers for other operations (texture samp