diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2020-12-03 11:31:24 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2020-12-03 11:31:24 +0200 |
commit | 764d6a0b7441796806a8fb8f10b79f009d5afb36 (patch) | |
tree | 56244ecfbe2acfbb21d1724591c23318e7173558 /kms++/inc | |
parent | 79b60742131540b4c30db9aa4342c513dee389a7 (diff) |
crtc: add legacy gamma set
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'kms++/inc')
-rw-r--r-- | kms++/inc/kms++/crtc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kms++/inc/kms++/crtc.h b/kms++/inc/kms++/crtc.h index 1ba8a07..cf64a86 100644 --- a/kms++/inc/kms++/crtc.h +++ b/kms++/inc/kms++/crtc.h @@ -39,7 +39,8 @@ public: uint32_t height() const; int mode_valid() const; Videomode mode() const; - int gamma_size() const; + int legacy_gamma_size() const; + void legacy_gamma_set(std::vector<std::tuple<uint16_t, uint16_t, uint16_t>> v); private: Crtc(Card& card, uint32_t id, uint32_t idx); |