[PATCH] PCI: QEMU top-level IDs for (sub)vendor & device

2016-01-29 Thread Takashi Iwai
On Fri, 29 Jan 2016 10:02:54 +0100, Jani Nikula wrote: > > > This one's lacking some maintainers, adding for acks. There's already > review from Gerd [1], and seems like a good idea anyway. Feel free to take my ack, too Reviewed-by: Takashi Iwai thanks, Takashi

Why drm-mipi-dsi is built-in only?

2016-07-22 Thread Takashi Iwai
Hi, is there any reason drm-mipi-dsi can't be a module? It's fixed as a built-in since its Kconfig is bool. thanks, Takashi

[PATCH] drm/i915, HD-audio: Don't continue probing when nomodeset is given

2014-06-13 Thread Takashi Iwai
[3.15] Signed-off-by: Takashi Iwai --- The bug actually exists since 3.11, but this commit will be applicable only to recent kernels due to ALSA and i915 code changes, that's why marked with [3.15] for stable. drivers/gpu/drm/i915/intel_pm.c | 14 -- include/drm/i915_powerwell

[PATCH] drm/i915, HD-audio: Don't continue probing when nomodeset is given

2014-06-13 Thread Takashi Iwai
At Fri, 13 Jun 2014 18:07:06 +0200, Daniel Vetter wrote: > > On Fri, Jun 13, 2014 at 05:56:02PM +0200, Takashi Iwai wrote: > > When a machine is booted with nomodeset option, i915 driver skips the > > whole initialization. Meanwhile, HD-audio tries to bind wth i915 just >

Re: [PATCH 4/4] snd/hda: add runtime suspend/resume on optimus support

2013-07-29 Thread Takashi Iwai
At Mon, 29 Jul 2013 16:06:59 +1000, Dave Airlie wrote: > > Add support for HDMI audio device on VGA cards that powerdown > to D3cold using non-standard ACPI/PCI infrastructure (optimus). > > This does a couple of things to make it work: > > a) add a set of power ops for the hdmi domain, and enab

Re: [PATCH 4/4] snd/hda: add runtime suspend/resume on optimus support (v3)

2013-08-06 Thread Takashi Iwai
At Mon, 5 Aug 2013 12:56:04 +1000, Dave Airlie wrote: > > Add support for HDMI audio device on VGA cards that powerdown > to D3cold using non-standard ACPI/PCI infrastructure (optimus). > > This does a couple of things to make it work: > > a) add a set of power ops for the hdmi domain, and enab

Re: trees for secondary powerdown

2013-08-28 Thread Takashi Iwai
Hi Dave, At Wed, 28 Aug 2013 16:51:55 +1000, Dave Airlie wrote: > > Hi Takashi, > > I've put two branches in my repo, > > http://cgit.freedesktop.org/~airlied/linux/log/?h=drm-optimus-power-down > http://cgit.freedesktop.org/~airlied/linux/log/?h=drm-optimus-power-down-snd-merge > > git://peop

Re: trees for secondary powerdown

2013-08-28 Thread Takashi Iwai
At Wed, 28 Aug 2013 18:25:47 +0200, Takashi Iwai wrote: > > Hi Dave, > > At Wed, 28 Aug 2013 16:51:55 +1000, > Dave Airlie wrote: > > > > Hi Takashi, > > > > I've put two branches in my repo, > > > > http://cgit.freedesktop.o

Re: [PATCH 6/8] ALSA: ppc: keywest: Don't use i2c_client->driver

2013-09-30 Thread Takashi Iwai
Signed-off-by: Lars-Peter Clausen Acked-by: Takashi Iwai thanks, Takashi > --- > sound/ppc/keywest.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/sound/ppc/keywest.c b/sound/ppc/keywest.c > index 01aecc2..0d1c27e 100644 > --- a/so

Switchable graphics and radeon PX runtime

2014-11-14 Thread Takashi Iwai
Hi Alex, we've got a few bug reports about the behavior of radeon driver on machines with Intel+AMD "switchable graphics" (no Muxless). So far, it seems that the sane only way to make the machine working is to get back to the old vgaswitcheroo behavior via radeon.runpm=0. Without it, radeon GPU

Switchable graphics and radeon PX runtime

2014-11-14 Thread Takashi Iwai
At Fri, 14 Nov 2014 19:33:00 +1000, Dave Airlie wrote: > > On 14 November 2014 18:12, Takashi Iwai wrote: > > Hi Alex, > > > > we've got a few bug reports about the behavior of radeon driver on > > machines with Intel+AMD "switchable graphics" (no

Switchable graphics and radeon PX runtime

2014-11-14 Thread Takashi Iwai
At Fri, 14 Nov 2014 10:40:08 -0500, Alex Deucher wrote: > > On Fri, Nov 14, 2014 at 5:09 AM, Takashi Iwai wrote: > > At Fri, 14 Nov 2014 19:33:00 +1000, > > Dave Airlie wrote: > >> > >> On 14 November 2014 18:12, Takashi Iwai wrote: > >> > Hi

Switchable graphics and radeon PX runtime

2014-11-14 Thread Takashi Iwai
At Fri, 14 Nov 2014 12:29:17 -0500, Alex Deucher wrote: > > On Fri, Nov 14, 2014 at 11:14 AM, Takashi Iwai wrote: > > At Fri, 14 Nov 2014 10:40:08 -0500, > > Alex Deucher wrote: > >> > >> On Fri, Nov 14, 2014 at 5:09 AM, Takashi Iwai wrote: > >> >

[PATCH 2/2] ASoC: hdmi-codec: add channel mapping control

