embear-engineering / drm-framebuffer

A simple application which can be used to test a Linux DRM device
GNU General Public License v3.0
55 stars 21 forks source link

bugfix for invalid connectorname, fix not getting master. #1

Closed daa2hi closed 1 year ago

daa2hi commented 1 year ago

There was a bug when looking for the connector name. When not matching any, the code would take the last checked.

Also, the allocating of the DRM master role was not checked.

Allowed the stdin to send EOF before filling up all the buffer.

Changed include paths to match (more recent?) paths libdrm/...

Signed-off-by: Achim awlutmkaf@hotmail.com

eichenberger commented 1 year ago

Perfect, thanks a lot for the fix!