Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

Print legacy CRTC gamma size #59

Merged
merged 1 commit into from
Sep 16, 2020
Merged

Conversation

emersion
Copy link
Collaborator

Older drivers don't expose the GAMMA_LUT_SIZE property. Print the legacy
drmModeCrtc.gamma_size field to account for those.

Older drivers don't expose the GAMMA_LUT_SIZE property. Print the legacy
drmModeCrtc.gamma_size field to account for those.
@ascent12
Copy link
Owner

Were some changes not committed?
All I'm seeing is the code that prints the value, instead of reading drmModeCrtc.gamma_size.

@emersion
Copy link
Collaborator Author

json.c is already adding a bunch of legacy fields to the JSON structure, but pretty.c doesn't print them all. For instance the legacy CRTC x/y are not very interesting, and I'm not sure drmModePlane.gamma_size is used by any driver now.

@ascent12 ascent12 merged commit 8a679f6 into ascent12:master Sep 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants