On Monday, October 8, 2007 2:14 pm Dave Airlie wrote:
> > On Monday, October 8, 2007 10:13 am Keith Whitwell wrote:
> >> Neither 42 nor 256 are very good - the number needs to be dynamic.
> >> Think about situations where an app has eg. one glyph per texture
> >> and is doing font rendering...  Or any reasonably complex game
> >> might use
> >>
> >>> 256 textures in a frame.
> >
> > So maybe the buffer count should be part of the execbuffer request
> > object?  Or does it have to be a separate settable parameter?
>
> I would think the kernel needs to limit this in some way... as
> otherwise we are trusting a userspace number and allocating memory
> according to it...
>
> So I'll make it dynamic but I'll have to add a kernel limit..

Yeah, definitely need a kernel limit of some kind, settable by the DRM 
master presumably?

Jesse

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to