ascent12 / drm_info

Moved to https://gitlab.freedesktop.org/emersion/drm_info
MIT License
63 stars 13 forks source link

Print legacy CRTC gamma size #59

Closed emersion closed 4 years ago

emersion commented 4 years ago

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

ascent12 commented 4 years ago

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

emersion commented 4 years ago

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.