[PATCH 2/2] PM: Enable (unsafe) memory reclocking

Martin Peres martin.peres at ensi-bourges.fr
Sun Jan 23 06:00:53 PST 2011


This patch re-enable the memory reclocking (for those feeling like
crashing their hardware).

Signed-off-by: Martin Peres <martin.peres at ensi-bourges.fr>
---
 drivers/gpu/drm/nouveau/nouveau_pm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/gpu/drm/nouveau/nouveau_pm.c b/drivers/gpu/drm/nouveau/nouveau_pm.c
index 96d2809..c47a9bc 100644
--- a/drivers/gpu/drm/nouveau/nouveau_pm.c
+++ b/drivers/gpu/drm/nouveau/nouveau_pm.c
@@ -85,7 +85,7 @@ nouveau_pm_perflvl_set(struct drm_device *dev, struct nouveau_pm_level *perflvl)
 
 	nouveau_pm_clock_set(dev, perflvl, PLL_CORE, perflvl->core);
 	nouveau_pm_clock_set(dev, perflvl, PLL_SHADER, perflvl->shader);
-	/*nouveau_pm_clock_set(dev, perflvl, PLL_MEMORY, perflvl->memory);*/
+	nouveau_pm_clock_set(dev, perflvl, PLL_MEMORY, perflvl->memory);
 	nouveau_pm_clock_set(dev, perflvl, PLL_UNK05, perflvl->unk05);
 
 	/* Wait for PLLs to stabilize */
-- 
1.7.3.5


--------------020307000501010900060805
Content-Type: application/x-shellscript;
 name="test_mode_changes.sh"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="test_mode_changes.sh"

IyEvYmluL2Jhc2gKCndoaWxlIFsgL2Jpbi90cnVlIF0KZG8KI2VjaG8gMzAwMDAwID4gL3N5
cy9jbGFzcy9kcm0vY2FyZDAvZGV2aWNlL2N1c3RvbV9tZW1vcnkKI2VjaG8gMzAwMDAwID4g
L3N5cy9jbGFzcy9kcm0vY2FyZDAvZGV2aWNlL2N1c3RvbV9jb3JlCiNlY2hvIDMwMDAwMCA+
IC9zeXMvY2xhc3MvZHJtL2NhcmQwL2RldmljZS9jdXN0b21fc2hhZGVyCmVjaG8gYm9vdCA+
IC9zeXMvY2xhc3MvZHJtL2NhcmQwL2RldmljZS9wZXJmb3JtYW5jZV9sZXZlbApzbGVlcCAw
LjEKZWNobyAzID4gL3N5cy9jbGFzcy9kcm0vY2FyZDAvZGV2aWNlL3BlcmZvcm1hbmNlX2xl
dmVsCnNsZWVwIDAuMQpkb25lCg==
--------------020307000501010900060805--


More information about the Nouveau mailing list