1. 26 10月, 2018 1 次提交
  2. 25 10月, 2018 1 次提交
    • I
      drm/i915: Ensure proper HDA suspend/resume ordering with a device link · aef9f33b
      Imre Deak 提交于
      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: NImre Deak <imre.deak@intel.com>
      Reviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20181023144310.8272-1-imre.deak@intel.com
      aef9f33b
  3. 30 8月, 2018 1 次提交
  4. 20 8月, 2018 1 次提交
  5. 18 7月, 2018 1 次提交
    • T
      drm/i915: Split audio component to a generic type · ae891abe
      Takashi Iwai 提交于
      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: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      ae891abe
  6. 19 6月, 2018 2 次提交
  7. 18 6月, 2018 1 次提交
  8. 18 4月, 2018 2 次提交
  9. 06 4月, 2018 1 次提交
  10. 01 3月, 2018 1 次提交
  11. 15 2月, 2018 1 次提交
  12. 10 2月, 2018 1 次提交
  13. 01 2月, 2018 1 次提交
  14. 19 1月, 2018 1 次提交
  15. 15 11月, 2017 1 次提交
  16. 01 11月, 2017 2 次提交
  17. 10 10月, 2017 1 次提交
  18. 27 9月, 2017 1 次提交
  19. 20 9月, 2017 1 次提交
  20. 03 5月, 2017 2 次提交
  21. 09 2月, 2017 1 次提交
  22. 01 2月, 2017 3 次提交
  23. 25 1月, 2017 3 次提交
  24. 22 12月, 2016 1 次提交
  25. 05 12月, 2016 1 次提交
  26. 02 12月, 2016 2 次提交
  27. 24 11月, 2016 1 次提交
  28. 09 11月, 2016 1 次提交
  29. 26 10月, 2016 2 次提交
  30. 14 10月, 2016 1 次提交