Re: Incorrect buffer handling in dw-hdmi bridge audio

2019-11-05 Thread Takashi Iwai
On Tue, 05 Nov 2019 18:02:03 +0100, Russell King - ARM Linux admin wrote: > > On Tue, Nov 05, 2019 at 05:44:26PM +0100, Takashi Iwai wrote: > > On Tue, 05 Nov 2019 17:33:44 +0100, > > Takashi Iwai wrote: > > > > > > On Tue, 05 Nov 2019 17:02:15 +0100, > > > Russell King - ARM Linux admin wrote: >

Re: Incorrect buffer handling in dw-hdmi bridge audio

2019-11-05 Thread Russell King - ARM Linux admin
On Tue, Nov 05, 2019 at 05:44:26PM +0100, Takashi Iwai wrote: > On Tue, 05 Nov 2019 17:33:44 +0100, > Takashi Iwai wrote: > > > > On Tue, 05 Nov 2019 17:02:15 +0100, > > Russell King - ARM Linux admin wrote: > > > > > > On Tue, Nov 05, 2019 at 09:07:43AM +0100, Neil Armstrong wrote: > > > > Hi, >

Re: Incorrect buffer handling in dw-hdmi bridge audio

2019-11-05 Thread Takashi Iwai
On Tue, 05 Nov 2019 17:33:44 +0100, Takashi Iwai wrote: > > On Tue, 05 Nov 2019 17:02:15 +0100, > Russell King - ARM Linux admin wrote: > > > > On Tue, Nov 05, 2019 at 09:07:43AM +0100, Neil Armstrong wrote: > > > Hi, > > > > > > On 05/11/2019 08:55, Takashi Iwai wrote: > > > > Hi, > > > > > >

Re: Incorrect buffer handling in dw-hdmi bridge audio

2019-11-05 Thread Takashi Iwai
On Tue, 05 Nov 2019 17:02:15 +0100, Russell King - ARM Linux admin wrote: > > On Tue, Nov 05, 2019 at 09:07:43AM +0100, Neil Armstrong wrote: > > Hi, > > > > On 05/11/2019 08:55, Takashi Iwai wrote: > > > Hi, > > > > > > while recently working on the ALSA memory allocator API cleanup, I > > > no

Re: Incorrect buffer handling in dw-hdmi bridge audio

2019-11-05 Thread Russell King - ARM Linux admin
On Tue, Nov 05, 2019 at 09:07:43AM +0100, Neil Armstrong wrote: > Hi, > > On 05/11/2019 08:55, Takashi Iwai wrote: > > Hi, > > > > while recently working on the ALSA memory allocator API cleanup, I > > noticed that dw-hdmi bridge driver seems doing weird about the buffer > > management. It pre-a

Re: Incorrect buffer handling in dw-hdmi bridge audio

2019-11-05 Thread Neil Armstrong
Hi, On 05/11/2019 08:55, Takashi Iwai wrote: > Hi, > > while recently working on the ALSA memory allocator API cleanup, I > noticed that dw-hdmi bridge driver seems doing weird about the buffer > management. It pre-allocates the usual device buffers fully at the > probe time, while each stream a

Incorrect buffer handling in dw-hdmi bridge audio

2019-11-04 Thread Takashi Iwai
Hi, while recently working on the ALSA memory allocator API cleanup, I noticed that dw-hdmi bridge driver seems doing weird about the buffer management. It pre-allocates the usual device buffers fully at the probe time, while each stream allocates the buffer via the vmalloc helpers and replaces w