From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from tx2outboundpool.messaging.microsoft.com (tx2ehsobe001.messaging.microsoft.com [65.55.88.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 5ED03E013FC for ; Mon, 2 Sep 2013 05:27:17 -0700 (PDT) Received: from mail202-tx2-R.bigfish.com (10.9.14.245) by TX2EHSOBE006.bigfish.com (10.9.40.26) with Microsoft SMTP Server id 14.1.225.22; Mon, 2 Sep 2013 12:27:17 +0000 Received: from mail202-tx2 (localhost [127.0.0.1]) by mail202-tx2-R.bigfish.com (Postfix) with ESMTP id 34645180189; Mon, 2 Sep 2013 12:27:17 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: -5 X-BigFish: VS-5(zzbb2dI98dI9371I1432I1447Izz1f42h208ch1ee6h1de0h1fdah2073h1202h1e76h1d1ah1d2ah1fc6hzz1de098h1de097hz2dh2a8h839h947hd25he5bhf0ah1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh162dh1631h1758h1765h18e1h190ch1946h19b4h19c3h1ad9h1b0ah1b2fh1fb3h1d0ch1d2eh1d3fh1dfeh1dffh1f5fh1fe8h1ff5h209eh1155h) Received: from mail202-tx2 (localhost.localdomain [127.0.0.1]) by mail202-tx2 (MessageSwitch) id 1378124835239108_3756; Mon, 2 Sep 2013 12:27:15 +0000 (UTC) Received: from TX2EHSMHS039.bigfish.com (unknown [10.9.14.239]) by mail202-tx2.bigfish.com (Postfix) with ESMTP id 2D606BA004B; Mon, 2 Sep 2013 12:27:15 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by TX2EHSMHS039.bigfish.com (10.9.99.139) with Microsoft SMTP Server (TLS) id 14.16.227.3; Mon, 2 Sep 2013 12:27:10 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-001.039d.mgd.msft.net (10.84.1.13) with Microsoft SMTP Server (TLS) id 14.3.158.2; Mon, 2 Sep 2013 12:27:09 +0000 Received: from [10.29.244.63] ([10.29.244.63]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id r82CR8ap008612; Mon, 2 Sep 2013 05:27:09 -0700 Message-ID: <5224833A.4010903@freescale.com> Date: Mon, 2 Sep 2013 09:23:22 -0300 From: Daiane Angolini User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 MIME-Version: 1.0 To: Otavio Salvador References: <1378038938-13700-1-git-send-email-otavio@ossystems.com.br> <1378038938-13700-2-git-send-email-otavio@ossystems.com.br> In-Reply-To: <1378038938-13700-2-git-send-email-otavio@ossystems.com.br> X-OriginatorOrg: freescale.com X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% Cc: meta-freescale Mailing List Subject: Re: [meta-fsl-arm PATCH 2/3] gpu-viv-bin-mx6q.inc: If Wayland and X11 are enabled, default to X11 X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Sep 2013 12:27:18 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit 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 > --- 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