1. 23 9月, 2016 1 次提交
    • P
      drm/i915/dp: DP audio API changes for MST · f9318941
      Pandiyan, Dhinakaran 提交于
      DP MST provides the capability to send multiple video and audio streams
      through a single port. This requires the API's between i915 and audio
      drivers to distinguish between multiple audio capable displays that can be
      connected to a port. Currently only the port identity is shared in the
      APIs. This patch adds support for MST with an additional parameter
      'int pipe'. The existing parameter 'port' does not change it's meaning.
      
      pipe =
      	MST	: display pipe that the stream originates from
      	Non-MST	: -1
      
      Affected APIs:
      struct i915_audio_component_ops
      -       int (*sync_audio_rate)(struct device *, int port, int rate);
      +	int (*sync_audio_rate)(struct device *, int port, int pipe,
      +	     int rate);
      
      -       int (*get_eld)(struct device *, int port, bool *enabled,
      -                       unsigned char *buf, int max_bytes);
      +       int (*get_eld)(struct device *, int port, int pipe,
      +		       bool *enabled, unsigned char *buf, int max_bytes);
      
      struct i915_audio_component_audio_ops
      -       void (*pin_eld_notify)(void *audio_ptr, int port);
      +       void (*pin_eld_notify)(void *audio_ptr, int port, int pipe);
      
      This patch makes dummy changes in the audio drivers (thanks Libin) for
      build to succeed. The audio side drivers will send the right 'pipe' values
      for MST in patches that will follow.
      
      v2:
      Renamed the new API parameter from 'dev_id' to 'pipe'. (Jim, Ville)
      Included Asoc driver API compatibility changes from Jeeja.
      Added WARN_ON() for invalid pipe in get_saved_encoder(). (Takashi)
      Added comment for av_enc_map[] definition. (Takashi)
      
      v3:
      Fixed logic error introduced while renaming 'dev_id' as 'pipe' (Ville)
      Renamed get_saved_encoder() to get_saved_enc() to reduce line length
      
      v4:
      Rebased.
      Parameter check for pipe < -1 values in get_saved_enc() (Ville)
      Switched to for_each_pipe() in get_saved_enc() (Ville)
      Renamed 'pipe' to 'dev_id' in audio side code (Takashi)
      
      v5:
      Included a comment for the dev_id arg. (Libin)
      Signed-off-by: NDhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
      Reviewed-by: NTakashi Iwai <tiwai@suse.de>
      Reviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Link: http://patchwork.freedesktop.org/patch/msgid/1474488168-2343-1-git-send-email-dhinakaran.pandiyan@intel.com
      f9318941
  2. 12 7月, 2016 2 次提交
  3. 27 6月, 2016 1 次提交
    • V
      ASoC: hdac_hdmi: Increase loglevel of hex dump printed · 3cb7cec1
      Vedang Patel 提交于
      The hdac_hdmi codec driver prints the ELD information everytime an
      external monitor is connected. Make it so that the information is only
      printed when someone trying to debug the driver explicitly enables it.
      
      print_hex_dump_bytes (which just calls print_hex_dump) uses
      printk(KERN_DEBUG,... which is different from dev_dbg used elsewhere in
      the driver: it's always enabled at compile-time. Change it to
      print_hex_dump_debug for logging consistency.
      Signed-off-by: NVedang Patel <vedang.patel@intel.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      3cb7cec1
  4. 31 5月, 2016 1 次提交
  5. 17 5月, 2016 1 次提交
  6. 13 5月, 2016 1 次提交
  7. 04 5月, 2016 1 次提交
  8. 29 4月, 2016 3 次提交
  9. 03 4月, 2016 2 次提交
  10. 12 3月, 2016 1 次提交
  11. 10 3月, 2016 1 次提交
  12. 23 2月, 2016 2 次提交
  13. 19 2月, 2016 4 次提交
  14. 17 2月, 2016 1 次提交
  15. 16 2月, 2016 8 次提交
  16. 11 1月, 2016 1 次提交
  17. 08 1月, 2016 2 次提交
  18. 06 1月, 2016 1 次提交
  19. 04 1月, 2016 1 次提交
  20. 02 12月, 2015 1 次提交
  21. 23 11月, 2015 1 次提交
  22. 21 11月, 2015 3 次提交