On Tue, Aug 23, 2005 at 10:49:28PM -0400, Michel Dänzer wrote:
> On Wed, 2005-08-24 at 00:40 +0200, Stephane Marchesin wrote:
> > Alan Cox wrote:
> > > Its critical that the kernel knows what memory on the video space is
> > > being used for command queue and protects it. From the description of
> > > the SiS turboqueue I suspect you may be able to root a sis video box
> > > that way but without full docs I can't tell.
> > 
> > Protecting a statically assigned command queue is one thing (something 
> > similar to what's currently done on radeon would be sufficient), 
> > protecting dynamically allocated video memory is another.
> 
> If the DRM operated on memory objects instead of with offsets directly,
> it should be trivial: It only has to check that the caller has
> permission to access the memory objects involved.

To make this bullet proof it would also have to make sure the operation is 
clipped so that it doesn't extend beyond the allocated memory.

-- 
Ville Syrjälä
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to