summaryrefslogtreecommitdiff
path: root/kms++/inc
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2016-08-15 09:55:24 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-08-15 12:28:04 +0300
commitbb64b41891b8ede6f0e002ed72b1068597525f14 (patch)
tree7c837bf657e18597717c3ba0d9f52bb677431bd9 /kms++/inc
parent6927e751ddd7c833f71ad7376ec055ff40bf82a7 (diff)
testpat & kmsprint: improve mode prints
Diffstat (limited to 'kms++/inc')
-rw-r--r--kms++/inc/kms++/videomode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kms++/inc/kms++/videomode.h b/kms++/inc/kms++/videomode.h
index f9abaf9..ec16969 100644
--- a/kms++/inc/kms++/videomode.h
+++ b/kms++/inc/kms++/videomode.h
@@ -31,6 +31,9 @@ struct Videomode
uint16_t vfp() const { return vsync_start - vdisplay; }
uint16_t vsw() const { return vsync_end - vsync_start; }
uint16_t vbp() const { return vtotal - vsync_end; }
+
+ bool interlace() const;
+ float calculated_vrefresh() const;
};
}