weston/libweston/backend-drm
Luigi Santivetti a62bf5ff48 drm-backend: stop parsing IN_FORMATS blobs, use libdrm instead
Before this change the drm-backend in Weston did the work of parsing DRM
blobs in order to query IN_FORMATS data, if available. This is also the
case for other DRM/KMS clients that use IN_FORMATS (i.e. X).

libdrm 2.4.108 with e641e2a6 ("xf86drm: add iterator API for DRM/KMS
IN_FORMATS blobs") introduced a dedicated API for querying IN_FORMATS data.

Bump the minimum required version to 2.4.108, stop parsing IN_FORMATS in
Weston and start using DRM iterators. In addition, remove fallback code for
libdrm <2.4.107.

Signed-off-by: Luigi Santivetti <luigi.santivetti@imgtec.com>
2022-06-07 09:35:14 +01:00
..
drm-gbm.c backend-drm: get the drm device from the output 2022-06-03 09:17:49 +02:00
drm-internal.h backend-drm: move drm objects from backend to drm device 2022-06-03 09:17:15 +02:00
drm-virtual.c backend-drm: move drm objects from backend to drm device 2022-06-03 09:17:15 +02:00
drm.c backend-drm: explicitly pass device to initialization 2022-06-03 09:18:12 +02:00
fb.c backend-drm: get the drm device from the output 2022-06-03 09:17:49 +02:00
kms-color.c backend-drm: move drm objects from backend to drm device 2022-06-03 09:17:15 +02:00
kms.c drm-backend: stop parsing IN_FORMATS blobs, use libdrm instead 2022-06-07 09:35:14 +01:00
libbacklight.c libbacklight: Fix backlight never gets initialized 2022-04-11 08:38:00 +03:00
libbacklight.h backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00
libdrm-updates.h backend-drm: add HDR_OUTPUT_METADATA definitions 2022-05-02 12:19:24 +00:00
meson.build backend-drm: forward HDR metadata 2022-05-27 10:30:35 +00:00
modes.c backend-drm: get the drm device from the output 2022-06-03 09:17:49 +02:00
state-helpers.c backend-drm: move drm objects from backend to drm device 2022-06-03 09:17:15 +02:00
state-propose.c backend-drm: get the drm device from the output 2022-06-03 09:17:49 +02:00
vaapi-recorder.c drm/vaapi: Fix pointer-size confusion 2021-08-03 11:13:23 +00:00
vaapi-recorder.h backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00