[alsa-devel] [PATCH 2/2] ALSA: hda - Drop AZX_DCAPS_ALIGN_BUFSIZE

Takashi Iwai tiwai at suse.de
Wed Dec 3 10:18:29 CET 2014


At Wed, 3 Dec 2014 17:13:45 +0800,
Raymond Yau wrote:
> 
> >
> > We introduced AZX_DCAPS_ALIGN_BUFSIZE to explicity show that the
> > controller needs the alignment, with a slight hope that the buffer
> > size alignment will be disabled as default in future.  But the reality
> > tells that most chips need the buffer size alignment, and it'll be
> > likely enabled in future, too.
> >
> > This patch drops AZX_DCAPS_ALIGN_BUFSIZE to give back one more
> > previous DCAPS bit for future use.  At the same time, rename
> > AZX_DCAPS_BUFSIZE with AZX_DCAPS_NO_ALIGN_BUFSIZE for avoiding
> > confusion.
> >
> > AZX_DCAPS_ALIGN_BUFSIZE are still kept (but commented out) in each
> > DCAPS presets for a purpose as markers.
> 
> https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda?id=2ae66c26550cd94b0e2606a9275eb0ab7070ad0e
> 
> Does it mean that there are still a few  hda controllers support arbitrary
> period size or no hda controller support arbitrary period size ?

Most of Intel chips except for HDMI/DP work with arbitrary size.


Takashi


More information about the Alsa-devel mailing list