1. 29 Jan, 2020 1 commit
    • Takashi Iwai's avatar
      drm/nouveau: Add HD-audio component notifier support · 742db30c
      Takashi Iwai authored
      This patch adds the support for the notification of HD-audio hotplug
      via the already existing drm_audio_component framework.  This allows
      us more reliable hotplug notification and ELD transfer without
      accessing HD-audio bus; it's more efficient, and more importantly, it
      works without waking up the runtime PM.
      
      The implementation is rather simplistic: nouveau driver provides the
      get_eld ops for HD-audio, and it notifies the audio hotplug via
      pin_eld_notify callback upon each nv50_audio_enable() and _disable()
      call.  As the HD-audio pin assignment seems corresponding to the CRTC,
      the crtc->index number is passed directly as the zero-based port
      number.
      
      The bind and unbind callbacks handle the device-link so that it
      assures the PM call order.
      
      Link: https://lore.kernel.org/r/20190722143815.7339-3-tiwai@suse.deReviewed-by: default avatarLyude Paul <lyude@redhat.com>
      Cc: Jaroslav Kysela <perex@perex.cz>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      742db30c
  2. 22 Jan, 2020 6 commits
  3. 15 Jan, 2020 33 commits