diff options
Diffstat (limited to 'drivers/gpu/drm/i915/dvo_ivch.c')
| -rw-r--r-- | drivers/gpu/drm/i915/dvo_ivch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/dvo_ivch.c b/drivers/gpu/drm/i915/dvo_ivch.c index a12ed9414cc7..04f2893d5e3c 100644 --- a/drivers/gpu/drm/i915/dvo_ivch.c +++ b/drivers/gpu/drm/i915/dvo_ivch.c | |||
| @@ -344,8 +344,8 @@ static void ivch_mode_set(struct intel_dvo_device *dvo, | |||
| 344 | (adjusted_mode->hdisplay - 1)) >> 2; | 344 | (adjusted_mode->hdisplay - 1)) >> 2; |
| 345 | y_ratio = (((mode->vdisplay - 1) << 16) / | 345 | y_ratio = (((mode->vdisplay - 1) << 16) / |
| 346 | (adjusted_mode->vdisplay - 1)) >> 2; | 346 | (adjusted_mode->vdisplay - 1)) >> 2; |
| 347 | ivch_write (dvo, VR42, x_ratio); | 347 | ivch_write(dvo, VR42, x_ratio); |
| 348 | ivch_write (dvo, VR41, y_ratio); | 348 | ivch_write(dvo, VR41, y_ratio); |
| 349 | } else { | 349 | } else { |
| 350 | vr01 &= ~VR01_PANEL_FIT_ENABLE; | 350 | vr01 &= ~VR01_PANEL_FIT_ENABLE; |
| 351 | vr40 &= ~VR40_CLOCK_GATING_ENABLE; | 351 | vr40 &= ~VR40_CLOCK_GATING_ENABLE; |
| @@ -410,7 +410,7 @@ static void ivch_destroy(struct intel_dvo_device *dvo) | |||
| 410 | } | 410 | } |
| 411 | } | 411 | } |
| 412 | 412 | ||
| 413 | struct intel_dvo_dev_ops ivch_ops= { | 413 | struct intel_dvo_dev_ops ivch_ops = { |
| 414 | .init = ivch_init, | 414 | .init = ivch_init, |
| 415 | .dpms = ivch_dpms, | 415 | .dpms = ivch_dpms, |
| 416 | .mode_valid = ivch_mode_valid, | 416 | .mode_valid = ivch_mode_valid, |
