[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200502071728.fn2fcqvt6aies3zu@wunner.de>
Date: Sat, 2 May 2020 09:17:28 +0200
From: Lukas Wunner <lukas@...ner.de>
To: Takashi Iwai <tiwai@...e.de>
Cc: Nicholas Johnson <nicholas.johnson-opensource@...look.com.au>,
Alex Deucher <alexdeucher@...il.com>,
"Zhou, David(ChunMing)" <David1.Zhou@....com>,
"alsa-devel@...a-project.org" <alsa-devel@...a-project.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"amd-gfx@...ts.freedesktop.org" <amd-gfx@...ts.freedesktop.org>,
Takashi Iwai <tiwai@...e.com>,
"Deucher, Alexander" <Alexander.Deucher@....com>,
"Koenig, Christian" <Christian.Koenig@....com>
Subject: Re: [PATCH 0/1] Fiji GPU audio register timeout when in BACO state
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() ?
Powered by blists - more mailing lists