1. 07 8月, 2017 2 次提交
  2. 04 8月, 2017 2 次提交
  3. 27 7月, 2017 1 次提交
  4. 18 7月, 2017 1 次提交
  5. 15 7月, 2017 1 次提交
    • S
      drm: handle HDMI 2.0 VICs in AVI info-frames · 0c1f528c
      Shashank Sharma 提交于
      HDMI 1.4b support the CEA video modes as per range of CEA-861-D (VIC 1-64).
      For any other mode, the VIC filed in AVI infoframes should be 0.
      HDMI 2.0 sinks, support video modes range as per CEA-861-F spec, which is
      extended to (VIC 1-107).
      
      This patch adds a bool input variable, which indicates if the connected
      sink is a HDMI 2.0 sink or not. This will make sure that we don't pass a
      HDMI 2.0 VIC to a HDMI 1.4 sink.
      
      This patch touches all drm drivers, who are callers of this function
      drm_hdmi_avi_infoframe_from_display_mode but to make sure there is
      no change in current behavior, is_hdmi2 is kept as false.
      
      In case of I915 driver, this patch:
      - checks if the connected display is HDMI 2.0.
      - HDMI infoframes carry one of this two type of information:
      	- VIC for 4K modes for HDMI 1.4 sinks
      	- S3D information for S3D modes
        As CEA-861-F has already defined VICs for 4K videomodes, this
        patch doesn't allow sending HDMI infoframes for HDMI 2.0 sinks,
        until the mode is 3D.
      
      Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
      Cc: Jose Abreu <jose.abreu@synopsys.com>
      Cc: Andrzej Hajda <a.hajda@samsung.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: Daniel Vetter <daniel.vetter@intel.com>
      
      PS: This patch touches a few lines in few files, which were
      already above 80 char, so checkpatch gives 80 char warning again.
      - gpu/drm/omapdrm/omap_encoder.c
      - gpu/drm/i915/intel_sdvo.c
      
      V2: Rebase, Added r-b from Andrzej
      V3: Addressed review comment from Ville:
      	- Do not send VICs in both AVI-IF and HDMI-IF
      	  send only one of it.
      V4: Rebase
      V5: Added r-b from Neil.
          Addressed review comments from Ville
          - Do not block HDMI vendor IF, instead check for VIC while
            handling AVI infoframes
      V6: Rebase
      V7: Rebase
      Reviewed-by: NAndrzej Hajda <a.hajda@samsung.com>
      Reviewed-by: NNeil Armstrong <narmstrong@baylibre.com>
      Signed-off-by: NShashank Sharma <shashank.sharma@intel.com>
      Link: http://patchwork.freedesktop.org/patch/msgid/1499960000-9232-2-git-send-email-shashank.sharma@intel.comSigned-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      0c1f528c
  6. 06 7月, 2017 10 次提交
  7. 29 6月, 2017 2 次提交
    • J
      drm: adv7511_audio: Add .get_dai_id callback to map port number to dai id · 7204e976
      John Stultz 提交于
      ALSA SoC needs to know connected DAI ID for probing. Using
      the new audio-card-graph approach, ports/endpoints are used
      to describe how the links are connected. Unfortunately, since
      ports/endpoints are used as well for video linkages, there
      are some issues mixing the port ids to the two (video and
      audio) namespaces.
      
      To solve this issue, this patch adds new .get_dai_id callback
      on hdmi_codec_ops.
      
      The will assume that HDMI audio out will be connected to
      reg = <2>. This will then be remapped to the ALSA SoC side will
      as DAI 0. Allowing the adv7511's hdmi audio support to be used
      with the audio-card-graph.
      
      Credit to Kuninori Morimoto who's patch to dw-hdmi-i2s-audio.c
      was what this was mostly copy-pasted from.
      
      Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Cc: Archit Taneja <architt@codeaurora.org>
      Cc: Mark Brown <broonie@kernel.org>
      Cc: Rob Herring <robh+dt@kernel.org>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Lars-Peter Clausen <lars@metafoo.de>
      Cc: Linux-ALSA <alsa-devel@alsa-project.org>
      Cc: dri-devel@lists.freedesktop.org
      Signed-off-by: NJohn Stultz <john.stultz@linaro.org>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      7204e976
    • K
      drm: dw-hdmi-i2s: add .get_dai_id callback for ALSA SoC · e3839bd6
      Kuninori Morimoto 提交于
      ALSA SoC needs to know connected DAI ID for probing.
      It is not a big problem if device/driver was only for sound,
      but getting DAI ID will be difficult if device includes both
      Video/Sound, like HDMI.
      To solve this issue, this patch adds new .get_dai_id callback
      on hdmi_codec_ops.
      dw-hdmi-i2s will assume that HDMI sound will be connected
      to reg = <2>. Then, ALSA SoC side will recognized it as DAI 0
      
      	ports {
      		#address-cells = <1>;
      		#size-cells = <0>;
      		port@0 {
      			reg = <0>;
      			/* HDMI Video IN */
      		};
      		port@1 {
      			reg = <1>;
      			/* HDMI OUT */
      		};
      		port@2 {
      			reg = <2>;
      			/* HDMI Sound IN */
      		};
      	};
      Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Acked-by: NArchit Taneja <architt@codeaurora.org>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      e3839bd6
  8. 21 6月, 2017 1 次提交
  9. 12 6月, 2017 1 次提交
  10. 05 6月, 2017 2 次提交
  11. 30 5月, 2017 1 次提交
  12. 16 5月, 2017 1 次提交
  13. 20 4月, 2017 2 次提交
  14. 13 4月, 2017 1 次提交
  15. 10 4月, 2017 1 次提交
  16. 08 4月, 2017 4 次提交
  17. 07 4月, 2017 3 次提交
  18. 06 4月, 2017 2 次提交
  19. 04 4月, 2017 2 次提交