1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:48:12 +00:00
serenity/Kernel/Graphics
Liav A da8d18b263 Kernel/SysFS: Add exposing interface for DisplayConnectors
Under normal conditions (when mounting SysFS in /sys), there will be a
new directory in the /sys/devices directory called "graphics".
For now, under that directory there will be only a sub-directory called
"connectors" which will contain all DisplayConnectors' details, each in
its own sub-directory too, distinguished in naming with its minor
number.

Therefore, /sys/devices/graphics/connectors/MINOR_NUMBER/ will contain:
- General device attributes such as mutable_mode_setting_capable,
  double_buffering_capable, flush_support, partial_flush_support and
  refresh_rate_support. These values are exposed in the ioctl interface
  of the DisplayConnector class too, but these can be useful later on
  for command line utilities that want/need to expose these basic
  settings.
- The EDID blob, simply named "edid". This will help userspace to fetch
  the edid without the need of using the ioctl interface later on.
2022-07-19 11:02:37 +01:00
..
Bochs Kernel/Graphics: Remove GenericGraphicsAdapter::vga_compatible method 2022-07-15 12:23:22 +02:00
Console Kernel/Graphics: Allocate VGA window region according to the usual rules 2022-07-13 19:15:17 +01:00
Generic Kernel/Graphics: Move GenericDisplayConnector code to a new sub-folder 2022-06-25 11:32:09 +01:00
Intel Kernel/Graphics: Remove GenericGraphicsAdapter::vga_compatible method 2022-07-15 12:23:22 +02:00
VirtIOGPU Kernel/Graphics: Remove GenericGraphicsAdapter::vga_compatible method 2022-07-15 12:23:22 +02:00
VMWare Kernel/Graphics: Remove GenericGraphicsAdapter::vga_compatible method 2022-07-15 12:23:22 +02:00
Definitions.h Kernel: Add ioctl to get the EDID from a framebuffer 2022-01-23 22:45:21 +00:00
DisplayConnector.cpp Kernel/SysFS: Add exposing interface for DisplayConnectors 2022-07-19 11:02:37 +01:00
DisplayConnector.h Kernel/Graphics: Ensure VMWare and VirtualBox EDIDs have manufacturer ID 2022-06-10 22:32:54 +01:00
GenericGraphicsAdapter.h Kernel/Graphics: Remove GenericGraphicsAdapter::vga_compatible method 2022-07-15 12:23:22 +02:00
GraphicsManagement.cpp Kernel/Graphics: Simplify initialization flow explanation comment 2022-07-12 19:54:48 +01:00
GraphicsManagement.h Kernel/Graphics: Remove VGA folder and its content 2022-07-12 19:54:48 +01:00