[haiku-development] Re: [RFC] Common accelerant connector language

  • From: François Revol <revol@xxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 12 May 2016 21:29:34 +0200

On 12/05/2016 21:20, Fredrik Holmqvist wrote:

tors 12 maj 2016 kl 19:50 skrev Alexander von Gluck IV <
kallisti5@xxxxxxxxxxx>:


Wondering if it'd make sense to reuse an existing enum (ACPI, DMI) ? Or
maybe not...


I don't think it should be rejected before giving it a good look. Goto
'B.1 ACPI
Extensions for Display Adapters' appendix in the Acpi Specification [1]:
Under 'B.3.2 _DOD (Enumerate All Devices Attached to the Display Adapter)'
there is quite a good explanation, and definition of how ACPI enumerate
displays.
It's quite informative.

Actually I was merely referring to the ordering and ids of the possible
connectors.
But it should be possible to write a helper module to enumerate through
ACPI.

There is also a beginning of a driver for this under
src/add-ons/kernel/drivers/display.
It enumerates displays found in the ACPI tree but not much else atm. I got
sidetracked with UEFI.

/Fredrik Holmqvist, TQH

1) http://uefi.org/specifications

Oh, right, UEFI includes ACPI...

François.


Other related posts: