diff options
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_hw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_hw.c b/drivers/gpu/drm/nouveau/nouveau_hw.c index ebcf8a8190c2..bed669a54a2d 100644 --- a/drivers/gpu/drm/nouveau/nouveau_hw.c +++ b/drivers/gpu/drm/nouveau/nouveau_hw.c | |||
@@ -305,7 +305,7 @@ setPLL_double_lowregs(struct drm_device *dev, uint32_t NMNMreg, | |||
305 | bool mpll = Preg == 0x4020; | 305 | bool mpll = Preg == 0x4020; |
306 | uint32_t oldPval = nvReadMC(dev, Preg); | 306 | uint32_t oldPval = nvReadMC(dev, Preg); |
307 | uint32_t NMNM = pv->NM2 << 16 | pv->NM1; | 307 | uint32_t NMNM = pv->NM2 << 16 | pv->NM1; |
308 | uint32_t Pval = (oldPval & (mpll ? ~(0x11 << 16) : ~(1 << 16))) | | 308 | uint32_t Pval = (oldPval & (mpll ? ~(0x77 << 16) : ~(7 << 16))) | |
309 | 0xc << 28 | pv->log2P << 16; | 309 | 0xc << 28 | pv->log2P << 16; |
310 | uint32_t saved4600 = 0; | 310 | uint32_t saved4600 = 0; |
311 | /* some cards have different maskc040s */ | 311 | /* some cards have different maskc040s */ |