From: Martin Peres Date: Sat, 30 Jul 2011 21:08:45 +0000 (+0200) Subject: drm/nv50/gr: enable ctxprog xfer only when we need it to save power X-Git-Tag: v3.2-rc1~135^2~58^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbba036a56fe0e5c5e8c91daf3fa211f88d94a03;p=pandora-kernel.git drm/nv50/gr: enable ctxprog xfer only when we need it to save power This patch adds instructions to ctxprog and by doing, impacts context switching performance. My testcase showed a 1% performance cost using glxgears that is a context-switch bound application. Please test and report bugs/performance/power/other. Many thanks to Maxim Levitsky for his dedicated work on lowering power consumption with nouveau. More patches are coming thanks to his work: https://bugs.freedesktop.org/show_bug.cgi?id=37922 Signed-off-by: Martin Peres Signed-off-by: Ben Skeggs --- Reading git-diff-tree failed