From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id D0522E008CF; Tue, 18 Nov 2014 06:45:53 -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=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [157.55.234.66 listed in list.dnswl.org] * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from emea01-db3-obe.outbound.protection.outlook.com (mail-db3on0066.outbound.protection.outlook.com [157.55.234.66]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 31A56E007C0 for ; Tue, 18 Nov 2014 06:45:47 -0800 (PST) Received: from DBXPR04MB399.eurprd04.prod.outlook.com (10.141.15.149) by DBXPR04MB399.eurprd04.prod.outlook.com (10.141.15.149) with Microsoft SMTP Server (TLS) id 15.1.16.15; Tue, 18 Nov 2014 14:45:44 +0000 Received: from DBXPR04MB399.eurprd04.prod.outlook.com ([10.141.15.149]) by DBXPR04MB399.eurprd04.prod.outlook.com ([10.141.15.149]) with mapi id 15.01.0016.006; Tue, 18 Nov 2014 14:45:44 +0000 From: Gianluca Cinci To: Simone , 'Daiane Angolini' Thread-Topic: R: [meta-freescale] [meta-fsl-arm] [linux-2.6.35-r45] amd-gpu : patch proposal / discussion (imx53 + Qt 5.3 + EGLFS) Thread-Index: AQHP/mYB1CQupUeklEKnGXOREVnZ0JxeSdAAgAASfQCAB9ITAIAADJIAgAAYPYCAAB9OAIAAC2mE Date: Tue, 18 Nov 2014 14:45:43 +0000 Message-ID: <1416321942910.59577@giuneco.it> References: <5462A702.3040909@giuneco.it> <54646A34.6080201@giuneco.it> <546B092C.1050101@giuneco.it> <010f01d0031b$e0bce320$a236a960$@gmail.com> <546B280D.3090807@giuneco.it>, <011f01d00337$a6795b00$f36c1100$@gmail.com> In-Reply-To: <011f01d00337$a6795b00$f36c1100$@gmail.com> Accept-Language: it-IT, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [31.197.163.197] x-microsoft-antispam: BCL:0;PCL:0;RULEID:;SRVR:DBXPR04MB399; x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:;SRVR:DBXPR04MB399; x-forefront-prvs: 039975700A x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(164054003)(24454002)(377454003)(479174003)(55794002)(51704005)(5423002)(199003)(189002)(36756003)(54356999)(106116001)(20776003)(64706001)(230783001)(4396001)(76176999)(50986999)(105586002)(106356001)(40100003)(77156002)(95666004)(31966008)(62966003)(107046002)(117636001)(99396003)(122556002)(97736003)(120916001)(92566001)(21056001)(15975445006)(101416001)(93886004)(86362001)(19580405001)(87936001)(15202345003)(19580395003)(74482002)(575784001)(92726001)(66066001)(2656002)(46102003)(561944003); DIR:OUT; SFP:1101; SCL:1; SRVR:DBXPR04MB399; H:DBXPR04MB399.eurprd04.prod.outlook.com; FPR:; MLV:sfv; PTR:InfoNoRecords; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-OriginatorOrg: giuneco.it 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 14:45:53 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Simone, =0A= yes , the "problem" concern the lightning effects (not the fog sorry) , and= i saw the upper left corner ugly window (but i also notice that this demo = is "customized" for rasperry-pi). =0A= Do you think we have this problem on all applications where lightning effec= ts are implemented or this is a sporadic behaviour?=0A= =0A= Gianluca=0A= =0A= =0A= =0A= ________________________________________=0A= Da: Simone =0A= Inviato: marted=EC 18 novembre 2014 14.57=0A= A: Gianluca Cinci; 'Daiane Angolini'=0A= Cc: meta-freescale@yoctoproject.org=0A= Oggetto: R: R: [meta-freescale] [meta-fsl-arm] [linux-2.6.35-r45] amd-gpu := patch proposal / discussion (imx53 + Qt 5.3 + EGLFS)=0A= =0A= Hello Gianluca,=0A= The problem is not the fog itself, but the lighting effect (on=0A= CinematicExperience demo).=0A= But I can confirm that disabling this effect all the DVD cases become=0A= visible.=0A= Also the information layer (the button in the upper/right corner, which ope= n=0A= a layer with undulating content) it's very ugly and not visible.=0A= =0A= I think that for these points we need some help from Freescale...=0A= =0A= Simone=0A= =0A= =0A= =0A= =0A= -----Messaggio originale-----=0A= Da: Gianluca Cinci [mailto:gianluca.cinci@giuneco.it]=0A= Inviato: marted=EC 18 novembre 2014 12:06=0A= A: Simone; 'Daiane Angolini'=0A= Cc: meta-freescale@yoctoproject.org=0A= Oggetto: Re: R: [meta-freescale] [meta-fsl-arm] [linux-2.6.35-r45] amd-gpu = :=0A= patch proposal / discussion (imx53 + Qt 5.3 + EGLFS)=0A= =0A= Hi Simone,=0A= if you talk about the CinematicExperience's "fog" ; same "problem" here .= =0A= Just disable the first effect on the list and you can see all the DVD's=0A= cases , I not investigate about that aspect..=0A= I create a script that runs all the amd-gpu-bin-mx51 applications; tested i= n=0A= continue run for 3 days and all is went ok.=0A= =0A= Gianluca=0A= =0A= On 18/11/2014 11:39, Simone wrote:=0A= > Hello Gianluca/Daiane,=0A= > I tested this patch at my side and I can confirm that it work properly.= =0A= > Still have some other troubles with qt5 effects visualization, but the=0A= > hang condition on application exit seems to be finally solved.=0A= >=0A= > Thanks=0A= > Best Regards=0A= > Simone=0A= >=0A= >=0A= >=0A= >=0A= > -----Messaggio originale-----=0A= > Da: meta-freescale-bounces@yoctoproject.org=0A= > [mailto:meta-freescale-bounces@yoctoproject.org] Per conto di Gianluca=0A= > Cinci=0A= > Inviato: marted=EC 18 novembre 2014 09:54=0A= > A: Daiane Angolini=0A= > Cc: meta-freescale@yoctoproject.org=0A= > Oggetto: Re: [meta-freescale] [meta-fsl-arm] [linux-2.6.35-r45] amd-gpu := =0A= > patch proposal / discussion (imx53 + Qt 5.3 + EGLFS)=0A= >=0A= > Hi Daiane,=0A= >=0A= > On 13/11/2014 11:28, Daiane Angolini wrote:=0A= >> On Thu, Nov 13, 2014 at 6:22 AM, Gianluca Cinci=0A= >> wrote:=0A= >>> Hi Daiane,=0A= >>> sure , the patch is attached to this mail (let me know if I must to=0A= >>> change=0A= >>> it)=0A= >> Thanks, when send a patch to meta-freescale, please use git send=0A= >> email (I think you did this the first time, right?=0A= > yes , I hope the patch is properly formatted...=0A= >=0A= > Best Regards=0A= > Gianluca=0A= >=0A= >> I copied your patch at the end of this reply, because I have some=0A= > comments.=0A= >> I cannot comment properly on the gpu code itself, so I would expect=0A= >> someone else to also comment on the patch.=0A= >>=0A= >>=0A= >>> About the cinematicexperience + eglfs dependecies:=0A= >>> With the only inclusion of cinematicexperience the "EGL..." error=0A= >>> come out , so i must to add the "amd-gpu-bin-mx51" package to have=0A= >>> all the necessary library on my fs.=0A= >> Oh, and please, do not top-post.=0A= >>=0A= >>> Bests Regards=0A= >>> Gianluca=0A= >>>=0A= >> your patch:=0A= >> (I added 2 comments inline)=0A= >>=0A= >>=0A= >> From 3201b3740bd6c81e7077845bda605fd5043b0e6a Mon Sep 17 00:00:00=0A= >> 2001=0A= >> From: gianluca =0A= >> Date: Thu, 13 Nov 2014 00:11:51 +0100=0A= >> Subject: [meta-fsl-arm][PATCH] imx: amd-gpu: avoid shared memory free=0A= > issue on=0A= >> application exit=0A= >>=0A= >> [Daiane]=0A= >> For this subject please use something like:=0A= >>=0A= >> [meta-fsl-arm][PATCH v2]linux-imx (2.6.35.3): Fix amd-gpu to avoid=0A= >> shared memory free issue.=0A= >>=0A= >> use as example:=0A= >> http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/log/recipes-ke=0A= >> r=0A= >> nel/linux/linux-imx_2.6.35.3.bb=0A= >>=0A= >>=0A= >> Signed-off-by: gianluca =0A= >> ---=0A= >> .../avoid-shared-memory-free-issue.patch | 26=0A= > ++++++++++++++++++++++=0A= >> recipes-kernel/linux/linux-imx_2.6.35.3.bb | 1 +=0A= >> 2 files changed, 27 insertions(+)=0A= >> create mode 100644=0A= >> recipes-kernel/linux/linux-imx-2.6.35.3/avoid-shared-memory-free-issu=0A= >> e=0A= >> .patch=0A= >>=0A= >> diff --git=0A= >> a/recipes-kernel/linux/linux-imx-2.6.35.3/avoid-shared-memory-free-is=0A= >> s=0A= >> ue.patch=0A= >> b/recipes-kernel/linux/linux-imx-2.6.35.3/avoid-shared-memory-free-is=0A= >> s=0A= >> ue.patch=0A= >> new file mode 100644=0A= >> index 0000000..a109cc0=0A= >> --- /dev/null=0A= >> +++ b/recipes-kernel/linux/linux-imx-2.6.35.3/avoid-shared-memory-fre=0A= >> +++ e=0A= >> +++ -issue.patch=0A= >> @@ -0,0 +1,26 @@=0A= >> +From 768a9f37734a9c6acb02ac1a832127af9f15da1b Mon Sep 17 00:00:00=0A= >> +2001=0A= >> +From: gianluca =0A= >> +Date: Tue, 11 Nov 2014 22:25:17 +0100=0A= >> +Subject: [PATCH] avoid shared memory free issue on application exit=0A= >>=0A= >> [Daiane]=0A= >>=0A= >> For this subject use:=0A= >> [PATCH] imx: amd-gpu: avoid shared memory free issue on application=0A= >>=0A= >> and add the tag Upstream-Status, use as example=0A= >> http://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines#Patc=0A= >> h=0A= >> _Header_Recommendations=0A= >>=0A= >>=0A= >> +=0A= >> +---=0A= >> + drivers/mxc/amd-gpu/common/gsl_sharedmem.c | 3 +++=0A= >> + 1 file changed, 3 insertions(+)=0A= >> +=0A= >> +diff --git a/drivers/mxc/amd-gpu/common/gsl_sharedmem.c=0A= >> b/drivers/mxc/amd-gpu/common/gsl_sharedmem.c=0A= >> +index 51e66f9..2529267 100644=0A= >> +--- a/drivers/mxc/amd-gpu/common/gsl_sharedmem.c=0A= >> ++++ b/drivers/mxc/amd-gpu/common/gsl_sharedmem.c=0A= >> +@@ -430,6 +430,9 @@ kgsl_sharedmem_free0(gsl_memdesc_t *memdesc,=0A= >> unsigned int pid)=0A= >> + }=0A= >> + else=0A= >> + {=0A= >> ++ kgsl_hal_freephysical(memdesc->gpuaddr, NULL, NULL); // free the=0A= >> previously allocated memory if=0A= >> ++ // gpuaddress is present in gsl_linux_map_list=0A= >> ++=0A= >> + status =3D GSL_FAILURE;=0A= >> + }=0A= >> +=0A= >> +--=0A= >> +1.9.1=0A= >> +=0A= >> diff --git a/recipes-kernel/linux/linux-imx_2.6.35.3.bb=0A= >> b/recipes-kernel/linux/linux-imx_2.6.35.3.bb=0A= >> index bfc56b7..ad1f10b 100644=0A= >> --- a/recipes-kernel/linux/linux-imx_2.6.35.3.bb=0A= >> +++ b/recipes-kernel/linux/linux-imx_2.6.35.3.bb=0A= >> @@ -19,6 +19,7 @@ SRCBRANCH =3D "imx_2.6.35_maintain"=0A= >> SRC_URI +=3D "file://NFS-Fix-nfsroot-support.patch \=0A= >>=0A= > file://NFS-allow-nfs-root-mount-to-use-alternate-rpc-ports.patch \=0A= >> file://perf-avoid-use-sysroot-headers.patch \=0A= >> + file://avoid-shared-memory-free-issue.patch \=0A= >> "=0A= >>=0A= >>=0A= >> SRC_URI_append_mx28 =3D " \=0A= > --=0A= > _______________________________________________=0A= > meta-freescale mailing list=0A= > meta-freescale@yoctoproject.org=0A= > https://lists.yoctoproject.org/listinfo/meta-freescale=0A= >=0A= =0A= =0A=