mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
modesetting: Get supported formats/modifiers for scanout
Retrieve IN_FORMATS property from the plane. It gives the allowed formats and modifiers for BO allocation. Signed-off-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com> Reviewed-by: Daniel Stone <daniels@collabora.com> Acked-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
committed by
Adam Jackson
parent
9817c14f6a
commit
ca1c390ec7
@@ -2107,6 +2107,10 @@ if test "x$GLAMOR" = xyes; then
|
||||
PKG_CHECK_EXISTS(libdrm >= 2.4.74,
|
||||
[AC_DEFINE(GLAMOR_HAS_DRM_NAME_FROM_FD_2, 1, [Have GLAMOR_HAS_DRM_NAME_FROM_FD_2])],
|
||||
[])
|
||||
|
||||
PKG_CHECK_EXISTS(libdrm >= 2.4.83,
|
||||
[AC_DEFINE(GLAMOR_HAS_DRM_MODIFIERS, 1, [Have GLAMOR_HAS_DRM_MODIFIERS])],
|
||||
[])
|
||||
fi
|
||||
AM_CONDITIONAL([GLAMOR_EGL], [test "x$GBM" = xyes])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user