From: Denys Dmytriyenko <denys@ti.com>
To: Eric Ruei <e-ruei1@ti.com>
Cc: meta-arago@arago-project.org
Subject: Re: [PATCH 3/7] HACK: weston: undefine HAVE_GBM_MODIFIERS explicitly
Date: Tue, 29 Oct 2019 17:13:22 -0400 [thread overview]
Message-ID: <20191029211322.GJ7518@beryl> (raw)
In-Reply-To: <20191029135349.31792-4-e-ruei1@ti.com>
On Tue, Oct 29, 2019 at 09:53:45AM -0400, Eric Ruei wrote:
> This hack is required tentatively until GBM_MODIFIERS is fully supported
> by Mesa-based EGL.
>
> Signed-off-by: Eric Ruei <e-ruei1@ti.com>
> ---
> ...mposito-drm-undef-HAVE_GBM_MODIFIERS.patch | 29 +++++++++++++++++++
> .../wayland/weston_5.0.0.bbappend | 3 +-
> 2 files changed, 31 insertions(+), 1 deletion(-)
> create mode 100644 meta-arago-distro/recipes-graphics/wayland/weston/0001-HACK-composito-drm-undef-HAVE_GBM_MODIFIERS.patch
>
> diff --git a/meta-arago-distro/recipes-graphics/wayland/weston/0001-HACK-composito-drm-undef-HAVE_GBM_MODIFIERS.patch b/meta-arago-distro/recipes-graphics/wayland/weston/0001-HACK-composito-drm-undef-HAVE_GBM_MODIFIERS.patch
> new file mode 100644
> index 00000000..56a78e46
> --- /dev/null
> +++ b/meta-arago-distro/recipes-graphics/wayland/weston/0001-HACK-composito-drm-undef-HAVE_GBM_MODIFIERS.patch
> @@ -0,0 +1,29 @@
> +From e406b4141c23fb762a14a09d565c363ebaccb5a4 Mon Sep 17 00:00:00 2001
> +From: Eric Ruei <e-ruei1@ti.com>
> +Date: Sun, 1 Sep 2019 08:28:27 -0400
> +Subject: [PATCH] HACK: composito-drm: undef HAVE_GBM_MODIFIERS
> +
> +HAVE_GBM_MODIFIERS is defined, but not fully supported by the gbm module
> +yet.
Upstream-Status: Inappropriate [reason]
> +Signed-off-by: Eric Ruei <e-ruei1@ti.com>
> +---
> + libweston/compositor-drm.c | 2 ++
> + 1 file changed, 2 insertions(+)
> +
> +diff --git a/libweston/compositor-drm.c b/libweston/compositor-drm.c
> +index d92ecfcd..88f845a8 100644
> +--- a/libweston/compositor-drm.c
> ++++ b/libweston/compositor-drm.c
> +@@ -68,6 +68,8 @@
> + #include "linux-dmabuf-unstable-v1-server-protocol.h"
> + #include "linux-explicit-synchronization.h"
> +
> ++#undef HAVE_GBM_MODIFIERS
> ++
> + #ifndef DRM_CLIENT_CAP_ASPECT_RATIO
> + #define DRM_CLIENT_CAP_ASPECT_RATIO 4
> + #endif
> +--
> +2.17.1
> +
> diff --git a/meta-arago-distro/recipes-graphics/wayland/weston_5.0.0.bbappend b/meta-arago-distro/recipes-graphics/wayland/weston_5.0.0.bbappend
> index 1bdcf7e4..94a5bc60 100644
> --- a/meta-arago-distro/recipes-graphics/wayland/weston_5.0.0.bbappend
> +++ b/meta-arago-distro/recipes-graphics/wayland/weston_5.0.0.bbappend
> @@ -2,7 +2,7 @@
> PACKAGECONFIG[fbdev] = "--enable-fbdev-compositor WESTON_NATIVE_BACKEND="fbdev-backend.so",--disable-fbdev-compositor,udev mtdev"
> PACKAGECONFIG[kms] = "--enable-drm-compositor,--disable-drm-compositor,drm udev virtual/libgbm mtdev"
>
> -PR_append = ".arago34"
> +PR_append = ".arago35"
>
> FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>
> @@ -26,6 +26,7 @@ SRC_URI += " \
> file://0011-compositor-Add-scene-graph-debug-scope.patch \
> file://0012-compositor-drm-Add-backend-pointer-to-drm_output.patch \
> file://0013-compositor-drm-Add-drm-backend-log-debug-scope.patch \
> + file://0001-HACK-composito-drm-undef-HAVE_GBM_MODIFIERS.patch \
> "
>
> INHIBIT_PACKAGE_STRIP = "1"
> --
> 2.17.1
>
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
next prev parent reply other threads:[~2019-10-29 21:14 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-29 13:53 [PATCH 0/7] Mesa-based EGL/GLES Eric Ruei
2019-10-29 13:53 ` [PATCH 1/7] packagegroup-arago-xxx-qte-xxx: re-enable qtwebengine per EGL 1.5 for AM3/4/5 Eric Ruei
2019-10-29 13:53 ` [PATCH 2/7] qtbase-conf: set the default EGLFS mode to kms Eric Ruei
2019-10-29 13:53 ` [PATCH 3/7] HACK: weston: undefine HAVE_GBM_MODIFIERS explicitly Eric Ruei
2019-10-29 21:13 ` Denys Dmytriyenko [this message]
2019-10-30 14:41 ` Ruei, Eric
2019-10-30 15:01 ` Andrew F. Davis
2019-10-30 15:09 ` Ruei, Eric
2019-10-30 15:24 ` Andrew F. Davis
2019-10-30 15:30 ` Denys Dmytriyenko
2019-10-30 15:34 ` Andrew F. Davis
2019-10-30 15:57 ` Ruei, Eric
2019-10-29 13:53 ` [PATCH 4/7] HACK: qtwebkit: define MESA_EGL_NO_X11_HEADERS at ANGLE/khrplatform.h Eric Ruei
2019-10-29 21:13 ` Denys Dmytriyenko
2019-10-30 15:01 ` Ruei, Eric
2019-10-29 13:53 ` [PATCH 5/7] img-pvr-sdk: Add DRM(GBM)-based GPU demos Eric Ruei
2019-10-29 13:53 ` [PATCH 6/7] omapdrmtest: Update LDFLAGS at util/Makefile.am per Mesa-based EGL Eric Ruei
2019-10-30 15:04 ` Andrew F. Davis
2019-10-30 15:09 ` Denys Dmytriyenko
2019-10-30 15:10 ` Ruei, Eric
2019-10-29 13:53 ` [PATCH 7/7] HACK: matrix-gui-machinevision-demos: disable point-cloud-viewer Eric Ruei
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191029211322.GJ7518@beryl \
--to=denys@ti.com \
--cc=e-ruei1@ti.com \
--cc=meta-arago@arago-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.