1. 09 2月, 2011 1 次提交
  2. 14 1月, 2011 3 次提交
  3. 12 1月, 2011 3 次提交
    • N
      ALSA: hda: Disable 4/6 channels on some NVIDIA GPUs. · 393004b2
      Nitin Daga 提交于
      Added hardware constraint in patch_hdmi.c to disable
      channels 4/6 which are not supported by some older
      NVIDIA GPUs.
      Signed-off-by: NNitin Daga <ndaga@nvidia.com>
      Acked-By: NStephen Warren <swarren@nvidia.com>
      Cc: <stable@kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      393004b2
    • T
      ALSA: hda - Add static_hdmi_pcm option to HDMI codec parser · 0ebaa24c
      Takashi Iwai 提交于
      The dynamic PCM restriction based on ELD information may lead to the
      problem in some cases, e.g. when the receiver is turned off.  Then it
      may send a TV HDMI default such as channels = 2.  Since it's still
      plugged, the driver doesn't know whether it's the right configuration
      for future use.  Now, when an app opens the device at this moment,
      then turn on the receiver, the app still sends channels=2.
      
      The right solution is to implement some kind of notification and
      automatic re-open mechanism.  But, this is a goal far ahead.
      
      This patch provides a workaround for such a case by providing a new
      module option static_hdmi_pcm for snd-hda-codec-hdmi module.  When
      this is set to true, the driver doesn't change PCM parameters per
      ELD information.  For users who need the static configuration like
      the scenario above, set this to true.
      
      The parameter can be changed dynamically via sysfs, too.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      Cc: <stable@kernel.org>
      0ebaa24c
    • T
      ALSA: hda - Don't refer ELD when unplugged · 6661702f
      Takashi Iwai 提交于
      When unplugged, we shouldn't refer to ELD information for PCM open
      any more.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      Cc: <stable@kernel.org>
      6661702f
  4. 08 12月, 2010 2 次提交
  5. 05 12月, 2010 1 次提交
  6. 21 9月, 2010 2 次提交
    • J
      ALSA: hdmi - fix surround41 channel mapping · 9396d317
      Jerry Zhou 提交于
      Channel 2 and channel 3 were all wrongly mapped to HDMI slot 4.
      This shows up as a bug that one channel is "lost" when playing in
      surround41 mode.
      Signed-off-by: NJerry Zhou <jerry.zhou@intel.com>
      Signed-off-by: NWu Fengguang <fengguang.wu@intel.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      9396d317
    • W
      ALSA: hdmi - support infoframe for DisplayPort · 53d7d69d
      Wu Fengguang 提交于
      DisplayPort works mostly in the same way as HDMI, except that it expects
      a slightly different audio infoframe format.
      
      Citations from "HDA036-A: Display Port Support and HDMI Miscellaneous
      Corrections":
      
      The HDMI specification defines a data island packet with a header of 4
      bytes (3 bytes content + 1 byte ECC) and packet body of 32 bytes (28
      bytes content and 4 bytes ECC). Display Port specification on the other
      hand defines a data island packet (secondary data packet) with header of
      4 bytes protected by 4 bytes of parity, and data of theoretically up to
      1024 bytes with each 16 bytes chunk of data protected by 4 bytes of
      parity. Note that the ECC or parity bytes are not present in the DIP
      content populated by software and are hardware generated.
      
      It tests DP connection based on the ELD conn_type field, which will be
      set by the graphics driver and can be overriden manually by users
      through the /proc/asound/card0/eld* interface.
      
      The DP infoframe is tested OK on Intel SandyBridge/CougarPoint platform.
      Signed-off-by: NWu Fengguang <fengguang.wu@intel.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      53d7d69d
  7. 20 9月, 2010 1 次提交
    • T
      ALSA: hda - Merge all HDMI modules into the unified module · 84eb01be
      Takashi Iwai 提交于
      This patch merges all three patch_*hdmi variants to the single HDMI
      parser.  There is only one snd-hda-codec-hdmi module now.
      
      In this patch, the behavior of each parser isn't changed much.
      The old ATI parser still doesn't use the dynamic parser yet.
      In later patches, they'll be cleaned up.
      
      Also, this patch gets rid of the individual snd-hda-eld module and
      builds into snd-hda-codec-hdmi, since this is referred only from the
      HDMI parser.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      84eb01be
  8. 20 8月, 2010 1 次提交
  9. 13 8月, 2010 1 次提交
    • T
      ALSA: hda - Restrict PCM parameters per ELD information over HDMI · bbbe3390
      Takashi Iwai 提交于
      When a device is plugged over HDMI, it passes some information in ELD
      including the supported PCM parameters like formats, rates, channels.
      This patch adds the check to PCM open callback of HDMI streams so that
      only valid parameters the device supports are used.
      
      When no device is plugged, the parameters the codec supports are used;
      it's mostly all parameters the hardware can work.  This is for apps
      that are started before device plugging and do probing (e.g. a sound
      daemon), so that at least, probing would work even before the device
      plugging.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      bbbe3390
  10. 03 8月, 2010 2 次提交
  11. 28 7月, 2010 1 次提交
    • T
      ALSA: hda - Fix pin-detection of Nvidia HDMI · 38faddb1
      Takashi Iwai 提交于
      The behavior of Nvidia HDMI codec regarding the pin-detection unsol events
      is based on the old HD-audio spec, i.e. PD bit indicates only the update
      and doesn't show the current state.  Since the current code assumes the
      new behavior, the pin-detection doesn't work relialby with these h/w.
      
      This patch adds a flag for indicating the old spec, and fixes the issue
      by checking the pin-detection explicitly for such hardware.
      Tested-by: NWei Ni <wni@nvidia.com>
      Cc: <stable@kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      38faddb1
  12. 17 5月, 2010 1 次提交
  13. 08 3月, 2010 2 次提交
  14. 11 12月, 2009 4 次提交
  15. 18 11月, 2009 8 次提交
  16. 30 10月, 2009 7 次提交