1. 26 Oct, 2018 1 commit
  2. 25 Oct, 2018 1 commit
    • Imre Deak's avatar
      drm/i915: Ensure proper HDA suspend/resume ordering with a device link · aef9f33b
      Imre Deak authored
      
      
      In order to ensure that our system suspend and resume callbacks are
      called in the correct order wrt. those of the HDA driver add a device
      link to the HDA driver during audio component binding time. With i915 as
      the supplier and HDA as the consumer the PM framework will guarantee
      the HDA->i915 suspend (and shutdown) and i915->HDA resume order.
      
      Atm, the lack of this ordering is not a problem, since all the i915
      suspend/resume steps that need to be ordered wrt. the HDA driver's
      suspend/resume steps are separated out to the i915
      suspend_late/resume_early hooks. That will change in a follow-up
      patchset where we'll need this ordering guarantee for steps that are in
      the i915 suspend/resume hooks (and which can't be moved to
      suspend_late/resume_early for other reasons). So this patch is a
      preparation for that follow-up patchset.
      
      The change also allows us to move towards removing the i915
      suspend_late/resume_early hooks alltogether.
      
      Since we only need to ensure the ordering during suspend/resume and not
      during driver probing create the link with DL_FLAG_STATELESS. Since the
      probe time ordering has to be optional we use the component framework
      for that.
      
      Similarly for runtime PM we depend on the audio driver getting/putting
      an i915 runtime PM reference whenever it needs it (along with the proper
      i915 display power domain) via the audio component ops get_power /
      put_power hooks. So we create the device link without
      DL_FLAG_PM_RUNTIME.
      
      v2: (Ville)
      - Add a note to the commit message about not using the device link
        runtime PM ordering.
      - Handle the error return from device_link_add().
      
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Cc: Takashi Iwai <tiwai@suse.de>
      Cc: Lukas Wunner <lukas@wunner.de>
      Signed-off-by: default avatarImre Deak <imre.deak@intel.com>
      Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20181023144310.8272-1-imre.deak@intel.com
      aef9f33b
  3. 29 Aug, 2018 1 commit
  4. 20 Aug, 2018 1 commit
  5. 17 Jul, 2018 1 commit
    • Takashi Iwai's avatar
      drm/i915: Split audio component to a generic type · ae891abe
      Takashi Iwai authored
      
      
      For allowing other drivers to use the DRM audio component, rename the
      i915_audio_component_* with drm_audio_component_*, and split the
      generic part into drm_audio_component.h.  The i915 specific stuff
      remains in struct i915_audio_component, which contains
      drm_audio_component as the base.
      
      The license of drm_audio_component.h is kept to MIT as same as the the
      original i915_component.h.
      
      This is a preliminary change for further development, and no
      functional changes by this patch itself, merely code-split and
      renames.
      
      v1->v2: Use SPDX for drm_audio_component.h, fix remaining i915
              argument in drm_audio_component.h
      Reviewed-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      ae891abe
  6. 19 Jun, 2018 1 commit
  7. 18 Jun, 2018 2 commits
  8. 18 Apr, 2018 2 commits
  9. 06 Apr, 2018 1 commit
  10. 28 Feb, 2018 1 commit
  11. 15 Feb, 2018 1 commit
  12. 09 Feb, 2018 1 commit
  13. 01 Feb, 2018 1 commit
  14. 19 Jan, 2018 1 commit
  15. 15 Nov, 2017 1 commit
  16. 31 Oct, 2017 2 commits
  17. 10 Oct, 2017 1 commit
  18. 26 Sep, 2017 1 commit
  19. 20 Sep, 2017 1 commit
  20. 03 May, 2017 2 commits
  21. 08 Feb, 2017 1 commit
  22. 01 Feb, 2017 3 commits
  23. 25 Jan, 2017 2 commits
  24. 24 Jan, 2017 1 commit
  25. 22 Dec, 2016 1 commit
  26. 05 Dec, 2016 1 commit
  27. 02 Dec, 2016 2 commits
  28. 24 Nov, 2016 1 commit
  29. 09 Nov, 2016 1 commit
  30. 26 Oct, 2016 2 commits
  31. 14 Oct, 2016 1 commit