mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09: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
|
@ -41,6 +41,11 @@ ALWAYS_INLINE int fb_set_resolution(int fd, FBHeadResolution* info)
|
|||
return ioctl(fd, FB_IOCTL_SET_HEAD_RESOLUTION, info);
|
||||
}
|
||||
|
||||
ALWAYS_INLINE int fb_get_head_edid(int fd, FBHeadEDID* info)
|
||||
{
|
||||
return ioctl(fd, FB_IOCTL_GET_HEAD_EDID, info);
|
||||
}
|
||||
|
||||
ALWAYS_INLINE int fb_get_head_vertical_offset_buffer(int fd, FBHeadVerticalOffset* vertical_offset)
|
||||
{
|
||||
return ioctl(fd, FB_IOCTL_GET_HEAD_VERTICAL_OFFSET_BUFFER, vertical_offset);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue