Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-05-06 Thread Nicholas Johnson
On Sat, May 02, 2020 at 12:09:13PM +0200, Takashi Iwai wrote: > On Sat, 02 May 2020 09:27:31 +0200, > Takashi Iwai wrote: > > > > On Sat, 02 May 2020 09:17:28 +0200, > > Lukas Wunner wrote: > > > > > > On Sat, May 02, 2020 at 09:11:58AM +0200, Takashi Iwai wrote: > > > > --- a/drivers/gpu/drm/amd

Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-05-02 Thread Takashi Iwai
On Sat, 02 May 2020 09:27:31 +0200, Takashi Iwai wrote: > > On Sat, 02 May 2020 09:17:28 +0200, > Lukas Wunner wrote: > > > > On Sat, May 02, 2020 at 09:11:58AM +0200, Takashi Iwai wrote: > > > --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c > > > +++ b/drivers/gpu/drm/amd/display/amdgpu_

Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-05-02 Thread Takashi Iwai
On Sat, 02 May 2020 09:17:28 +0200, Lukas Wunner wrote: > > On Sat, May 02, 2020 at 09:11:58AM +0200, Takashi Iwai wrote: > > --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c > > +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c > > @@ -673,6 +673,12 @@ static int amdgpu_dm_audio_comp

Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-05-02 Thread Lukas Wunner
On Sat, May 02, 2020 at 09:11:58AM +0200, Takashi Iwai wrote: > --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c > +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c > @@ -673,6 +673,12 @@ static int amdgpu_dm_audio_component_bind(struct device > *kdev, > struct amdgpu_device *ad

Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-05-02 Thread Takashi Iwai
On Thu, 30 Apr 2020 19:49:03 +0200, Takashi Iwai wrote: > > On Thu, 30 Apr 2020 19:38:16 +0200, > Nicholas Johnson wrote: > > > > On Thu, Apr 30, 2020 at 07:01:08PM +0200, Takashi Iwai wrote: > > > On Thu, 30 Apr 2020 18:52:20 +0200, > > > Nicholas Johnson wrote: > > > > > > > > On Thu, Apr 30,

Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-04-30 Thread Takashi Iwai
On Thu, 30 Apr 2020 19:38:16 +0200, Nicholas Johnson wrote: > > On Thu, Apr 30, 2020 at 07:01:08PM +0200, Takashi Iwai wrote: > > On Thu, 30 Apr 2020 18:52:20 +0200, > > Nicholas Johnson wrote: > > > > > > On Thu, Apr 30, 2020 at 05:14:56PM +0200, Takashi Iwai wrote: > > > > On Wed, 29 Apr 2020 1

Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-04-30 Thread Nicholas Johnson
On Thu, Apr 30, 2020 at 07:01:08PM +0200, Takashi Iwai wrote: > On Thu, 30 Apr 2020 18:52:20 +0200, > Nicholas Johnson wrote: > > > > On Thu, Apr 30, 2020 at 05:14:56PM +0200, Takashi Iwai wrote: > > > On Wed, 29 Apr 2020 18:19:57 +0200, > > > Alex Deucher wrote: > > > > > > > > On Wed, Apr 29, 2

Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-04-30 Thread Nicholas Johnson
On Thu, Apr 30, 2020 at 05:14:56PM +0200, Takashi Iwai wrote: > On Wed, 29 Apr 2020 18:19:57 +0200, > Alex Deucher wrote: > > > > On Wed, Apr 29, 2020 at 12:05 PM Takashi Iwai wrote: > > > Well, but the code path there is the runtime PM resume of the audio > > > device and it means that GPU must

Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-04-30 Thread Takashi Iwai
On Thu, 30 Apr 2020 18:52:20 +0200, Nicholas Johnson wrote: > > On Thu, Apr 30, 2020 at 05:14:56PM +0200, Takashi Iwai wrote: > > On Wed, 29 Apr 2020 18:19:57 +0200, > > Alex Deucher wrote: > > > > > > On Wed, Apr 29, 2020 at 12:05 PM Takashi Iwai wrote: > > > > Well, but the code path there is

Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-04-30 Thread Takashi Iwai
On Wed, 29 Apr 2020 18:19:57 +0200, Alex Deucher wrote: > > On Wed, Apr 29, 2020 at 12:05 PM Takashi Iwai wrote: > > Well, but the code path there is the runtime PM resume of the audio > > device and it means that GPU must have been runtime-resumed again > > beforehand via the device link. So, i

Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-04-29 Thread Alex Deucher
On Wed, Apr 29, 2020 at 12:05 PM Takashi Iwai wrote: > > On Wed, 29 Apr 2020 17:47:47 +0200, > Alex Deucher wrote: > > > > On Wed, Apr 29, 2020 at 11:27 AM Nicholas Johnson > > wrote: > > > > > > On Wed, Apr 29, 2020 at 09:37:41AM +0200, Takashi Iwai wrote: > > > > On Tue, 28 Apr 2020 16:48:45 +0

Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-04-29 Thread Takashi Iwai
On Wed, 29 Apr 2020 17:47:47 +0200, Alex Deucher wrote: > > On Wed, Apr 29, 2020 at 11:27 AM Nicholas Johnson > wrote: > > > > On Wed, Apr 29, 2020 at 09:37:41AM +0200, Takashi Iwai wrote: > > > On Tue, 28 Apr 2020 16:48:45 +0200, > > > Nicholas Johnson wrote: > > > > > > > > > > > > > > > > > >

Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-04-29 Thread Alex Deucher
On Wed, Apr 29, 2020 at 11:27 AM Nicholas Johnson wrote: > > On Wed, Apr 29, 2020 at 09:37:41AM +0200, Takashi Iwai wrote: > > On Tue, 28 Apr 2020 16:48:45 +0200, > > Nicholas Johnson wrote: > > > > > > > > > > > > > > > > > FWIW, I have a fiji board in a desktop system and it worked fine > > > >

Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-04-29 Thread Takashi Iwai
On Wed, 29 Apr 2020 17:27:17 +0200, Nicholas Johnson wrote: > > On Wed, Apr 29, 2020 at 09:37:41AM +0200, Takashi Iwai wrote: > > On Tue, 28 Apr 2020 16:48:45 +0200, > > Nicholas Johnson wrote: > > > > > > > > > > > > > > > > > FWIW, I have a fiji board in a desktop system and it worked fine > >

Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-04-29 Thread Takashi Iwai
On Tue, 28 Apr 2020 16:48:45 +0200, Nicholas Johnson wrote: > > > > > > > > > > > FWIW, I have a fiji board in a desktop system and it worked fine when > > > > > this code was enabled. > > > > > > > > Is the new DC code used for Fiji boards? IIRC, the audio component > > > > binding from amdgpu i

Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-04-28 Thread Nicholas Johnson
From: Nicholas Johnson > > > > > > > > > > > > > > > > Sent: Sunday, April 26, 2020 12:02 PM > > > > > > > > To: linux-ker...@vger.kernel.org > > > > > > > > Cc: Deucher, Alexander ; Koenig, > > > > &

Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-04-28 Thread Takashi Iwai
] > > > > > > > > > > > > > -Original Message- > > > > > > > From: Nicholas Johnson > > > > > > > > > > > > > > Sent: Sunday, April 26, 2020 12:02 PM > > > > > > > T

Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-04-27 Thread Alex Deucher
as Johnson > > > > > > Sent: Sunday, April 26, 2020 12:02 PM > > > > > > To: linux-ker...@vger.kernel.org > > > > > > Cc: Deucher, Alexander ; Koenig, > > > > > > Christian > > > > > > ; Zhou, David(ChunMing

Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-04-27 Thread Takashi Iwai
...@vger.kernel.org > > > > > Cc: Deucher, Alexander ; Koenig, Christian > > > > > ; Zhou, David(ChunMing) > > > > > ; Nicholas Johnson > > > > opensou...@outlook.com.au> > > > > > Subject: [PATCH 0/1] Fiji GPU audio register timeout when i

Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-04-27 Thread Alex Deucher
-Original Message- > > > > From: Nicholas Johnson > > > > Sent: Sunday, April 26, 2020 12:02 PM > > > > To: linux-ker...@vger.kernel.org > > > > Cc: Deucher, Alexander ; Koenig, Christian > > > > ; Zhou, David(ChunMing) > > &g

Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-04-27 Thread Nicholas Johnson
Sunday, April 26, 2020 12:02 PM > > > To: linux-ker...@vger.kernel.org > > > Cc: Deucher, Alexander ; Koenig, Christian > > > ; Zhou, David(ChunMing) > > > ; Nicholas Johnson > > opensou...@outlook.com.au> > > > Subject: [PATCH 0/1] Fiji GPU audio registe

Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-04-27 Thread Takashi Iwai
g, Christian > > ; Zhou, David(ChunMing) > > ; Nicholas Johnson > opensou...@outlook.com.au> > > Subject: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state > > > > Hi all, > > > > Since Linux v5.7-rc1 / commit 4fdda2e66de0 ("d

RE: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state

2020-04-27 Thread Deucher, Alexander
; Subject: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state > > Hi all, > > Since Linux v5.7-rc1 / commit 4fdda2e66de0 ("drm/amdgpu/runpm: enable > runpm on baco capable VI+ asics"), my AMD R9 Nano has been using runpm / > BACO. You can tell visually wh