Not-signed-off-by: Maxim Levitsky <[email protected]>
---
 drivers/gpu/drm/nouveau/nv50_fb.c |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/drivers/gpu/drm/nouveau/nv50_fb.c 
b/drivers/gpu/drm/nouveau/nv50_fb.c
index bdd2afe..ed0b5f2 100644
--- a/drivers/gpu/drm/nouveau/nv50_fb.c
+++ b/drivers/gpu/drm/nouveau/nv50_fb.c
@@ -86,6 +86,17 @@ nv50_fb_init(struct drm_device *dev)
         */
        nv_wr32(dev, 0x100c08, priv->r100c08 >> 8);
 
+       /* Power usage magic - 0.1W - verified many times*/
+
+       nv_wr32(dev, 0x100000, 0x0000c042);
+       nv_wr32(dev, 0x100004, 0x0000c042);
+       nv_wr32(dev, 0x100008, 0x0000c042);
+       nv_wr32(dev, 0x100b78, 0x0000c042);
+       nv_wr32(dev, 0x100c0c, 0x0000c042);
+       nv_wr32(dev, 0x100d04, 0x0000c042);
+       nv_wr32(dev, 0x100e0c, 0x0000c042);
+
+
        /* This is needed to get meaningful information from 100c90
         * on traps. No idea what these values mean exactly. */
        switch (dev_priv->chipset) {
-- 
1.7.5.4

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

Reply via email to