]> git.baikalelectronics.ru Git - kernel.git/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)
commit0f5f2c943b3b2daaca7248d2b2e2c85d0fe5fb03
treed98adc99ef6bbccb40bcebdcdbc317bbceca1640
parent5373721052447dcc7ee9a7b9f50edd0ac38b5f41
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