From: Daiane Angolini <daiane.angolini@freescale.com>
To: Otavio Salvador <otavio@ossystems.com.br>
Cc: meta-freescale Mailing List <meta-freescale@yoctoproject.org>
Subject: Re: [meta-fsl-arm PATCH 2/3] gpu-viv-bin-mx6q.inc: If Wayland and X11 are enabled, default to X11
Date: Mon, 2 Sep 2013 09:23:22 -0300 [thread overview]
Message-ID: <5224833A.4010903@freescale.com> (raw)
In-Reply-To: <1378038938-13700-2-git-send-email-otavio@ossystems.com.br>
On 09/01/2013 09:35 AM, Otavio Salvador wrote:
> Vivante GPU driver does not support use of Wayland AND X11 backends at
> same time, so we need to choose one for default. We previously had
> choose Wayland but many users are reporting problems as the usual
> expected support is still X11 so we're moving the default for X11 now.
>
> Change-Id: I30f092509f060d3bced358324a296b0f798da2cb
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
I agree, thanks for the patch.
> recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 18 +++++++++---------
> 1 file changed, 9 insertions(+), 9 deletions(-)
>
> diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
> index 0a53900..9407db8 100644
> --- a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
> +++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
> @@ -106,8 +106,15 @@ do_install () {
>
> install -d ${D}${libdir}/pkgconfig
>
> - # If both X11 and Wayland are set in DISTRO_FEATURES then use Wayland as base window system
> - if [ "${USE_WL}" = "yes" ]; then
> + # The preferrence order, based in DISTRO_FEATURES, is x11, wayland, directfb and fb
the "preference" order.
> + if [ "${USE_X11}" = "yes" ]; then
> + cp -r ${S}/usr/lib/dri ${D}${libdir}
> + backend=x11
> +
> + install -m 0644 ${WORKDIR}/egl_x11.pc ${D}${libdir}/pkgconfig/egl.pc
> + install -m 0644 ${WORKDIR}/glesv1_cm_x11.pc ${D}${libdir}/pkgconfig/glesv1_cm.pc
> + install -m 0644 ${WORKDIR}/glesv2_x11.pc ${D}${libdir}/pkgconfig/glesv2.pc
> + elif [ "${USE_WL}" = "yes" ]; then
> backend=wl
>
> install -m 0644 ${WORKDIR}/egl.pc ${D}${libdir}/pkgconfig/egl.pc
> @@ -121,13 +128,6 @@ do_install () {
> if [ "${USE_X11}" = "yes" ]; then
> cp -r ${S}/usr/lib/dri ${D}${libdir}
> fi
> - elif [ "${USE_X11}" = "yes" ]; then
> - cp -r ${S}/usr/lib/dri ${D}${libdir}
> - backend=x11
> -
> - install -m 0644 ${WORKDIR}/egl_x11.pc ${D}${libdir}/pkgconfig/egl.pc
> - install -m 0644 ${WORKDIR}/glesv1_cm_x11.pc ${D}${libdir}/pkgconfig/glesv1_cm.pc
> - install -m 0644 ${WORKDIR}/glesv2_x11.pc ${D}${libdir}/pkgconfig/glesv2.pc
> else
> install -m 0644 ${WORKDIR}/egl.pc ${D}${libdir}/pkgconfig/egl.pc
> install -m 0644 ${WORKDIR}/glesv1_cm.pc ${D}${libdir}/pkgconfig/glesv1_cm.pc
>
--
Daiane
next prev parent reply other threads:[~2013-09-02 12:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-01 12:35 [meta-fsl-arm PATCH 1/3] libdrm: Add fix to avoid GPU freeze Otavio Salvador
2013-09-01 12:35 ` [meta-fsl-arm PATCH 2/3] gpu-viv-bin-mx6q.inc: If Wayland and X11 are enabled, default to X11 Otavio Salvador
2013-09-02 12:23 ` Daiane Angolini [this message]
2013-09-01 12:35 ` [meta-fsl-arm PATCH 3/3] xf86-video-imxfb-vivante: Remove unused patches Otavio Salvador
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=5224833A.4010903@freescale.com \
--to=daiane.angolini@freescale.com \
--cc=meta-freescale@yoctoproject.org \
--cc=otavio@ossystems.com.br \
/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.