-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm: parse edid using libdisplay-info
libdrm unfortunately doesn't give us what is actually supported by the connector in question. To do that, we would have to parse the edid blob. Use libdisplay-info to do this and make it required for drm support. Using what we get back from the library, we can do a bit of sanity checking for hdr metadata to make sure that the display in question can handle it before we try setting the metadata. Strictly speaking, libdisplay-info has stuff for dynamic metadata that we could potentially use, but as a first pass and for simplicity, only static is considered for now.
- Loading branch information
1 parent
23f147e
commit ea72864
Showing
3 changed files
with
116 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters