On Wed, 12 Dec 2007 15:28:36 +0000
Keith Whitwell <[EMAIL PROTECTED]> wrote:

> Jerome Glisse wrote:
> > Hi,
> > 
> > I am wondering if allowing user to ask for partial validation
> > (ie only validate a part of a bo object) might be usefull in
> > case of userspace sub allocator and likely in others case when
> > you know for instance that you only need to access a small part
> > of a bo. Such partial things could also be usefull for mapping
> > a bo asking only to map a part of it. I am throwing the idea,
> > i haven't yet enough code to test whether this kind of optimization
> > might be worthfull for radeon hw (and possibly others)
> 
> I think if you want this, the way to get it is to abandon the userspace 
> suballocator and use kernel buffers directly.
> 
> To have the kernel manage partial buffers doesn't make sense - if this 
> is what you want, tell the kernel about the little buffers and let it 
> manage them directly.
> 
> Keith

True this kill usefullness of userspace suballocator. Still i think that
allowing to only map partial part of a bo might be usefull when you just
want to update a part of a buffer this way you can shrink down the amount
of data that you might have to move btw differents place.

Cheers,
Jerome Glisse

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to