[PATCH] drm: Add support for two-ended allocation, v2

Lauri Kasanen cand at gmx.com
Wed Apr 2 07:54:34 PDT 2014


On Wed, 02 Apr 2014 13:00:00 +0200
Christian König <deathsimple at vodafone.de> wrote:

> Nice idea, but I wouldn't put the decision where to place the buffer 
> into TTM based on it's size.
> 
> Instead please make that a proper TTM placement flag because for example 
> for VM page tables we want them to be at the end of VRAM, not because 
> they are big (which they are anyway) but because they never accessed by 
> the CPU.

I think there aren't many special cases like that, and they could
already be handled by setting the first and last pages for the bo?

- Lauri


More information about the dri-devel mailing list