[haiku-development] Re: Accelerant multi-head support
- From: Fredrik Holmqvist <fredrik.holmqvist@xxxxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Wed, 19 Sep 2018 20:38:06 +0200
ons 19 sep. 2018 kl 16:43 skrev Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>:
19 septembre 20
This needs more thinking :)
There may be a need to identify ports, and a separate need to identify
displays connected to them.
Yet we want an API that makes sense and is not too confusing to use.
I think we should just expose Displays as device nodes instead of inside
the accelerant.
This is already done by the display_adapter driver using the ACPI nodes[1].
We need to combine info from several sources in a general way.
For instance ACPI has these:
* firmware
* brightness
* Post (default boot display)
* EDID info
* display cycling
It would make our device tree a bit more matching the physical world as
well.
/Fredrik Holmqvist, TQH
1)
https://github.com/haiku/haiku/tree/master/src/add-ons/kernel/drivers/display
Other related posts: