diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvc0_pm.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvc0_pm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvc0_pm.c b/drivers/gpu/drm/nouveau/nvc0_pm.c index e9992f62c1c0..ce65f81bb871 100644 --- a/drivers/gpu/drm/nouveau/nvc0_pm.c +++ b/drivers/gpu/drm/nouveau/nvc0_pm.c | |||
@@ -269,7 +269,7 @@ calc_clk(struct drm_device *dev, int clk, struct nvc0_pm_clock *info, u32 freq) | |||
269 | clk0 = calc_div(dev, clk, clk0, freq, &div1D); | 269 | clk0 = calc_div(dev, clk, clk0, freq, &div1D); |
270 | 270 | ||
271 | /* see if we can get any closer using PLLs */ | 271 | /* see if we can get any closer using PLLs */ |
272 | if (clk0 != freq) { | 272 | if (clk0 != freq && (0x00004387 & (1 << clk))) { |
273 | if (clk < 7) | 273 | if (clk < 7) |
274 | clk1 = calc_pll(dev, clk, freq, &info->coef); | 274 | clk1 = calc_pll(dev, clk, freq, &info->coef); |
275 | else | 275 | else |