drm: make frame duration time calculation more precise
authorDaniel Kurtz <djkurtz@chromium.org>
Thu, 27 Dec 2012 01:01:46 +0000 (01:01 +0000)
committerDave Airlie <airlied@redhat.com>
Fri, 8 Feb 2013 04:00:48 +0000 (14:00 +1000)
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: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found