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

diff --git a/drivers/gpu/drm/nouveau/nv50_pm.c 
b/drivers/gpu/drm/nouveau/nv50_pm.c
index 0901e56..2527298 100644
--- a/drivers/gpu/drm/nouveau/nv50_pm.c
+++ b/drivers/gpu/drm/nouveau/nv50_pm.c
@@ -595,6 +595,7 @@ calc_mclk(struct drm_device *dev,
                hwsq_wr32(hwsq, 0x611200, 0x00003330); /* enable scanout */
        hwsq_fini(hwsq);
 
+
        *pmast = mast;
        return 0;
 }
@@ -678,6 +679,10 @@ nv50_pm_clocks_pre(struct drm_device *dev, struct 
nouveau_pm_level *perflvl)
                }
        }
 
+       /* I don't use vdec - so I disable it */
+       mast &= ~0x00000f00;
+       mast |=  0x00000500;
+
        /* dom6: nfi what this is, but we're limited to various combinations
         * of the host clock frequency
         */
-- 
1.7.5.4

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

Reply via email to