public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH v2 0/9] Add get_eld audio component for i915/HD-audio
@ 2015-12-01 16:09 Takashi Iwai
  2015-12-01 16:09 ` [PATCH v2 1/9] drm/i915: Remove superfluous NULL check Takashi Iwai
                   ` (8 more replies)
  0 siblings, 9 replies; 35+ messages in thread
From: Takashi Iwai @ 2015-12-01 16:09 UTC (permalink / raw)
  To: intel-gfx, alsa-devel
  Cc: Mengdong Lin, Vinod Koul, David Henningsson, Daniel Vetter

Hi,

this is a revised patchset to add get_eld op to audio component for
communicating more directly between i915 and HD-audio.  Currently, the
HDMI/DP audio status and ELD are notified and obtained via the
hardware-level communication over HD-audio unsolicited event and
verbs although the graphics driver holds the exactly same
information.  As we already have a notification via audio component,
this is another step forward; the audio driver fetches directly the
audio status and ELD via the new component op.

The patch still doesn't follow the recent kernel doc comment changes
in i915_component.h.  I'll rebase once when I get the steady branch in
drm tree.

The current patchset is found in sound git tree test/hdmi-jack
branch.


Takashi

===

v1->v2: 
* Use modeset lock for get_eld lock, drop av mutex
* Return the expected size from get_eld, not the copied size
* Add reverse map from a port number to the encoder
* Deferred invocation of get_eld from the eld_notify in HDA side
* A bit more code refactoring in HDA side
* Move audio component accessors to hdac_i915.c


Takashi Iwai (9):
  drm/i915: Remove superfluous NULL check
  drm/i915: Add get_eld audio component
  drm/i915: refactoring audio component functions
  drm/i915: Add reverse mapping between port and intel_encoder
  ALSA: hda - Split ELD update code from hdmi_present_sense()
  ALSA: hda - Use component ops for i915 HDMI/DP audio jack handling
  ALSA: hda - Do zero-clear in snd_hdmi_parse_eld() itself
  ALSA: hda - Skip ELD notification during PM process
  ALSA: hda - Move audio component accesses to hdac_i915.c

 drivers/gpu/drm/i915/i915_drv.h    |   2 +
 drivers/gpu/drm/i915/intel_audio.c |  59 ++++++---
 drivers/gpu/drm/i915/intel_ddi.c   |   1 +
 drivers/gpu/drm/i915/intel_dp.c    |   1 +
 drivers/gpu/drm/i915/intel_drv.h   |   1 +
 drivers/gpu/drm/i915/intel_hdmi.c  |   2 +
 include/drm/i915_component.h       |   6 +
 include/sound/hda_i915.h           |  14 +++
 sound/hda/hdac_i915.c              |  66 +++++++++++
 sound/pci/hda/hda_eld.c            |   1 +
 sound/pci/hda/patch_hdmi.c         | 237 +++++++++++++++++++++++++------------
 11 files changed, 294 insertions(+), 96 deletions(-)

-- 
2.6.3

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2015-12-04 16:52 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-01 16:09 [PATCH v2 0/9] Add get_eld audio component for i915/HD-audio Takashi Iwai
2015-12-01 16:09 ` [PATCH v2 1/9] drm/i915: Remove superfluous NULL check Takashi Iwai
2015-12-04 10:21   ` Daniel Vetter
2015-12-04 12:16   ` Ville Syrjälä
2015-12-04 12:54     ` Takashi Iwai
2015-12-04 13:07       ` Ville Syrjälä
2015-12-04 13:12         ` Takashi Iwai
2015-12-04 14:55           ` Daniel Vetter
2015-12-01 16:09 ` [PATCH v2 2/9] drm/i915: Add get_eld audio component Takashi Iwai
2015-12-04 10:21   ` Daniel Vetter
2015-12-04 10:49     ` Takashi Iwai
2015-12-04 12:10       ` Ville Syrjälä
2015-12-04 12:50         ` [Intel-gfx] " Takashi Iwai
2015-12-04 15:00       ` Daniel Vetter
2015-12-04 15:15         ` Takashi Iwai
2015-12-04 15:53           ` Daniel Vetter
2015-12-04 16:03             ` Takashi Iwai
2015-12-04 15:54           ` Daniel Vetter
2015-12-04 16:03             ` Takashi Iwai
2015-12-04 16:15               ` Daniel Vetter
2015-12-04 16:20                 ` Takashi Iwai
2015-12-04 16:27                   ` Takashi Iwai
2015-12-04 16:49                     ` Daniel Vetter
2015-12-04 16:52                       ` Takashi Iwai
2015-12-01 16:09 ` [PATCH v2 3/9] drm/i915: refactoring audio component functions Takashi Iwai
2015-12-01 16:09 ` [PATCH v2 4/9] drm/i915: Add reverse mapping between port and intel_encoder Takashi Iwai
2015-12-04 14:40   ` Takashi Iwai
2015-12-04 15:02     ` Daniel Vetter
2015-12-04 15:09       ` Takashi Iwai
2015-12-01 16:09 ` [PATCH v2 5/9] ALSA: hda - Split ELD update code from hdmi_present_sense() Takashi Iwai
2015-12-01 16:09 ` [PATCH v2 6/9] ALSA: hda - Use component ops for i915 HDMI/DP audio jack handling Takashi Iwai
2015-12-01 16:09 ` [PATCH v2 7/9] ALSA: hda - Do zero-clear in snd_hdmi_parse_eld() itself Takashi Iwai
2015-12-01 16:09 ` [PATCH v2 8/9] ALSA: hda - Skip ELD notification during PM process Takashi Iwai
2015-12-03 16:44   ` Takashi Iwai
2015-12-01 16:09 ` [PATCH v2 9/9] ALSA: hda - Move audio component accesses to hdac_i915.c Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox