Kernel: Add ioctl to get the EDID from a framebuffer

This commit is contained in:
Tom 2021-12-31 22:02:55 -07:00 committed by Linus Groh
commit 03c45b1865
Notes: sideshowbarker 2024-07-17 20:21:28 +09:00
20 changed files with 265 additions and 84 deletions

View file

@ -40,6 +40,8 @@ public:
virtual ErrorOr<size_t> vertical_offset(size_t head) const override;
virtual ErrorOr<bool> vertical_offsetted(size_t head) const override;
virtual ErrorOr<ByteBuffer> get_edid(size_t head) const override;
private:
virtual ErrorOr<void> set_head_resolution(size_t head, size_t width, size_t height, size_t pitch) override;
virtual ErrorOr<void> set_head_buffer(size_t head, bool second_buffer) override;