All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: alsa-devel@alsa-project.org
Cc: Vinod Koul <vinod.koul@intel.com>,
	"Subhransu S . Prusty" <subhransu.s.prusty@intel.com>,
	Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>,
	Takashi Sakamoto <o-takashi@sakamocchi.jp>
Subject: [PATCH v2 0/3] ALSA: Add the explicit appl_ptr sync support
Date: Wed, 21 Jun 2017 17:31:11 +0200	[thread overview]
Message-ID: <20170621153114.6207-1-tiwai@suse.de> (raw)

Hi,

this is a revised patchset for supporting the explicit appl_ptr
update.  Since the protocol version from user-space needs to be stored
locally for each opened file, the check of status/control mmap was
slightly changed as well.  But the basic strategy is same as the
previous patchset.

Note that this patchset doesn't solve the issue that appl_ptr update
isn't properly notified to ack ops as Sakamoto-san pointed out
previously.  We'll still need to sort it out.  But the hack I
introduced here doesn't basically conflict with it, and it'll even
make it easier to solve later, by the new USER_PVERSION ioctl.


thanks,

Takashi

===

Takashi Iwai (3):
  ALSA: pcm: Add the explicit appl_ptr sync support
  ALSA: pcm: Add an ioctl to specify the supported protocol version
  ALSA: pcm: Limit the appl_ptr sync workaround only for old user-space

 include/sound/pcm.h         |  1 +
 include/uapi/sound/asound.h |  4 +++-
 sound/core/pcm_compat.c     |  1 +
 sound/core/pcm_native.c     | 34 ++++++++++++++++++++++++++++++++--
 4 files changed, 37 insertions(+), 3 deletions(-)

-- 
2.13.1

             reply	other threads:[~2017-06-21 15:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-21 15:31 Takashi Iwai [this message]
2017-06-21 15:31 ` [PATCH v2 1/3] ALSA: pcm: Add the explicit appl_ptr sync support Takashi Iwai
2017-06-23  8:07   ` Takashi Sakamoto
2017-06-23 13:41     ` Takashi Iwai
2017-06-21 15:31 ` [PATCH v2 2/3] ALSA: pcm: Add an ioctl to specify the supported protocol version Takashi Iwai
2017-06-21 15:31 ` [PATCH v2 3/3] ALSA: pcm: Limit the appl_ptr sync workaround only for old user-space Takashi Iwai

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=20170621153114.6207-1-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=o-takashi@sakamocchi.jp \
    --cc=pierre-louis.bossart@linux.intel.com \
    --cc=subhransu.s.prusty@intel.com \
    --cc=vinod.koul@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.