ascent12 / drm_info

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

Use drmModeGetConnectorCurrent #78

Closed emersion closed 2 years ago

emersion commented 3 years ago

drmModeGetConnector performs an active probe on older kernels. The drmModeGetConnectorCurrent variant doesn't mutate the kernel state. Since 1, drmModeGetConnector will be demoted to drmModeGetConnectorCurrent if the client isn't DRM master.

Since we should never be DRM master, align our expectations with the latest kernel.

emersion commented 2 years ago

@ascent12 any chance to get this reviewed when you get the time?