summaryrefslogtreecommitdiff
path: root/kms++
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2016-10-11 10:49:58 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-10-11 11:22:24 +0300
commit3eaf632a456a0d83080e751887676993fdc501c1 (patch)
treecdedfc498c94e4371979fb3ef700594a6036e259 /kms++
parente5a89a0eaa9df8be13837e4a7ce8ad9d06bfc15a (diff)
Add comment about ilace
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'kms++')
-rw-r--r--kms++/src/videomode.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/kms++/src/videomode.cpp b/kms++/src/videomode.cpp
index f675914..4964a57 100644
--- a/kms++/src/videomode.cpp
+++ b/kms++/src/videomode.cpp
@@ -19,6 +19,7 @@ unique_ptr<Blob> Videomode::to_blob(Card& card) const
float Videomode::calculated_vrefresh() const
{
+ // XXX interlace should only halve visible vertical lines, not blanking
float refresh = (clock * 1000.0) / (htotal * vtotal) * (interlace() ? 2 : 1);
return roundf(refresh * 100.0) / 100.0;
}