backend/session: use drmIsKMS

This moves the magic incantation into libdrm and is clearer. See
[1] for details.

While at it, fixup the doc comment and improve logging.

[1]: 523b3658aa
This commit is contained in:
Simon Ser 2021-06-15 09:54:29 +02:00 committed by Kenny Levinsen
parent 6c3d080e25
commit fb933d3204
2 changed files with 7 additions and 20 deletions

View file

@ -96,7 +96,7 @@ internal_features = {
wayland_server = dependency('wayland-server', version: '>=1.19')
wayland_client = dependency('wayland-client')
drm = dependency('libdrm', version: '>=2.4.95')
drm = dependency('libdrm', version: '>=2.4.105')
gbm = dependency('gbm', version: '>=17.1.0')
libinput = dependency('libinput', version: '>=1.14.0')
xkbcommon = dependency('xkbcommon')