weston/libweston/backend-drm
Daniel Stone 6093772f45 backend-drm: Use aspect-ratio bit definitions from libdrm
When the aspect-ratio-aware mode support was added to Weston, it was
done before the libdrm support was finalised and merged. Between it
being added to Weston and being merged, it changed to no longer provide
the offset for the bitmask.

Instead of using the mask and a compatible enum, if we update our
libdrm dependency, we can use the flag definitions directly from libdrm.

In 94e4068ba1, the libdrm dependency was bumped to 2.4.83, which
enabled us to remove a bunch of error-prone ifdefs by making atomic and
modifier support mandatory.

We determined in the discussion of !311 that it was safe to push the
dependency as high as 2.4.91, as that was what was available in major
distributions.

Bumping to 2.4.86 allows us to safely remove the ifdef and go with
upstream flags, as that was added in mesa/drm@0d889201d1.

Signed-off-by: Daniel Stone <daniels@collabora.com>
2019-11-27 17:52:16 +00:00
..
drm-gbm.c backend-drm: make GBM optional 2019-10-25 15:32:07 +02:00
drm-internal.h backend-drm: Use aspect-ratio bit definitions from libdrm 2019-11-27 17:52:16 +00:00
drm-virtual.c backend-drm: separate out DRM virtual support 2019-10-25 15:32:07 +02:00
drm.c backend-drm: remove unnecessary ifdefs 2019-11-23 13:15:59 -03:00
fb.c backend-drm: remove unecessary ifdef checks 2019-11-23 09:57:52 +00:00
kms.c backend-drm: remove unecessary ifdef checks 2019-11-23 09:57:52 +00:00
libbacklight.c backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00
libbacklight.h backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00
meson.build backend-drm: remove unecessary ifdef checks 2019-11-23 09:57:52 +00:00
modes.c backend-drm: Use aspect-ratio bit definitions from libdrm 2019-11-27 17:52:16 +00:00
state-helpers.c backend-drm: Construct a zpos candidate list of planes 2019-11-11 16:51:48 +00:00
state-propose.c backend-drm: Further checks to skip plane assignment to HW planes 2019-11-22 20:25:20 +02:00
vaapi-recorder.c backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00
vaapi-recorder.h backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00