]> Pileus Git - ~andy/linux/commit
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)
commit85a7ce67f3ebfd5975ffd1febcabfe4999ca911d
treed98adc99ef6bbccb40bcebdcdbc317bbceca1640
parentdd66cc2e1f4765d0e6f39eb1e7d8d64d3f1cc522
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: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_irq.c