2015-04-02 18:37 GMT+02:00 Russell King - ARM Linux linux@arm.linux.org.uk:
On Thu, Apr 02, 2015 at 05:30:44PM +0200, Lucas Stach wrote:
While this isn't the case on i.MX6 a single GPU pipe can have multiple rendering backend states, which can be selected by the pipe switch command, so there is no strict mapping between the user "pipes" and the PIPE_2D/PIPE_3D execution states.
This is good, because on Dove we have a single Vivante core which supports both 2D and 3D together. It's always bugged me that etnadrm has not treated cores separately from their capabilities.
Today I finally got the idea how this multiple pipe stuff should be done the right way - thanks Russell. So maybe you/we need to rework how the driver is designed regarding cores and pipes.
On the imx6 we should get 3 device nodes each only supporting one pipe type. On the dove we should get only one device node supporting 2 pipes types. What do you think?
greets -- Christian Gmeiner, MSc