Re: Adreno crash on i.MX53 running 5.3-rc6

2019-09-10 Thread Robin Murphy
On 05/09/2019 20:05, Rob Clark wrote: On Thu, Sep 5, 2019 at 10:03 AM Rob Clark wrote: On Wed, Sep 4, 2019 at 11:06 AM Robin Murphy wrote: On 04/09/2019 01:12, Rob Clark wrote: On Tue, Sep 3, 2019 at 12:31 PM Fabio Estevam wrote: Hi Jonathan, On Tue, Sep 3, 2019 at 4:25 PM Jonathan

Re: Adreno crash on i.MX53 running 5.3-rc6

2019-09-06 Thread Rob Clark
On Thu, Sep 5, 2019 at 3:30 PM Rob Clark wrote: > > On Thu, Sep 5, 2019 at 12:05 PM Rob Clark wrote: > > > > On Thu, Sep 5, 2019 at 10:03 AM Rob Clark wrote: > > > > > > On Wed, Sep 4, 2019 at 11:06 AM Robin Murphy wrote: > > > > > > > > On 04/09/2019 01:12, Rob Clark wrote: > > > > > On Tue,

Re: Adreno crash on i.MX53 running 5.3-rc6

2019-09-05 Thread Rob Clark
On Thu, Sep 5, 2019 at 12:05 PM Rob Clark wrote: > > On Thu, Sep 5, 2019 at 10:03 AM Rob Clark wrote: > > > > On Wed, Sep 4, 2019 at 11:06 AM Robin Murphy wrote: > > > > > > On 04/09/2019 01:12, Rob Clark wrote: > > > > On Tue, Sep 3, 2019 at 12:31 PM Fabio Estevam > > > > wrote: > > > >> > >

Re: Adreno crash on i.MX53 running 5.3-rc6

2019-09-05 Thread Rob Clark
On Thu, Sep 5, 2019 at 10:03 AM Rob Clark wrote: > > On Wed, Sep 4, 2019 at 11:06 AM Robin Murphy wrote: > > > > On 04/09/2019 01:12, Rob Clark wrote: > > > On Tue, Sep 3, 2019 at 12:31 PM Fabio Estevam wrote: > > >> > > >> Hi Jonathan, > > >> > > >> On Tue, Sep 3, 2019 at 4:25 PM Jonathan

Re: Adreno crash on i.MX53 running 5.3-rc6

2019-09-05 Thread Rob Clark
On Wed, Sep 4, 2019 at 11:06 AM Robin Murphy wrote: > > On 04/09/2019 01:12, Rob Clark wrote: > > On Tue, Sep 3, 2019 at 12:31 PM Fabio Estevam wrote: > >> > >> Hi Jonathan, > >> > >> On Tue, Sep 3, 2019 at 4:25 PM Jonathan Marek wrote: > >>> > >>> Hi, > >>> > >>> I tried this and it works with

Re: Adreno crash on i.MX53 running 5.3-rc6

2019-09-04 Thread Robin Murphy
On 04/09/2019 01:12, Rob Clark wrote: On Tue, Sep 3, 2019 at 12:31 PM Fabio Estevam wrote: Hi Jonathan, On Tue, Sep 3, 2019 at 4:25 PM Jonathan Marek wrote: Hi, I tried this and it works with patches 4+5 from Rob's series and changing gpummu to use sg_phys(sg) instead of sg->dma_address

Re: Adreno crash on i.MX53 running 5.3-rc6

2019-09-04 Thread Jonathan Marek
Hi, I tried this and it works with patches 4+5 from Rob's series and changing gpummu to use sg_phys(sg) instead of sg->dma_address (dma_address isn't set now that dma_map_sg isn't used). Jonathan On 9/3/19 11:22 AM, Rob Clark wrote: On Mon, Sep 2, 2019 at 11:03 AM Fabio Estevam wrote:

Re: Adreno crash on i.MX53 running 5.3-rc6

2019-09-03 Thread Fabio Estevam
Hi Rob, On Tue, Sep 3, 2019 at 9:12 PM Rob Clark wrote: > In the mean time, it is a bit ugly, but I guess something like this should > work: Yes, this works on a i.MX53 board, thanks: Tested-by: Fabio Estevam Is this something you could submit for 5.3? Thanks

Re: Adreno crash on i.MX53 running 5.3-rc6

2019-09-03 Thread Rob Clark
On Tue, Sep 3, 2019 at 12:31 PM Fabio Estevam wrote: > > Hi Jonathan, > > On Tue, Sep 3, 2019 at 4:25 PM Jonathan Marek wrote: > > > > Hi, > > > > I tried this and it works with patches 4+5 from Rob's series and > > changing gpummu to use sg_phys(sg) instead of sg->dma_address > > (dma_address

Re: Adreno crash on i.MX53 running 5.3-rc6

2019-09-03 Thread Fabio Estevam
Hi Jonathan, On Tue, Sep 3, 2019 at 4:25 PM Jonathan Marek wrote: > > Hi, > > I tried this and it works with patches 4+5 from Rob's series and > changing gpummu to use sg_phys(sg) instead of sg->dma_address > (dma_address isn't set now that dma_map_sg isn't used). Thanks for testing it. I

Re: Adreno crash on i.MX53 running 5.3-rc6

2019-09-03 Thread Rob Clark
On Mon, Sep 2, 2019 at 11:03 AM Fabio Estevam wrote: > > Hi Robin, > > On Mon, Sep 2, 2019 at 11:45 AM Robin Murphy wrote: > > > Try 0036bc73ccbe - that looks like something that CONFIG_DMA_API_DEBUG > > should have been screaming about anyway. > > Thanks for your suggestion. > > I can

Re: Adreno crash on i.MX53 running 5.3-rc6

2019-09-02 Thread Fabio Estevam
Hi Robin, On Mon, Sep 2, 2019 at 11:45 AM Robin Murphy wrote: > Try 0036bc73ccbe - that looks like something that CONFIG_DMA_API_DEBUG > should have been screaming about anyway. Thanks for your suggestion. I can successfully boot after reverting the following commits: commit

Re: Adreno crash on i.MX53 running 5.3-rc6

2019-09-02 Thread Robin Murphy
On 02/09/2019 14:51, Fabio Estevam wrote: Hi, I am getting the following crash when booting the adreno driver on i.MX53 running a 5.3-rc6 kernel. Such error does not happen with 5.2 though. Before I start running a bisect, I am wondering if anyone has any ideas about this issue. Try

Adreno crash on i.MX53 running 5.3-rc6

2019-09-02 Thread Fabio Estevam
Hi, I am getting the following crash when booting the adreno driver on i.MX53 running a 5.3-rc6 kernel. Such error does not happen with 5.2 though. Before I start running a bisect, I am wondering if anyone has any ideas about this issue. Thanks, Fabio Estevam [2.083249] 8<--- cut here