Skip to contentSkip to conversation

NV50: the tiled buffer object eviction problem

DISCUSSION Maarten Maathuis 2 participants 2 messages Dec 26, 2009 – Dec 27, 2009 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

In short, we move out the low level content of a buffer object. In the case of textures and such this is utterly useless. Still it is accessed, because ttm sees no problem in using PL_SYSTEM or PL_TT memory. What is the best way to let ttm know we don't really appreciate that? A custom memory to evict to that cannot be mapped maybe. Or an extension of PL_SYSTEM or PL_TT. Share your ideas.

Maarten.

A message that is not in the archive (sent off-list or not yet received): 6d4bc9fc0912251813q720d26e6n79869f704238e7f6-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#2 lore raw
Quoted 6 lines · Maarten Maathuis

In short, we move out the low level content of a buffer object. In the case of textures and such this is utterly useless. Still it is accessed, because ttm sees no problem in using PL_SYSTEM or PL_TT memory. What is the best way to let ttm know we don't really appreciate that? A custom memory to evict to that cannot be mapped maybe. Or an extension of PL_SYSTEM or PL_TT. Share your ideas.

For GPU access it isn't an issue, userspace knows it needs to use VRAM and won't set GART as an allowed memtype.

For CPU access, we should trap this in the fault handler and revalidate the buffer into VRAM.

That's my thoughts :)

Merry Xmas!
Ben.

Quoted 6 lines

Maarten.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau