public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Lukas Wunner <lukas@wunner.de>
Cc: Nicholas Johnson <nicholas.johnson-opensource@outlook.com.au>,
	Alex Deucher <alexdeucher@gmail.com>,
	"Zhou, David(ChunMing)" <David1.Zhou@amd.com>,
	"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"amd-gfx@lists.freedesktop.org" <amd-gfx@lists.freedesktop.org>,
	Takashi Iwai <tiwai@suse.com>,
	"Deucher, Alexander" <Alexander.Deucher@amd.com>,
	"Koenig, Christian" <Christian.Koenig@amd.com>
Subject: Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state
Date: Sat, 02 May 2020 09:27:31 +0200	[thread overview]
Message-ID: <s5h368iiyos.wl-tiwai@suse.de> (raw)
In-Reply-To: <20200502071728.fn2fcqvt6aies3zu@wunner.de>

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_component_bind(struct device *kdev,
> >  	struct amdgpu_device *adev = dev->dev_private;
> >  	struct drm_audio_component *acomp = data;
> >  
> > +	if (!device_link_add(hda_kdev, kdev, DL_FLAG_STATELESS |
> > +			     DL_FLAG_PM_RUNTIME)) {
> > +		DRM_ERROR("DM: cannot add device link to audio device\n");
> > +		return -ENOMEM;
> > +	}
> > +
> 
> Doesn't this duplicate drivers/pci/quirks.c:quirk_gpu_hda() ?

Gah, you're right, that was the place I overlooked.
It was a typical "false Eureka right-after-wakeup" phenomenon :)
Need a vaccine aka coffee...

So the runtime PM dependency must be already placed there, and the
problem is not the lack of the dependency tree but the really other
timing issue.  Back to square.


thanks,

Takashi

  reply	other threads:[~2020-05-02  7:27 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-26 16:02 [PATCH 0/1] Fiji GPU audio register timeout when in BACO state Nicholas Johnson
2020-04-26 16:02 ` [PATCH 1/1] drm/amdgpu/runpm: Disable runpm on Fiji due to audio register timeout Nicholas Johnson
2020-04-27 14:22 ` [PATCH 0/1] Fiji GPU audio register timeout when in BACO state Deucher, Alexander
2020-04-27 15:15   ` Takashi Iwai
2020-04-27 17:20     ` Nicholas Johnson
2020-04-27 18:28       ` Alex Deucher
2020-04-27 18:39         ` Takashi Iwai
2020-04-27 18:43           ` Alex Deucher
2020-04-28  7:57             ` Takashi Iwai
2020-04-28 14:48               ` Nicholas Johnson
2020-04-29  7:37                 ` Takashi Iwai
2020-04-29 15:27                   ` Nicholas Johnson
2020-04-29 15:43                     ` Takashi Iwai
2020-04-29 15:47                     ` Alex Deucher
2020-04-29 16:05                       ` Takashi Iwai
2020-04-29 16:19                         ` Alex Deucher
2020-04-30 15:14                           ` Takashi Iwai
2020-04-30 16:52                             ` Nicholas Johnson
2020-04-30 17:01                               ` Takashi Iwai
2020-04-30 17:38                                 ` Nicholas Johnson
2020-04-30 17:49                                   ` Takashi Iwai
2020-05-02  7:11                                     ` Takashi Iwai
2020-05-02  7:17                                       ` Lukas Wunner
2020-05-02  7:27                                         ` Takashi Iwai [this message]
2020-05-02 10:09                                           ` Takashi Iwai
2020-05-06 15:15                                             ` Nicholas Johnson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5h368iiyos.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=Alexander.Deucher@amd.com \
    --cc=Christian.Koenig@amd.com \
    --cc=David1.Zhou@amd.com \
    --cc=alexdeucher@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lukas@wunner.de \
    --cc=nicholas.johnson-opensource@outlook.com.au \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox