Skip to content
Commit 85a7ce67 authored by Daniel Kurtz's avatar Daniel Kurtz Committed by Dave Airlie
Browse files

drm: make frame duration time calculation more precise



It is a bit more precise to compute the total number of pixels first and
then divide, rather than multiplying the line pixel count by the
already-rounded line duration.

Signed-off-by: default avatarDaniel Kurtz <djkurtz@chromium.org>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent dd66cc2e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment