diff options
| -rw-r--r-- | drivers/gpu/drm/drm_irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_irq.c b/drivers/gpu/drm/drm_irq.c index 3283669a9083..52a234c4160e 100644 --- a/drivers/gpu/drm/drm_irq.c +++ b/drivers/gpu/drm/drm_irq.c | |||
| @@ -451,7 +451,7 @@ void drm_calc_timestamping_constants(struct drm_crtc *crtc, | |||
| 451 | const struct drm_display_mode *mode) | 451 | const struct drm_display_mode *mode) |
| 452 | { | 452 | { |
| 453 | s64 linedur_ns = 0, pixeldur_ns = 0, framedur_ns = 0; | 453 | s64 linedur_ns = 0, pixeldur_ns = 0, framedur_ns = 0; |
| 454 | int dotclock = mode->clock; | 454 | int dotclock = mode->crtc_clock; |
| 455 | 455 | ||
| 456 | /* Fields of interlaced scanout modes are only half a frame duration. | 456 | /* Fields of interlaced scanout modes are only half a frame duration. |
| 457 | * Double the dotclock to get half the frame-/line-/pixelduration. | 457 | * Double the dotclock to get half the frame-/line-/pixelduration. |