2016-12-12 Thread Takashi Iwai
On Mon, 12 Dec 2016 10:38:45 +0100, Arnaud Pouliquen wrote: > > > > On 12/11/2016 07:09 AM, Takashi Sakamoto wrote: > > On Dec 9 2016 01:37, Arnaud Pouliquen wrote: > >> Add user interface to provide channel mapping. > >> In a first step this control is read only. > >> > >> As TLV type, the cont

[PATCH 2/2] ASoC: hdmi-codec: add channel mapping control

2016-12-12 Thread Takashi Iwai
On Mon, 12 Dec 2016 13:12:16 +0100, Takashi Sakamoto wrote: > > On Dec 12 2016 18:54, Takashi Iwai wrote: > >>>> +enum hdmi_codec_cea_spk_placement { > >>>> +FL = (1 << 0),/* Front Left */ > >>

[alsa-devel] [PATCH v2 1/9] drm: bridge/dw_hdmi-ahb-audio: add audio driver

2015-08-14 Thread Takashi Iwai
mations outside of > libasound itself. > > Signed-off-by: Russell King > --- > v2: updated with Takashi Iwai's comments... and with a fixed Cc: line. Reviewed-by: Takashi Iwai thanks, Takashi > drivers/gpu/drm/bridge/Kconfig | 10 + > drivers/gpu/drm/brid

[PATCH v2 03/14] ASoC: hdac_hdmi - Use list to add pins and converters

2015-12-03 Thread Takashi Iwai
On Thu, 03 Dec 2015 22:08:51 +0100, Subhransu S. Prusty wrote: > static int hdac_hdmi_dev_remove(struct hdac_ext_device *edev) > { > + struct hdac_hdmi_priv *hdmi = edev->private_data; > + struct hdac_hdmi_pin *pin; > + struct hdac_hdmi_cvt *cvt; > + > snd_soc_unregister_codec(&

[PATCH v2 04/14] ASoC: hdac_hdmi: Add hotplug notification and read eld

2015-12-03 Thread Takashi Iwai
On Thu, 03 Dec 2015 22:08:52 +0100, Subhransu S. Prusty wrote: > > This patch uses i915 component framework to register for hotplug > notification. And once it identifies valid pin sense and valid eld, > reads the eld into the corresponding pin map buffer. For now it > directly sends the verbs and

[PATCH v2 05/14] ALSA: pcm: Add DRM helper to set constraint for format

2015-12-03 Thread Takashi Iwai
On Thu, 03 Dec 2015 22:08:53 +0100, Subhransu S. Prusty wrote: > > Setting the constraint format based on ELD was missing bit in > the sound/core pcm drm. Added with this patch. No, you can't define these here. The format really depends on the hardware, while the rate and the channels are indepe

[PATCH v2 08/14] ASoC: hdac_hdmi - create dais based on number of streams

2015-12-03 Thread Takashi Iwai
On Thu, 03 Dec 2015 22:08:56 +0100, Subhransu S. Prusty wrote: > > A stream is mapped to a converter. So based on the converters > queried, dais are created. > > The streams can be dynamically routed to any converter. For > now it is mapped statically. The dynamic mapping of stream > to converter

[PATCH v2 11/14] drm/edid: Add API to help find connection type

2015-12-03 Thread Takashi Iwai
On Thu, 03 Dec 2015 22:08:59 +0100, Subhransu S. Prusty wrote: > > To fill the audio infoframe it is required to identify the > connection type as DP or HDMI. This patch adds an API which > parses ELD and returns the display type of connected. > > Signed-off-by: Subhransu S. Prusty > Signed-off-

[PATCH v2 05/14] ALSA: pcm: Add DRM helper to set constraint for format

2015-12-04 Thread Takashi Iwai
On Fri, 04 Dec 2015 12:08:26 +0100, Subhransu S. Prusty wrote: > > On Thu, Dec 03, 2015 at 04:57:14PM +0100, Takashi Iwai wrote: > > On Thu, 03 Dec 2015 22:08:53 +0100, > > Subhransu S. Prusty wrote: > > > > > > Setting the constraint format based on ELD was

[PATCH v2 05/14] ALSA: pcm: Add DRM helper to set constraint for format

2015-12-05 Thread Takashi Iwai
On Sat, 05 Dec 2015 12:27:03 +0100, Subhransu S. Prusty wrote: > > On Fri, Dec 04, 2015 at 06:59:19AM +0100, Takashi Iwai wrote: > > On Fri, 04 Dec 2015 12:08:26 +0100, > > Subhransu S. Prusty wrote: > > > > > > On Thu, Dec 03, 2015 at 04:57:14PM +0100, Takash

[PATCH v2 05/14] ALSA: pcm: Add DRM helper to set constraint for format

2015-12-05 Thread Takashi Iwai
On Sat, 05 Dec 2015 15:05:49 +0100, Subhransu S. Prusty wrote: > > On Sat, Dec 05, 2015 at 09:12:34AM +0100, Takashi Iwai wrote: > > On Sat, 05 Dec 2015 12:27:03 +0100, > > Subhransu S. Prusty wrote: > > > > > > On Fri, Dec 04, 2015 at 06:59:19AM +0100, Takash

[alsa-devel] [PATCH v2 1/4] DRM: add help to get ELD speaker allocation

2016-12-28 Thread Takashi Iwai
On Mon, 19 Dec 2016 10:42:28 +0100, Daniel Vetter wrote: > > On Mon, Dec 19, 2016 at 11:09:55AM +0200, Jani Nikula wrote: > > On Wed, 14 Dec 2016, Arnaud Pouliquen wrote: > > > Add helper to allow users to retrieve the speaker allocations without > > > knowledge of the ELD structure. > > > > > >

[PATCH v1.1 03/15] vga_switcheroo: Set active attribute to false for audio clients

2015-09-24 Thread Takashi Iwai
introduced by a82d51ed24bb ("ALSA: hda - Support > VGA-switcheroo"). > > v1.1: The changes above imply that in find_active_client() the call > to client_is_vga() is now superfluous. Drop it. > > Cc: Takashi Iwai > Signed-off-by: Lukas Wunner > --- > dri

[PATCH 03/15] vga_switcheroo: Set active attribute to false for audio clients

2015-09-24 Thread Takashi Iwai
On Sat, 19 Sep 2015 19:50:12 +0200, Lukas Wunner wrote: > > Hi Takashi, > > On Sat, Sep 19, 2015 at 06:44:58PM +0200, Takashi Iwai wrote: > > Without the cover letter I can't judge why this change is needed, so > > at the next time, please put relevant people to C

[PATCH v1.1 03/15] vga_switcheroo: Set active attribute to false for audio clients

2015-09-24 Thread Takashi Iwai
vga_switcheroo_register_audio_client() was introduced by 3e9e63dbd374 > > ("vga_switcheroo: Add the support for audio clients"). Its use in > > hda_intel.c was introduced by a82d51ed24bb ("ALSA: hda - Support > > VGA-switcheroo"). > > > > v1.1: The c

[PATCH 00/11] ASoC: hdac_hdmi: Add multichannel support

2016-04-12 Thread Takashi Iwai
On Tue, 12 Apr 2016 07:01:22 +0200, Subhransu S. Prusty wrote: > > This series parses ELD to identify multichannel capability of the > sync, and uses HDA framework to programs codec's channel map > registers. > > Channel map controls are registered in patch 8, with which user > can specify a spec

Re: [alsa-devel] [PATCH 4/8] sound: hpios: don't pass GFP_DMA32 to dma_alloc_coherent

2018-10-13 Thread Takashi Iwai
On Sat, 13 Oct 2018 17:17:03 +0200, Christoph Hellwig wrote: > > The DMA API does its own zone decisions based on the coherent_dma_mask. > > Signed-off-by: Christoph Hellwig Reviewed-by: Takashi Iwai Would you like to take this as a series, or shall I take individually throug

Re: [alsa-devel] [PATCH 5/8] sound: intel/sst: don't pass GFP_DMA32 to dma_alloc_coherent

2018-10-13 Thread Takashi Iwai
On Sat, 13 Oct 2018 17:17:04 +0200, Christoph Hellwig wrote: > > The DMA API does its own zone decisions based on the coherent_dma_mask. > > Signed-off-by: Christoph Hellwig Reviewed-by: Takashi Iwai thanks, Takashi > --- > sound/soc/intel/common/sst-firmware.c | 2 +-

Re: [alsa-devel] [PATCH 4/8] sound: hpios: don't pass GFP_DMA32 to dma_alloc_coherent

2018-10-13 Thread Takashi Iwai
On Sat, 13 Oct 2018 18:35:40 +0200, Christoph Hellwig wrote: > > On Sat, Oct 13, 2018 at 06:18:28PM +0200, Takashi Iwai wrote: > > On Sat, 13 Oct 2018 17:17:03 +0200, > > Christoph Hellwig wrote: > > > > > > The DMA API does its own zone deci

Re: [alsa-devel] [PATCH v3 16/27] docs: Fix more broken references

2018-06-14 Thread Takashi Iwai
gt; Signed-off-by: Mauro Carvalho Chehab For the sound bits: Acked-by: Takashi Iwai thanks, Takashi ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH v2 09/11] docs: Fix some broken references

2018-05-13 Thread Takashi Iwai
ving a few > false-positives. > > Signed-off-by: Mauro Carvalho Chehab For sound stuff, feel free to take my ack (if it's not too late): Acked-by: Takashi Iwai thanks, Takashi ___ dri-devel mailing list dri-devel@lists.freedesktop.o

[PATCH] vga_switcheroo: Fix missing gpu_bound call at audio client registration

2018-11-05 Thread Takashi Iwai
bug.cgi?id=201615 Fixes: 37a3a98ef601 ("ALSA: hda - Enable runtime PM only for discrete GPU") Cc: Signed-off-by: Takashi Iwai --- drivers/gpu/vga/vga_switcheroo.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/vga/vga_switcheroo.c b/drivers/gpu/vga/vga_switcheroo.

Re: [PATCH] vga_switcheroo: Fix missing gpu_bound call at audio client registration

2018-11-05 Thread Takashi Iwai
On Mon, 05 Nov 2018 12:55:17 +0100, Lukas Wunner wrote: > > On Mon, Nov 05, 2018 at 12:02:53PM +0100, Takashi Iwai wrote: > > The commit 37a3a98ef601 ("ALSA: hda - Enable runtime PM only for > > discrete GPU") added a new ops gpu_bound to be called when GPU gets >

Re: [PATCH] vga_switcheroo: Fix missing gpu_bound call at audio client registration

2018-11-05 Thread Takashi Iwai
On Mon, 05 Nov 2018 13:59:37 +0100, Lukas Wunner wrote: > > On Mon, Nov 05, 2018 at 01:51:23PM +0100, Takashi Iwai wrote: > > On Mon, 05 Nov 2018 12:55:17 +0100, Lukas Wunner wrote: > > > On Mon, Nov 05, 2018 at 12:02:53PM +0100, Takashi Iwai wrote: > > >

Re: [PATCH] vga_switcheroo: Fix missing gpu_bound call at audio client registration

2018-11-05 Thread Takashi Iwai
On Mon, 05 Nov 2018 14:38:42 +0100, Lukas Wunner wrote: > > On Mon, Nov 05, 2018 at 02:11:06PM +0100, Takashi Iwai wrote: > > On Mon, 05 Nov 2018 13:59:37 +0100, Lukas Wunner wrote: > > > On Mon, Nov 05, 2018 at 01:51:23PM +0100, Takashi Iwai wrote: > > > > O

Re: Performance regression in ast drm driver

2018-11-12 Thread Takashi Iwai
On Mon, 12 Nov 2018 15:36:07 +0100, Jean Delvare wrote: > > Hi David, > > On Fri, 2018-11-09 at 10:04 +1000, David Airlie wrote: > > On Thu, Nov 8, 2018 at 10:05 PM Jean Delvare wrote: > > > > > > On Thu, 1 Nov 2018 16:27:07 +0100, Jean Delvare wrote: > > > > Hi David, > > > > > > > > The foll

Re: [Nouveau] [PATCH] drm/nouveau: Don't disable polling in fallback mode

2018-11-14 Thread Takashi Iwai
On Fri, 14 Sep 2018 13:59:25 +0200, Martin Peres wrote: > > On 14/09/2018 10:28, Ben Skeggs wrote: > > On Wed, 12 Sep 2018 at 20:59, Takashi Iwai wrote: > >> > >> When a fan is controlled via linear fallback without cstate, we > >> shouldn't stop po

[PATCH] drm/amdgpu: Add missing firmware entry for HAINAN

2018-11-19 Thread Takashi Iwai
Due to lack of MODULE_FIRMWARE() with hainan_mc.bin, the driver doesn't work properly in initrd. Let's add it. Bugzilla: https://bugzilla.suse.com/show_bug.cgi?id=1116239 Fixes: 8eaf2b1faaf4 ("drm/amdgpu: switch firmware path for SI parts") Cc: Signed-off-by: Takashi Iwai

Re: [alsa-devel] [Xen-devel][PATCH 3/3] ALSA: xen-front: Use Xen common shared buffer implementation

2018-11-22 Thread Takashi Iwai
On Thu, 22 Nov 2018 11:02:30 +0100, Oleksandr Andrushchenko wrote: > > @@ -214,12 +221,19 @@ static void stream_clear(struct > xen_snd_front_pcm_stream_info *stream) > stream->out_frames = 0; > atomic_set(&stream->hw_ptr, 0); > xen_snd_front_evtchnl_pair_clear(stream->evt_pair);

Re: [alsa-devel] 答复: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-07-09 Thread Takashi Iwai
On Mon, 09 Jul 2018 15:58:51 +0200, Alex Deucher wrote: > > On Mon, Jul 9, 2018 at 6:16 AM, Qu, Jim wrote: > > Hi Lukas, > > > > Thanks to your explanation, and see comments in line. > > > > > > Do you need to runtime resume the HDA controller even if user space isn't > > streaming audio? Why, a

Re: [alsa-devel] 答复: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-07-09 Thread Takashi Iwai
On Mon, 09 Jul 2018 16:02:48 +0200, Alex Deucher wrote: > > On Mon, Jul 9, 2018 at 6:16 AM, Qu, Jim wrote: > > Hi Lukas, > > > > Thanks to your explanation, and see comments in line. > > > > > > Do you need to runtime resume the HDA controller even if user space isn't > > streaming audio? Why, a

Re: [alsa-devel] ??????: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-07-09 Thread Takashi Iwai
On Mon, 09 Jul 2018 17:47:34 +0200, Lukas Wunner wrote: > > On Mon, Jul 09, 2018 at 05:04:22PM +0200, Takashi Iwai wrote: > > On Mon, 09 Jul 2018 15:58:51 +0200, Alex Deucher wrote: > > > On Mon, Jul 9, 2018 at 6:16 AM, Qu, Jim wrote: > > > > > You're s

Re: 答复: [alsa-devel] ??????: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-07-09 Thread Takashi Iwai
o audio codec on discrete GPU...? Why do we need vga_switcheroo at all, then? Takashi > > Thanks > JimQu > > -邮件原件- > 发件人: Lukas Wunner > 发送时间: 2018年7月9日 23:48 > 收件人: Takashi Iwai > 抄送: Alex Deucher ; alsa-de...@alsa-project.org; >

Re: [alsa-devel] 答复: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-07-09 Thread Takashi Iwai
On Mon, 09 Jul 2018 17:56:43 +0200, Daniel Vetter wrote: > > On Mon, Jul 09, 2018 at 05:04:22PM +0200, Takashi Iwai wrote: > > On Mon, 09 Jul 2018 15:58:51 +0200, > > Alex Deucher wrote: > > > > > > On Mon, Jul 9, 2018 at 6:16 AM, Qu, Jim wrote: > > &g

Re: [alsa-devel] ??????: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-07-09 Thread Takashi Iwai
On Mon, 09 Jul 2018 17:59:00 +0200, Alex Deucher wrote: > > On Mon, Jul 9, 2018 at 11:52 AM, Takashi Iwai wrote: > > On Mon, 09 Jul 2018 17:47:34 +0200, > > Lukas Wunner wrote: > >> > >> On Mon, Jul 09, 2018 at 05:04:22PM +0200, Takashi Iwai wrote: > >&g

Re: [alsa-devel] ??????: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-07-09 Thread Takashi Iwai
On Mon, 09 Jul 2018 18:15:32 +0200, Alex Deucher wrote: > > On Mon, Jul 9, 2018 at 12:06 PM, Lukas Wunner wrote: > > On Mon, Jul 09, 2018 at 05:52:49PM +0200, Takashi Iwai wrote: > >> On Mon, 09 Jul 2018 17:47:34 +0200, Lukas Wunner wrote: > >> > Since v4.17,

Re: 答复: [alsa-devel] ??????: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-07-09 Thread Takashi Iwai
On Mon, 09 Jul 2018 18:03:48 +0200, Alex Deucher wrote: > > On Mon, Jul 9, 2018 at 11:57 AM, Takashi Iwai wrote: > > On Mon, 09 Jul 2018 17:53:19 +0200, > > Qu, Jim wrote: > >> > >> Hi All, > >> > >> Here, I want to clarify the audio devi

Re: 答复: [alsa-devel] 答复: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-07-09 Thread Takashi Iwai
he given device? Does the driver give the proper ELD bytes as well as the jack state? Takashi > > Thanks > JimQu > > -邮件原件- > 发件人: Takashi Iwai > 发送时间: 2018年7月9日 23:58 > 收件人: Daniel Vetter > 抄送: Alex Deucher ; alsa-de...@alsa-project.org; > amd-...@lists

Re: 答复: 答复: [alsa-devel] 答复: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-07-10 Thread Takashi Iwai
ction and ELD query is performed at the end of codec resume, hence it'll be covered there. So in theory, ELD information should be passed from the GPU to HD-audio no matter whether runtime PM is enabled or not. BTW, please stop top-posting. It makes the thread readability awfully worse. t

Re: 答复: 答复: [alsa-devel] 答复: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-07-10 Thread Takashi Iwai
On Tue, 10 Jul 2018 11:13:27 +0200, jimqu wrote: > > > > On 2018年07月10日 16:01, Takashi Iwai wrote: > > On Tue, 10 Jul 2018 09:44:42 +0200, > > Qu, Jim wrote: > >> Hi Takashi, > >> > >> I am not expert in audio driver, so I just update s

Re: 答复: 答复: [alsa-devel] 答复: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-07-10 Thread Takashi Iwai
On Tue, 10 Jul 2018 13:11:20 +0200, jimqu wrote: > > > > On 2018年07月10日 17:50, Takashi Iwai wrote: > > On Tue, 10 Jul 2018 11:13:27 +0200, > > jimqu wrote: > >> > >> > >> On 2018年07月10日 16:01, Takashi Iwai wrote: > >>> On Tue, 10

Re: 答复: 答复: [alsa-devel] 答复: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-07-11 Thread Takashi Iwai
On Tue, 10 Jul 2018 13:21:00 +0200, Takashi Iwai wrote: > > > revert the fix of amdgpu suspend issue, audio issue also can be observed. > > Did you check the behavior with the single AMD GPU hardware? > If confirmed, we can forget about vga_switcheroo. ... and taking a look

Re: 答复: 答复: [alsa-devel] 答复: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-07-11 Thread Takashi Iwai
On Wed, 11 Jul 2018 10:41:38 +0200, jimqu wrote: > > > > On 2018年07月11日 15:19, Takashi Iwai wrote: > > On Tue, 10 Jul 2018 13:21:00 +0200, > > Takashi Iwai wrote: > >>> revert the fix of amdgpu suspend issue, audio issue also can be observed. > >> D

Re: 答复: 答复: [alsa-devel] 答复: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-07-11 Thread Takashi Iwai
On Wed, 11 Jul 2018 11:26:11 +0200, jimqu wrote: > > > > On 2018年07月11日 17:04, Takashi Iwai wrote: > > On Wed, 11 Jul 2018 10:41:38 +0200, > > jimqu wrote: > >> > >> > >> On 2018年07月11日 15:19, Takashi Iwai wrote: > >>> On Tue, 10 Ju

Re: 答复: 答复: [alsa-devel] 答复: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-07-11 Thread Takashi Iwai
On Wed, 11 Jul 2018 12:21:03 +0200, jimqu wrote: > > > > On 2018年07月11日 17:53, Takashi Iwai wrote: > > On Wed, 11 Jul 2018 11:26:11 +0200, > > jimqu wrote: > >> > >> > >> On 2018年07月11日 17:04, Takashi Iwai wrote: > >>> On Wed, 11 Ju

Re: [alsa-devel] [Xen-devel][PATCH v2 3/3] ALSA: xen-front: Use Xen common shared buffer implementation

2018-12-03 Thread Takashi Iwai
d bits, Reviewed-by: Takashi Iwai I suppose the whole patchset will be taken through xen or other tree? thanks, Takashi ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PATCH] drm/nouveau: Don't disable polling in fallback mode

2018-09-12 Thread Takashi Iwai
ot;) Bugzilla: https://bugzilla.suse.com/show_bug.cgi?id=1103356 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107447 Reported-by: Thomas Blume Signed-off-by: Takashi Iwai --- drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-)

Re: i915, HDMI/DP audio with multiple monitors

2018-09-12 Thread Takashi Iwai
On Wed, 12 Sep 2018 19:46:58 +0200, Ville Syrjälä wrote: > > On Tue, Sep 11, 2018 at 03:50:13PM +0200, Bruno Prémont wrote: > > Hi, > > > > I have a system with multiple monitors and would like to send > > notification sounds to the monitor on which corresponding > > window is visible. > > > > F

Re: [PATCH v2] ALSA: hda - Enable runtime PM only for discrete GPU

2018-09-13 Thread Takashi Iwai
On Thu, 13 Sep 2018 15:58:13 +0200, Lukas Wunner wrote: > > On Thu, Sep 13, 2018 at 03:35:36PM +0200, Takashi Iwai wrote: > > On Thu, 13 Sep 2018 15:27:16 +0200, Jian-Hong Pan wrote: > > > 2018-09-13 14:56 GMT+08:00 Takashi Iwai : > > > > The recent change of vga_

Re: i915, HDMI/DP audio with multiple monitors

2018-09-13 Thread Takashi Iwai
On Thu, 13 Sep 2018 09:25:37 +0200, Bruno Prémont wrote: > > On Wed, 12 Sep 2018 20:06:43 +0200 Takashi Iwai wrote: > > On Wed, 12 Sep 2018 19:46:58 +0200, > > Ville Syrjälä wrote: > > > > > > On Tue, Sep 11, 2018 at 03:50:13PM +0200, Bruno Prémont wrote: &

Re: [alsa-devel] [PATCH 1/2] ALSA: HDA: use PCI_BASE_CLASS_DISPLAY to cover more display adapters

2018-07-13 Thread Takashi Iwai
On Fri, 13 Jul 2018 10:06:01 +0200, Jim Qu wrote: > > Signed-off-by: Jim Qu More explanations please. e.g. why is this needed? The code change itself looks good, but ... > @@ -31,7 +31,7 @@ > * CHANGES: > * > * 2004.12.01 Major rewrite by tiwai, merged the work of pshou > - * >

Re: [alsa-devel] [PATCH 2/2] vgaswitchreoo: set audio client id in vgaswitchreoo enable function

2018-07-13 Thread Takashi Iwai
On Fri, 13 Jul 2018 10:06:02 +0200, Jim Qu wrote: > > On modern laptop, there are more and more platforms > have two GPUs, and each of them maybe have audio codec > for HDMP/DP output. For some dGPU which is no output, > audio codec usually is disabled. > > In currect HDA audio driver, it will se

Re: 答复: 答复: [alsa-devel] 答复: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-07-13 Thread Takashi Iwai
On Wed, 11 Jul 2018 13:12:01 +0200, Takashi Iwai wrote: > > And the forced runtime PM is still an issue, and this would need the > other notification mechanism than the HD-audio unsolicited event as > AMD HDMI controller doesn't honor the HD-audio WAKEEN bit. Since we had a ni

Re: [alsa-devel] [PATCH 2/2] vgaswitchreoo: set audio client id in vgaswitchreoo enable function

2018-07-13 Thread Takashi Iwai
On Fri, 13 Jul 2018 17:25:39 +0200, jimqu wrote: > > > > 在 2018/7/13 16:46, Takashi Iwai 写道: > > On Fri, 13 Jul 2018 10:06:02 +0200, > > Jim Qu wrote: > >> On modern laptop, there are more and more platforms > >> have two GPUs, and each of them mayb

Re: 答复: 答复: [alsa-devel] 答复: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-07-14 Thread Takashi Iwai
On Sat, 14 Jul 2018 14:03:26 +0200, jimqu wrote: > > > > 在 2018/7/13 23:07, Takashi Iwai 写道: > > On Wed, 11 Jul 2018 13:12:01 +0200, > > Takashi Iwai wrote: > >> And the forced runtime PM is still an issue, and this would need the > >> other notificati

Re: [V2 1/2] ALSA: HDA: use PCI_BASE_CLASS_DISPLAY to replace PCI_CLASS_DISPLAY_VGA

2018-07-16 Thread Takashi Iwai
On Mon, 16 Jul 2018 08:06:34 +0200, Jim Qu wrote: > > Except PCI_CLASS_DISPLAY_VGA, some PCI class is sometimes > PCI_CLASS_DISPLAY_3D or PCI_CLASS_DISPLAY_OTHER. > > Signed-off-by: Jim Qu Applied this one now, as it's basically an individual fix. thanks, Takashi

Re: [V2 2/2] vgaswitchreoo: set audio client id in vgaswitchreoo enable function

2018-07-16 Thread Takashi Iwai
ne wants this through another tree inevitably, let me know. In that case, fell free to take my reviewed-by tag: Reviewed-by: Takashi Iwai thanks, Takashi > --- > drivers/gpu/vga/vga_switcheroo.c | 39 +-- > include/linux/vga_switche

[PATCH 0/3] Make the audio component binding more generic

2018-07-16 Thread Takashi Iwai
et me know if anyone has concerns. Thanks! Takashi === Takashi Iwai (3): drm/i915: Split audio component to a generic type ALSA: hda/i915: Associate audio component with devres ALSA: hda: Make audio component support more generic drivers/gpu/drm/i915/Kconfig | 1 + drivers/gp

[PATCH 2/3] ALSA: hda/i915: Associate audio component with devres

2018-07-16 Thread Takashi Iwai
, the corresponding code is removed by passing hdac_bus object to the function, too. Signed-off-by: Takashi Iwai --- include/sound/hda_i915.h | 6 -- sound/hda/hdac_i915.c| 34 +- sound/pci/hda/patch_hdmi.c | 5 +++-- sound/soc/codecs/hdac_hdmi.c | 2

[PATCH 3/3] ALSA: hda: Make audio component support more generic

2018-07-16 Thread Takashi Iwai
he fly. Signed-off-by: Takashi Iwai --- drivers/gpu/drm/i915/Kconfig | 1 + include/drm/drm_audio_component.h | 23 ++ include/sound/hda_component.h | 61 ++ include/sound/hda_i915.h | 39 +--- sound/hda/Kconfig | 7 +- sound/hda/Makefile

[PATCH 1/3] drm/i915: Split audio component to a generic type

2018-07-16 Thread Takashi Iwai
a preliminary change for further development, and no functional changes by this patch itself, merely code-split and renames. Signed-off-by: Takashi Iwai --- drivers/gpu/drm/i915/intel_audio.c | 22 +++--- include/drm/drm_audio_component.h | 115 + include/drm

Re: [alsa-devel] [V2 2/2] vgaswitchreoo: set audio client id in vgaswitchreoo enable function

2018-07-16 Thread Takashi Iwai
On Mon, 16 Jul 2018 16:43:42 +0200, Lukas Wunner wrote: > > On Mon, Jul 16, 2018 at 02:06:35PM +0800, Jim Qu wrote: > > + > > + list_for_each_entry(client, &vgasr_priv.clients, list) { > > + if (!client_is_audio(client) || client_id(client) != > > + VGA_SWITCHEROO_UNK

Re: 答复: 答复: [alsa-devel] 答复: [PATCH] vgaswitchroo: set audio client id according to bound gpu client id

2018-07-16 Thread Takashi Iwai
On Mon, 16 Jul 2018 17:10:43 +0200, Harry Wentland wrote: > > > > On 2018-07-15 10:36 AM, Alex Deucher wrote: > > On Sat, Jul 14, 2018 at 12:31 PM, Takashi Iwai wrote: > >> On Sat, 14 Jul 2018 14:03:26 +0200, > >> jimqu wrote: > >>> >

Re: [Intel-gfx] [PATCH 1/3] drm/i915: Split audio component to a generic type

2018-07-16 Thread Takashi Iwai
On Mon, 16 Jul 2018 19:22:17 +0200, Rodrigo Vivi wrote: > > > --- /dev/null > > +++ b/include/drm/drm_audio_component.h > > @@ -0,0 +1,115 @@ > > +/* > > + * Copyright © 2014 Intel Corporation > > + * > > + * Permission is hereby granted, free of charge, to any person obtaining a > > + * copy of t

Re: [PATCH 3/3] ALSA: hda: Make audio component support more generic

2018-07-16 Thread Takashi Iwai
On Mon, 16 Jul 2018 15:48:15 +0200, Takashi Iwai wrote: > > +static int hdac_component_master_bind(struct device *dev) > +{ > + struct drm_audio_component *acomp = hdac_get_acomp(dev); > + int ret; > + > + ret = component_bind_all(dev, acomp)

Re: [Intel-gfx] [PATCH 1/3] drm/i915: Split audio component to a generic type

2018-07-16 Thread Takashi Iwai
On Mon, 16 Jul 2018 19:50:48 +0200, Takashi Iwai wrote: > > On Mon, 16 Jul 2018 19:22:17 +0200, > Rodrigo Vivi wrote: > > > > > --- /dev/null > > > +++ b/include/drm/drm_audio_component.h > > > @@ -0,0 +1,115 @@ > > &g

Re: [V3] vga_switcheroo: set audio client id according to bound GPU id

2018-07-17 Thread Takashi Iwai
On Tue, 17 Jul 2018 10:38:58 +0200, Lukas Wunner wrote: > > On Tue, Jul 17, 2018 at 04:20:50PM +0800, Jim Qu wrote: > > On modern laptop, there are more and more platforms > > have two GPUs, and each of them maybe have audio codec > > for HDMP/DP output. For some dGPU which is no output, > > audio

Re: [V3] vga_switcheroo: set audio client id according to bound GPU id

2018-07-17 Thread Takashi Iwai
On Tue, 17 Jul 2018 10:56:37 +0200, jimqu wrote: > > > > On 2018年07月17日 16:52, Takashi Iwai wrote: > > On Tue, 17 Jul 2018 10:38:58 +0200, > > Lukas Wunner wrote: > >> On Tue, Jul 17, 2018 at 04:20:50PM +0800, Jim Qu wrote: > >>> On modern laptop,

[PATCH v2 1/3] drm/i915: Split audio component to a generic type

2018-07-17 Thread Takashi Iwai
915 argument in drm_audio_component.h Signed-off-by: Takashi Iwai --- drivers/gpu/drm/i915/intel_audio.c | 22 +++ include/drm/drm_audio_component.h | 95 ++ include/drm/i915_component.h | 85 ++ include/sound/hda_i915.h |

[PATCH v2 2/3] ALSA: hda/i915: Associate audio component with devres

2018-07-17 Thread Takashi Iwai
, the corresponding code is removed by passing hdac_bus object to the function, too. Signed-off-by: Takashi Iwai --- include/sound/hda_i915.h | 6 -- sound/hda/hdac_i915.c| 34 +- sound/pci/hda/patch_hdmi.c | 5 +++-- sound/soc/codecs/hdac_hdmi.c | 2

[PATCH v2 0/3] Make the audio component binding more generic

2018-07-17 Thread Takashi Iwai
et me know if anyone has concerns. Thanks! Takashi === v1->v2: * Change to SPDX for the new drm_audio_component.h * Fix remaining i915 word in drm_audio_component.h comments * Fix NULL dereference in master_bind / _unbind ops === Takashi Iwai (3): drm/i915: Split audio component to a

[PATCH v2 3/3] ALSA: hda: Make audio component support more generic

2018-07-17 Thread Takashi Iwai
he fly. v1->v2: Fix missing NULL check in master_bind/unbind Signed-off-by: Takashi Iwai --- drivers/gpu/drm/i915/Kconfig | 1 + include/drm/drm_audio_component.h | 23 ++ include/sound/hda_component.h | 61 ++ include/sound/hda_i915.h | 39 +--- sound/hda/Kconfig

Re: [alsa-devel] [PATCH v2 0/3] Make the audio component binding more generic

2018-07-18 Thread Takashi Iwai
On Wed, 18 Jul 2018 22:54:35 +0200, Pierre-Louis Bossart wrote: > > > > On 07/17/2018 04:26 AM, Takashi Iwai wrote: > > Hi, > > > > this is a preliminiary patch set to convert the existing i915 / > > HD-audio component binding to be applicable to other dri

Re: [alsa-devel] [PATCH v2 0/3] Make the audio component binding more generic

2018-07-19 Thread Takashi Iwai
On Thu, 19 Jul 2018 15:05:45 +0200, Pierre-Louis Bossart wrote: > > On 7/19/18 12:50 AM, Takashi Iwai wrote: > > On Wed, 18 Jul 2018 22:54:35 +0200, > > Pierre-Louis Bossart wrote: > >> > >> > >> > >> On 07/17/2018 04:26 AM, Takashi Iwai wro

[PATCH] ALSA: hda/i915: Allow delayed i915 audio component binding

2018-07-22 Thread Takashi Iwai
onent registration. For addressing it, implement a completion to be synced with the master binding. The timeout is set to 10 seconds which should be long enough and hopefully be not too annoying if anyone boots up a debugging session with i915 KMS turned off. Signed-off-by: Takashi Iwai --- This is ap

[PATCH 2/4] ALSA: hda/hdmi: Allow audio component for AMD/ATI HDMI

2018-07-23 Thread Takashi Iwai
patch, the DRM component in radeon and amdgpu DRM driver sides isn't implemented yet, so this change won't give any benefit alone. By the following changes in DRM sides, the mission will be completed. Signed-off-by: Takashi Iwai --- sound/pci/hda/patch_hdmi.c | 142

[PATCH 0/4] drm_audio_component support for AMD/ATI HDMI codecs

2018-07-23 Thread Takashi Iwai
yet. Takashi === Takashi Iwai (4): ALSA: hda/hdmi: Use single mutex unlock in error paths ALSA: hda/hdmi: Allow audio component for AMD/ATI HDMI drm/radeon: Add audio component support drm/amdgpu: Add audio component support drivers/gpu/drm/Kconfig | 2 + drivers/gpu

[PATCH 1/4] ALSA: hda/hdmi: Use single mutex unlock in error paths

2018-07-23 Thread Takashi Iwai
further changes. Signed-off-by: Takashi Iwai --- sound/pci/hda/patch_hdmi.c | 67 +++--- 1 file changed, 33 insertions(+), 34 deletions(-) diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c index 1de5491fb9bf..6750318d1c82 100644 --- a/sound/pci/hda

[PATCH 4/4] drm/amdgpu: Add audio component support

2018-07-23 Thread Takashi Iwai
connector->eld contents. This patch currently doesn't contain the component support for the new DC codes yet. Signed-off-by: Takashi Iwai --- drivers/gpu/drm/Kconfig | 1 + drivers/gpu/drm/amd/amdgpu/Makefile | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 4 +

[PATCH 3/4] drm/radeon: Add audio component support

2018-07-23 Thread Takashi Iwai
->eld contents. Signed-off-by: Takashi Iwai --- drivers/gpu/drm/Kconfig | 1 + drivers/gpu/drm/radeon/radeon.h | 3 + drivers/gpu/drm/radeon/radeon_audio.c | 79 +++ 3 files changed, 83 insertions(+) diff --git a/drivers/gpu/drm/Kconfig b/drivers/

Re: [PATCH 0/4] drm_audio_component support for AMD/ATI HDMI codecs

2018-07-23 Thread Takashi Iwai
On Mon, 23 Jul 2018 22:53:08 +0200, Alex Deucher wrote: > > On Mon, Jul 23, 2018 at 10:50 AM, Takashi Iwai wrote: > > Hi, > > > > this is a patch set to add the support of drm_audio_component for > > AMD/ATI HDMI codecs. With the drm_audio_component, the HDMI/DP

Re: 答复: [PATCH 3/4] drm/radeon: Add audio component support

2018-07-24 Thread Takashi Iwai
On Wed, 25 Jul 2018 05:32:52 +0200, Qu, Jim wrote: > @@ -269,6 +271,10 @@ static void radeon_audio_enable(struct radeon_device > *rdev, > > if (rdev->audio.funcs->enable) > rdev->audio.funcs->enable(rdev, pin, enable_mask); > + > + if (acomp && acomp->audio_ops && ac

Re: 答复: [PATCH 4/4] drm/amdgpu: Add audio component support

2018-07-24 Thread Takashi Iwai
On Wed, 25 Jul 2018 07:38:37 +0200, Qu, Jim wrote: > > Jim: Just like Alex said, we want driver can get eld info when hotplug in new > device. amdgpu driver is a bit difference from radeon driver, it is not a > suitable place to call notify() function in *_audio_enable() , since they are > not

Re: y4T�TCH 4/4] drm/amdgpu: Add audio component support

2018-07-25 Thread Takashi Iwai
On Wed, 25 Jul 2018 10:02:34 +0200, jimqu wrote: > > > > On 2018年07月25日 13:46, Takashi Iwai wrote: > > On Wed, 25 Jul 2018 07:38:37 +0200, > > Qu, Jim wrote: > >> Jim: Just like Alex said, we want driver can get eld info when hotplug in > >> new

trees for secondary powerdown

2013-08-28 Thread Takashi Iwai
Hi Dave, At Wed, 28 Aug 2013 16:51:55 +1000, Dave Airlie wrote: > > Hi Takashi, > > I've put two branches in my repo, > > http://cgit.freedesktop.org/~airlied/linux/log/?h=drm-optimus-power-down > http://cgit.freedesktop.org/~airlied/linux/log/?h=drm-optimus-power-down-snd-merge > > git://peop

trees for secondary powerdown

2013-08-28 Thread Takashi Iwai
At Wed, 28 Aug 2013 18:25:47 +0200, Takashi Iwai wrote: > > Hi Dave, > > At Wed, 28 Aug 2013 16:51:55 +1000, > Dave Airlie wrote: > > > > Hi Takashi, > > > > I've put two branches in my repo, > > > > http://cgit.freedesktop.o

Re: [PATCH 0/2] ALSA/DRM: vmalloc PCM buffer helper cleanup

2024-08-26 Thread Takashi Iwai
On Thu, 15 Aug 2024 10:03:40 +0200, Takashi Iwai wrote: > > On Wed, 07 Aug 2024 17:27:21 +0200, > Takashi Iwai wrote: > > > > Hi, > > > > we still keep the legacy vmalloc ALSA PCM helper API since there is > > only a single user of it, namely, the DRM dw

<    1   2   3   4   5   6   7   >