diff options
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 9cd6de5f9906..c297fc22867e 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c | |||
@@ -904,9 +904,9 @@ intel_g4x_find_best_PLL(const intel_limit_t *limit, struct drm_crtc *crtc, | |||
904 | 904 | ||
905 | memset(best_clock, 0, sizeof(*best_clock)); | 905 | memset(best_clock, 0, sizeof(*best_clock)); |
906 | max_n = limit->n.max; | 906 | max_n = limit->n.max; |
907 | /* based on hardware requriment prefer smaller n to precision */ | 907 | /* based on hardware requirement, prefer smaller n to precision */ |
908 | for (clock.n = limit->n.min; clock.n <= max_n; clock.n++) { | 908 | for (clock.n = limit->n.min; clock.n <= max_n; clock.n++) { |
909 | /* based on hardware requirment prefere larger m1,m2 */ | 909 | /* based on hardware requirement, prefere larger m1,m2 */ |
910 | for (clock.m1 = limit->m1.max; | 910 | for (clock.m1 = limit->m1.max; |
911 | clock.m1 >= limit->m1.min; clock.m1--) { | 911 | clock.m1 >= limit->m1.min; clock.m1--) { |
912 | for (clock.m2 = limit->m2.max; | 912 | for (clock.m2 = limit->m2.max; |