From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id E973EE008DC; Tue, 18 Nov 2014 05:58:06 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, MISSING_MIMEOLE, RCVD_IN_DNSWL_LOW autolearn=no version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (cjb.sw.nospam[at]gmail.com) * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.212.169 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * 1.9 MISSING_MIMEOLE Message has X-MSMail-Priority, but no X-MimeOLE Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 8CC36E00876 for ; Tue, 18 Nov 2014 05:57:57 -0800 (PST) Received: by mail-wi0-f169.google.com with SMTP id r20so5693086wiv.2 for ; Tue, 18 Nov 2014 05:57:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-type:content-transfer-encoding:thread-index :content-language:importance; bh=mHcYYhbjljmkZU2NM+EPcaql5rZfb9cM6xOch7l3JTo=; b=KOq8alBWoKDQKkCeDub0QmIVT5IV6nAqs2niKRjrMAQNN4jAmnqpJ0iuAhgTTda7EC E3gyXVhDtJ4n2iZAMmkpWkLoO4T0YCffKvz6gRvnet2VNFHdlqwOE6hGqlKOcZM6uV8e MKglYNQsKSIwxrQu0G7YvKydgtinnK3PnYQTiuMesaU1ahubQf0S3QFu9s9D2IBFjI+E 289hMwWHCFTcqan7Rg6fW3qQdYFEHbHdfytBBJS2VEn+RRgQUHRabmgcZ16c1p8msLX8 mAqW/TkEYXpAxOJ1Unr9FgBzd+9pnuneCZI4yAfeW7g/c/v41YZwFPgG14UdC1TZG6Ca yLYg== X-Received: by 10.194.119.193 with SMTP id kw1mr47913944wjb.37.1416319076223; Tue, 18 Nov 2014 05:57:56 -0800 (PST) Received: from SIMONENB (88-149-150-170.v4.ngi.it. [88.149.150.170]) by mx.google.com with ESMTPSA id td9sm19640013wic.15.2014.11.18.05.57.54 for (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 18 Nov 2014 05:57:54 -0800 (PST) From: "Simone" To: "'Gianluca Cinci'" , "'Daiane Angolini'" References: <5462A702.3040909@giuneco.it> <54646A34.6080201@giuneco.it> <546B092C.1050101@giuneco.it> <010f01d0031b$e0bce320$a236a960$@gmail.com> <546B280D.3090807@giuneco.it> In-Reply-To: <546B280D.3090807@giuneco.it> Date: Tue, 18 Nov 2014 14:57:52 +0100 Message-ID: <011f01d00337$a6795b00$f36c1100$@gmail.com> MIME-Version: 1.0 X-Priority: 1 (Highest) X-MSMail-Priority: High X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQH6uBYZIIXdHl10sbeOVQ0w+YVt+AHTzxgkAZVg658Db38iawIIVvwFAeMJzUECEaEXfZuqT+qw Importance: High Cc: meta-freescale@yoctoproject.org Subject: Re: [meta-fsl-arm] [linux-2.6.35-r45] amd-gpu : patch proposal / discussion (imx53 + Qt 5.3 + EGLFS) 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: Tue, 18 Nov 2014 13:58:07 -0000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Language: it Hello Gianluca, The problem is not the fog itself, but the lighting effect (on CinematicExperience demo). But I can confirm that disabling this effect all the DVD cases become visible. Also the information layer (the button in the upper/right corner, which = open a layer with undulating content) it's very ugly and not visible. I think that for these points we need some help from Freescale... Simone -----Messaggio originale----- Da: Gianluca Cinci [mailto:gianluca.cinci@giuneco.it]=20 Inviato: marted=EC 18 novembre 2014 12:06 A: Simone; 'Daiane Angolini' Cc: meta-freescale@yoctoproject.org Oggetto: Re: R: [meta-freescale] [meta-fsl-arm] [linux-2.6.35-r45] = amd-gpu : patch proposal / discussion (imx53 + Qt 5.3 + EGLFS) Hi Simone, if you talk about the CinematicExperience's "fog" ; same "problem" here = . Just disable the first effect on the list and you can see all the DVD's cases , I not investigate about that aspect.. I create a script that runs all the amd-gpu-bin-mx51 applications; = tested in continue run for 3 days and all is went ok. Gianluca On 18/11/2014 11:39, Simone wrote: > Hello Gianluca/Daiane, > I tested this patch at my side and I can confirm that it work = properly. > Still have some other troubles with qt5 effects visualization, but the = > hang condition on application exit seems to be finally solved. > > Thanks > Best Regards > Simone > > > > > -----Messaggio originale----- > Da: meta-freescale-bounces@yoctoproject.org > [mailto:meta-freescale-bounces@yoctoproject.org] Per conto di Gianluca = > Cinci > Inviato: marted=EC 18 novembre 2014 09:54 > A: Daiane Angolini > Cc: meta-freescale@yoctoproject.org > Oggetto: Re: [meta-freescale] [meta-fsl-arm] [linux-2.6.35-r45] = amd-gpu : > patch proposal / discussion (imx53 + Qt 5.3 + EGLFS) > > Hi Daiane, > > On 13/11/2014 11:28, Daiane Angolini wrote: >> On Thu, Nov 13, 2014 at 6:22 AM, Gianluca Cinci=20 >> wrote: >>> Hi Daiane, >>> sure , the patch is attached to this mail (let me know if I must to=20 >>> change >>> it) >> Thanks, when send a patch to meta-freescale, please use git send=20 >> email (I think you did this the first time, right? > yes , I hope the patch is properly formatted... > > Best Regards > Gianluca > >> I copied your patch at the end of this reply, because I have some > comments. >> I cannot comment properly on the gpu code itself, so I would expect=20 >> someone else to also comment on the patch. >> >> >>> About the cinematicexperience + eglfs dependecies: >>> With the only inclusion of cinematicexperience the "EGL..." error=20 >>> come out , so i must to add the "amd-gpu-bin-mx51" package to have=20 >>> all the necessary library on my fs. >> Oh, and please, do not top-post. >> >>> Bests Regards >>> Gianluca >>> >> your patch: >> (I added 2 comments inline) >> >> >> From 3201b3740bd6c81e7077845bda605fd5043b0e6a Mon Sep 17 00:00:00 >> 2001 >> From: gianluca >> Date: Thu, 13 Nov 2014 00:11:51 +0100 >> Subject: [meta-fsl-arm][PATCH] imx: amd-gpu: avoid shared memory free > issue on >> application exit >> >> [Daiane] >> For this subject please use something like: >> >> [meta-fsl-arm][PATCH v2]linux-imx (2.6.35.3): Fix amd-gpu to avoid=20 >> shared memory free issue. >> >> use as example: >> http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/log/recipes-ke >> r >> nel/linux/linux-imx_2.6.35.3.bb >> >> >> Signed-off-by: gianluca >> --- >> .../avoid-shared-memory-free-issue.patch | 26 > ++++++++++++++++++++++ >> recipes-kernel/linux/linux-imx_2.6.35.3.bb | 1 + >> 2 files changed, 27 insertions(+) >> create mode 100644 >> recipes-kernel/linux/linux-imx-2.6.35.3/avoid-shared-memory-free-issu >> e >> .patch >> >> diff --git >> a/recipes-kernel/linux/linux-imx-2.6.35.3/avoid-shared-memory-free-is >> s >> ue.patch >> b/recipes-kernel/linux/linux-imx-2.6.35.3/avoid-shared-memory-free-is >> s >> ue.patch >> new file mode 100644 >> index 0000000..a109cc0 >> --- /dev/null >> +++ b/recipes-kernel/linux/linux-imx-2.6.35.3/avoid-shared-memory-fre >> +++ e >> +++ -issue.patch >> @@ -0,0 +1,26 @@ >> +From 768a9f37734a9c6acb02ac1a832127af9f15da1b Mon Sep 17 00:00:00 >> +2001 >> +From: gianluca >> +Date: Tue, 11 Nov 2014 22:25:17 +0100 >> +Subject: [PATCH] avoid shared memory free issue on application exit >> >> [Daiane] >> >> For this subject use: >> [PATCH] imx: amd-gpu: avoid shared memory free issue on application >> >> and add the tag Upstream-Status, use as example=20 >> http://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines#Patc >> h >> _Header_Recommendations >> >> >> + >> +--- >> + drivers/mxc/amd-gpu/common/gsl_sharedmem.c | 3 +++ >> + 1 file changed, 3 insertions(+) >> + >> +diff --git a/drivers/mxc/amd-gpu/common/gsl_sharedmem.c >> b/drivers/mxc/amd-gpu/common/gsl_sharedmem.c >> +index 51e66f9..2529267 100644 >> +--- a/drivers/mxc/amd-gpu/common/gsl_sharedmem.c >> ++++ b/drivers/mxc/amd-gpu/common/gsl_sharedmem.c >> +@@ -430,6 +430,9 @@ kgsl_sharedmem_free0(gsl_memdesc_t *memdesc, >> unsigned int pid) >> + } >> + else >> + { >> ++ kgsl_hal_freephysical(memdesc->gpuaddr, NULL, NULL); // free the >> previously allocated memory if >> ++ // gpuaddress is present in gsl_linux_map_list >> ++ >> + status =3D GSL_FAILURE; >> + } >> + >> +-- >> +1.9.1 >> + >> diff --git a/recipes-kernel/linux/linux-imx_2.6.35.3.bb >> b/recipes-kernel/linux/linux-imx_2.6.35.3.bb >> index bfc56b7..ad1f10b 100644 >> --- a/recipes-kernel/linux/linux-imx_2.6.35.3.bb >> +++ b/recipes-kernel/linux/linux-imx_2.6.35.3.bb >> @@ -19,6 +19,7 @@ SRCBRANCH =3D "imx_2.6.35_maintain" >> SRC_URI +=3D "file://NFS-Fix-nfsroot-support.patch \ >> > file://NFS-allow-nfs-root-mount-to-use-alternate-rpc-ports.patch \ >> file://perf-avoid-use-sysroot-headers.patch \ >> + file://avoid-shared-memory-free-issue.patch \ >> " >> >> >> SRC_URI_append_mx28 =3D " \ > -- > _______________________________________________ > meta-freescale mailing list > meta-freescale@yoctoproject.org > https://lists.yoctoproject.org/listinfo/meta-freescale >