[PATCH 0/2] Audio component support for radeon and nouveau

Takashi Iwai tiwai at suse.de
Mon Jul 22 14:38:13 UTC 2019


this is a patchset to add the support for HDMI/DP audio notification
via drm_audio_component framework on radeon and nouveau drivers.
The notification mechanism works for long time on i915, and now AMDGPU
patch is floating around.  This fills the rest gap, the support for
remaining radeon and nouveau drivers.

The implementation is rather simple, and it just adds the hook for
notification and ELD retrieval.  The patch for radeon is basically a
respin of my previous RFC patch.

The counterpart change in HD-audio side has been already merged in
sound.git tree for 5.4 kernel.  The persistent branch,
topic/hda-acomp-base, is provided there, so that you can pull into
yours freely:
  git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git topic/hda-acomp-base

This patchset itself is almost harmless without the HD-audio side
changes (IOW, it doesn't help anything else, either :)




Takashi Iwai (2):
  drm/radeon: Add HD-audio component notifier support
  drm/nouveau: Add HD-audio component notifier support

 drivers/gpu/drm/Kconfig                 |   1 +
 drivers/gpu/drm/nouveau/Kconfig         |   1 +
 drivers/gpu/drm/nouveau/dispnv50/disp.c | 111 ++++++++++++++++++++++++++++++++
 drivers/gpu/drm/nouveau/nouveau_drv.h   |   7 ++
 drivers/gpu/drm/radeon/radeon.h         |   3 +
 drivers/gpu/drm/radeon/radeon_audio.c   |  92 ++++++++++++++++++++++++++
 6 files changed, 215 insertions(+)


More information about the dri-devel mailing list