From 764d6a0b7441796806a8fb8f10b79f009d5afb36 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Thu, 3 Dec 2020 11:31:24 +0200 Subject: crtc: add legacy gamma set Signed-off-by: Tomi Valkeinen --- kms++/inc/kms++/crtc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kms++/inc') 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> v); private: Crtc(Card& card, uint32_t id, uint32_t idx); -- cgit v1.2.3