If it works by passing OpenCL/GLSL text source or tokenized OpenCL/GLSL to the firmware, that's a ridiculous joke, since it's going to be full of bugs and limitations and performance will be shit since a good CPU is needed to run a real optimizing shader compiler.
Plus, how does this thing do memory allocation, considering that an OpenGL implementation obviously needs to be able to allocate an unlimited amount of memory? (and unless the Raspberry Pi has gigabytes of VRAM, which is highly doubtful, that's going to have to be system memory normally allocated by the Linux kernel).
Posted Oct 26, 2012 4:33 UTC (Fri) by airlied (subscriber, #9104)
[Link]
it passes the GLSL text straight from what I can see. Hey I wrote a C equivalent compiler in firmware, trust me I know what I'm doing.
The GPU processor actually controls most things on the board, at boot I think you can set something to pick how much RAM the ARM CPU gets given and how much the GPU does.
What would be a real laugh was if their secondary CPU was running Linux, but I think its some proprietary embedded OS.
Airlie: raspberry pi drivers are NOT useful
Posted Oct 26, 2012 5:19 UTC (Fri) by gdt (subscriber, #6284)
[Link]
...I think its some proprietary embedded OS.
ThreadX from Express Logic.
I don't understand the objections based on performance and value for money. The kernel has supported some real shockers over the years. Sure, tell people it is a bad buy if that's what you think, although for A$38 no one is expecting much. But I read your blog posting as excluding any RPi graphics drivers based on some sort of Linux community equivalent to a Consumer reports review.
The whole chip design does have "free as in freedom" issues, because of the predominant position of the VideoCore core and its software. What we are really talking about is a closed platform with a ARM co-processor, and there's no doubt that the RPi Foundation has sold their product as being more than that. But I can't see why that should preclude Linux support for the ARM co-processor.
Airlie: raspberry pi drivers are NOT useful
Posted Oct 26, 2012 5:43 UTC (Fri) by airlied (subscriber, #9104)
[Link]
I've lots of reasons to preclude it based on just crappy code.
I doubt anyone will rewrite said crappy code to a level that any kernel hacker would find acceptable, just look at the usb code.