[Nouveau] [Bug 39010] better handling of large pixmaps

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Oct 30 00:40:40 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=39010

--- Comment #3 from György Balló <ballogy at freestart.hu> 2011-10-30 00:40:40 PDT ---
Created attachment 52905
  --> https://bugs.freedesktop.org/attachment.cgi?id=52905
exa: set max dimensions based on available VRAM

I found a solution!

Since the VRAM size could vary inside each series of cards (e.g. NV10 cards may
have 32, 64 or 128 MB VRAM), it would better to set max dimensions based on
available VRAM instead of card series.

My proposed patch ensures that we always have enough space in VRAM to process
images. It fixes memory flush on 64 MB cards, and adds back exa support for
cards that have 32 MB or less memory (with a minimal 8 MB VRAM).

I tested this patch only on NV17 with 64 MB VRAM.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Nouveau mailing list