Re: Regression with kernel 4.20 on armhf

2019-01-05 Thread Luís Mendes
Reply in between. On Fri, Jan 4, 2019 at 4:22 PM Michel Dänzer wrote: > > On 2019-01-04 4:32 p.m., Luís Mendes wrote: > > Hi Alex, Christian, > > > > I've tested amd-staging-drm-next at commit > > 9698024e8a191481321574bec1fe886bbce797cf - drm/amdgpu: Cleanup 2 > > compiler warnings, > > and now

Re: Regression with kernel 4.20 on armhf

2019-01-04 Thread Michel Dänzer
On 2019-01-04 4:32 p.m., Luís Mendes wrote: > Hi Alex, Christian, > > I've tested amd-staging-drm-next at commit > 9698024e8a191481321574bec1fe886bbce797cf - drm/amdgpu: Cleanup 2 > compiler warnings, > and now RX 550 Polaris 12 still hangs in ring gfx with XOrg, but a gpu > recovery is now

Re: Regression with kernel 4.20 on armhf

2019-01-03 Thread Luís Mendes
Hi Alex, I've made a backport of that patch to linux 4.20, but didn't notice any improvements. It looks like, from the logs with drm debug messages, that the issue is happening after the ring tests, while entering X session. Thanks for your suggestion, anyway. I'll try that again once

Re: Regression with kernel 4.20 on armhf

2019-01-03 Thread Alex Deucher
Does this patch help by any chance? https://cgit.freedesktop.org/~agd5f/linux/commit/?h=amd-staging-drm-next=5e01c09ce3b7263d88873105f21a82eda904664b Alex On Thu, Jan 3, 2019 at 7:14 AM Luís Mendes wrote: > > Hi Christian, Alex, > > I've set the kernel command line with drm.debug=0xf, and I

Re: Regression with kernel 4.20 on armhf

2019-01-02 Thread Christian König
Hi Luis, mhm, sounds like a timing issue. We have probably made something faster during bootup in 4.20 and because of this you now see this issue more often. If the bisection doesn't show any result can you try adding some msleep(10) call at critical places in the driver code to narrow this

Re: Regression with kernel 4.20 on armhf

2018-12-28 Thread Luís Mendes
Hi Alex, Before all... Have a nice holidays! Happy new year!! - Okay, so it looks like sometimes the driver is able to enter graphical mode with the Polaris card, but most of the time it fails before with: [ 49.762704] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout, signaled

Re: Regression with kernel 4.20 on armhf

2018-12-18 Thread Luís Mendes
Hi Alex, I am already using drm_arch_can_wc_memory() set to false. I will try to bisect... Regards, Luís On Tue, Dec 18, 2018 at 7:03 PM Alex Deucher wrote: > > On Tue, Dec 18, 2018 at 8:58 AM Luís Mendes wrote: > > > > Hi Christian, > > > > I've been using a Sapphire RX 550 and a Sapphire RX

Re: Regression with kernel 4.20 on armhf

2018-12-18 Thread Alex Deucher
On Tue, Dec 18, 2018 at 8:58 AM Luís Mendes wrote: > > Hi Christian, > > I've been using a Sapphire RX 550 and a Sapphire RX 460 on a custom > armhf board that runs well with Linux 4.19.9 at least, but now > starting with Linux kernel 4.20, I'm having a gpu hang, right after > the console being