1. 29 1月, 2013 1 次提交
  2. 09 1月, 2013 1 次提交
  3. 19 12月, 2012 1 次提交
  4. 12 12月, 2012 4 次提交
  5. 07 12月, 2012 2 次提交
  6. 05 12月, 2012 1 次提交
  7. 04 12月, 2012 1 次提交
    • T
      ALSA: hda - Fix yet another race of vga_switcheroo registration · f4c482a4
      Takashi Iwai 提交于
      The recent fix for vga switcheroo race in commit 128960a9 opened yet
      another race.  At the time the audio driver starts probing, user may
      turn off D-GPU off.  But at this moment, the audio driver still
      doesn't register the vga switcheroo client, thus the switching isn't
      notified.  Then the hardware gets off out of sudden, resulting in
      invalid reads and lots of "spurious response" error messages.
      
      For solving this situation, the following changes have been done in
      this patch:
      - Move again vga switcheroo registration to the very early stage of
        the probing; this also requires to set pci drvdata properly before
        registration
      - Introduce the completion to synchronize the driver probe at vga
        switcheroo callbacks; this assures that the whole probing finished
        before executing the callbacks
      Reported-by: NDaniel J Blueman <daniel@quora.org>
      Tested-by: NDaniel J Blueman <daniel@quora.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      f4c482a4
  8. 23 11月, 2012 1 次提交
    • T
      ALSA: hda - Don't release firmware when CONFIG_PM is set · e39ae856
      Takashi Iwai 提交于
      The new firmware code tries to re-read the formerly read firmware
      files before suspend.  Thus it's wiser to keep the "patch" firmware in
      the driver for avoiding this unnecessary re-reading.
      
      Of course, this will consume a bit of memory for unused stuff, but
      the patch fw is supposed to be fairly small, so it's more benefit in
      the end.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      e39ae856
  9. 20 11月, 2012 1 次提交
  10. 04 11月, 2012 1 次提交
  11. 30 10月, 2012 1 次提交
  12. 23 10月, 2012 1 次提交
  13. 22 10月, 2012 1 次提交
  14. 17 10月, 2012 2 次提交
  15. 15 10月, 2012 3 次提交
  16. 10 10月, 2012 1 次提交
    • T
      ALSA: hda - Remove AZX_DCAPS_POSFIX_COMBO · 7fd5b1eb
      Takashi Iwai 提交于
      It turned out that the COMBO position fix mode is rather more harmful,
      and it got reverted (with the replacement of runtime->delay
      calculation) recently.  Hence we can get rid of AZX_DCAPS_POSFIX_COMBO
      as well.
      
      It's still possible to pass this mode via position_fix module option,
      in case where this really helps on weird machines (who knows).
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      7fd5b1eb
  17. 22 9月, 2012 3 次提交
  18. 17 9月, 2012 1 次提交
  19. 13 9月, 2012 2 次提交
  20. 11 9月, 2012 2 次提交
  21. 30 8月, 2012 2 次提交
    • T
      ALSA: hda - Clean up CONFIG_SND_HDA_POWER_SAVE · 83012a7c
      Takashi Iwai 提交于
      CONFIG_SND_HDA_POWER_SAVE is no longer an experimental feature and its
      behavior can be well controlled via the default value and module
      parameter.  Let's just replace it with the standard CONFIG_PM.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      83012a7c
    • T
      ALSA: hda - Fix runtime PM leftover refcounts · 68467f51
      Takashi Iwai 提交于
      When the HD-audio is removed, it leaves the refcounts when codecs are
      powered up (usually yes) in the destructor.  For fixing the unbalance,
      and cleaning up the code mess, this patch changes the following:
      - change pm_notify callback to take the explicit power on/off state,
      - check of D3 stop-clock and keep_link_on flags is moved to the caller
        side,
      - call pm_notify callback in snd_hda_codec_new() and snd_hda_codec_free()
        so that the refcounts are proprely updated.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      68467f51
  22. 24 8月, 2012 1 次提交
  23. 23 8月, 2012 1 次提交
    • M
      ALSA: hda - add runtime PM support · b8dfc462
      Mengdong Lin 提交于
      Runtime PM can bring more power saving:
      - When the controller is suspended, its parent device will also have a chance
        to suspend.
      - PCI subsystem can choose the lowest power state the controller can signal
        wake up from. This state can be D3cold on platforms with ACPI PM support.
      And runtime PM can provide a gerneral sysfs interface for a system policy
      manager.
      
      Runtime PM support is based on current HDA power saving implementation. The user
      can enable runtime PM on platfroms that provide acceptable latency on transition
      from D3 to D0.
      
      Details:
      - When both power saving and runtime PM are enabled:
        -- If a codec supports 'stop-clock' in D3, it will request suspending the
           controller after it enters D3 and request resuming the controller before
           back to D0. Thus the controller will be suspended only when all codecs are
           suspended and support stop-clock in D3.
        -- User IO operations and HW wakeup signal can resume the controller back to
           D0.
      - If runtime PM is disabled, power saving just works as before.
      - If power saving is disabled, the controller won't be suspended because the
        power usage counter can never be 0.
      
      More about 'stop-clock' feature:
      If a codec can support targeted pass-through operations in D3 state when there
      is no BCLK present on the link, it will set CLKSTOP flag in the supported power
      states and report PS-ClkStopOk when entering D3 state. Please refer to HDA spec
      section 7.3.3.10 Power state and 7.3.4.12 Supported Power State.
      
      [Fixed CONFIG_PM_RUNTIME dependency in hda_intel.c by tiwai]
      Signed-off-by: NMengdong Lin <mengdong.lin@intel.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      b8dfc462
  24. 20 8月, 2012 1 次提交
  25. 15 8月, 2012 1 次提交
  26. 10 8月, 2012 1 次提交
  27. 09 8月, 2012 2 次提交