aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/drm_irq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_irq.c b/drivers/gpu/drm/drm_irq.c
index f92da0a32f0d..062dc22a6673 100644
--- a/drivers/gpu/drm/drm_irq.c
+++ b/drivers/gpu/drm/drm_irq.c
@@ -497,8 +497,8 @@ void drm_calc_timestamping_constants(struct drm_crtc *crtc)
497 /* Dot clock in Hz: */ 497 /* Dot clock in Hz: */
498 dotclock = (u64) crtc->hwmode.clock * 1000; 498 dotclock = (u64) crtc->hwmode.clock * 1000;
499 499
500 /* Fields of interlaced scanout modes are only halve a frame duration. 500 /* Fields of interlaced scanout modes are only half a frame duration.
501 * Double the dotclock to get halve the frame-/line-/pixelduration. 501 * Double the dotclock to get half the frame-/line-/pixelduration.
502 */ 502 */
503 if (crtc->hwmode.flags & DRM_MODE_FLAG_INTERLACE) 503 if (crtc->hwmode.flags & DRM_MODE_FLAG_INTERLACE)
504 dotclock *= 2; 504 dotclock *= 2;