[Nouveau] [PATCH] Print NOUVEAU_NO_SWIZZLE and NOUVEAU_NO_TRANSFER messages only once

Xavier shiningxc at gmail.com
Mon Jan 4 09:54:06 PST 2010


On Thu, Dec 31, 2009 at 1:24 PM, Luca Barbieri <luca at luca-barbieri.com> wrote:
> Currently we are continuously spewing messages messages about these variables since we call debug_get_bool_option everytime we want to check their value
> This is annoying, slows things down due to terminal rerendering and obscures useful messages.
> This patch only calls debug_get_bool_option once and caches the result in a static variable.
> ---

I found this annoying too, on the nv30 that I don't use much. Thanks
for the patch, it works nicely :)


More information about the Nouveau mailing list