User: Password:
|
|
Subscribe / Log in / New account

Airlie: raspberry pi drivers are NOT useful

Airlie: raspberry pi drivers are NOT useful

Posted Oct 25, 2012 23:21 UTC (Thu) by luto (subscriber, #39314)
In reply to: Airlie: raspberry pi drivers are NOT useful by asbradbury
Parent article: Airlie: raspberry pi drivers are NOT useful

I tend to agree with that. ISTM that maybe the design of the device is suboptimal, but I don't see what's wrong with the driver given how the hardware is set up.


(Log in to post comments)

Airlie: raspberry pi drivers are NOT useful

Posted Oct 26, 2012 3:50 UTC (Fri) by airlied (subscriber, #9104) [Link]

I'm going to get to a follow up post as some point once I've digested and not thrown up more of the code.

But essentially providing any sort of DRI infrastructure on this where you want user processes to directly access the RPC interface, could be a security problem.

The GPU can access anything in RAM it wants afaik, and we've no idea what the complete command space the RPC interface covers. If there is any possibility that you can get the GPU do to something bad via the RPC interface, then you would need to audit all commands sent from userspace against a known list of safe ones in the kernel driver.

Their code afaik doesn't do any of that.


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds