mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
Kernel: Add ioctl to get the EDID from a framebuffer
This commit is contained in:
parent
8184870f93
commit
03c45b1865
Notes:
sideshowbarker
2024-07-17 20:21:28 +09:00
Author: https://github.com/tomuta
Commit: 03c45b1865
Pull-request: https://github.com/SerenityOS/serenity/pull/11439
Reviewed-by: https://github.com/kleinesfilmroellchen
Reviewed-by: https://github.com/linusg ✅
20 changed files with 265 additions and 84 deletions
|
@ -156,4 +156,19 @@ struct ResourceFlush {
|
|||
u32 padding;
|
||||
};
|
||||
|
||||
// Specification equivalent: struct virtio_gpu_get_edid
|
||||
struct GetEDID {
|
||||
ControlHeader header;
|
||||
u32 scanout_id;
|
||||
u32 padding;
|
||||
};
|
||||
|
||||
// Specification equivalent: struct virtio_gpu_resp_edid
|
||||
struct GetEDIDResponse {
|
||||
ControlHeader header;
|
||||
u32 size;
|
||||
u32 padding;
|
||||
u8 edid[1024];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue