diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index dc5077560c74..789e6ab8fb19 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -708,7 +708,7 @@ vlv_find_best_dpll(const intel_limit_t *limit, struct drm_crtc *crtc, bestppm = 0; flag = 1; } - if (ppm < bestppm - 10) { + if (bestppm >= 10 && ppm < bestppm - 10) { bestppm = ppm; flag = 1; }