1. 10 2月, 2018 1 次提交
  2. 02 2月, 2018 1 次提交
  3. 30 1月, 2018 1 次提交
  4. 24 1月, 2018 1 次提交
  5. 20 1月, 2018 1 次提交
  6. 19 1月, 2018 1 次提交
  7. 31 10月, 2017 1 次提交
  8. 21 10月, 2017 1 次提交
    • R
      drm/i915/cnl: Map VBT DDC Pin to BSpec DDC Pin. · 9c3b2689
      Rodrigo Vivi 提交于
      Starting on CNL we now need to map VBT DDC Pin to
      BSPec DDC Pin values. Not a direct translation anymore.
      
      According to VBT
      Block 2 (General Bytes Definition)
      DDC Bus
      
      +----------+-----------+--------------------+
      | DDI Type | VBT Value | Bspec Mapped Value |
      +----------+-----------+--------------------+
      | DDI-B    | 0x1       | 0x1                |
      | DDI-C    | 0x2       | 0x2                |
      | DDI-D    | 0x3       | 0x4                |
      | DDI-F    | 0x4       | 0x3                |
      +----------+-----------+--------------------+
      
      v2: Move defines to a better place.
          This is actually CNL_PCH not CNL only.
      v3: Accepting Ville's suggestions: enums and array to
          to make this future proof.
      v4: Protect the array access as Ville suggested.
          Also accepting all Jani's suggestions:
          	      - use already defined gmbus pin definitions.
      	      - use map_ddc_pin for disambiguation.
      	      - Add /* sic */ comment on inverted values
      	      	so people can easily see it it nos a mistake
      		we have the map 3 -> 4 and 4 -> 3 :/
      
      Cc: Jani Nikula <jani.nikula@intel.com>
      Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
      Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
      Cc: Clinton Taylor <clinton.a.taylor@intel.com>
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Reviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20171020172641.16029-1-rodrigo.vivi@intel.com
      9c3b2689
  9. 20 10月, 2017 2 次提交
  10. 12 10月, 2017 1 次提交
  11. 10 10月, 2017 8 次提交
  12. 27 9月, 2017 1 次提交
  13. 25 9月, 2017 1 次提交
  14. 22 9月, 2017 1 次提交
  15. 28 8月, 2017 2 次提交
  16. 25 8月, 2017 4 次提交
  17. 16 8月, 2017 2 次提交
  18. 08 7月, 2017 1 次提交
  19. 14 3月, 2017 1 次提交
  20. 13 3月, 2017 1 次提交
  21. 07 1月, 2017 1 次提交
  22. 23 12月, 2016 1 次提交
  23. 22 12月, 2016 1 次提交
  24. 12 12月, 2016 1 次提交
  25. 02 12月, 2016 1 次提交
  26. 16 11月, 2016 1 次提交
  27. 14 11月, 2016 1 次提交
    • V
      drm/i915: Assume non-DP++ port if dvo_port is HDMI and there's no AUX ch specified in the VBT · 7a17995a
      Ville Syrjälä 提交于
      My heuristic for detecting type 1 DVI DP++ adaptors based on the VBT
      port information apparently didn't survive the reality of buggy VBTs.
      In this particular case we have a machine with a natice HDMI port, but
      the VBT tells us it's a DP++ port based on its capabilities.
      
      The dvo_port information in VBT does claim that we're dealing with a
      HDMI port though, but we have other machines which do the same even
      when they actually have DP++ ports. So that piece of information alone
      isn't sufficient to tell the two apart.
      
      After staring at a bunch of VBTs from various machines, I have to
      conclude that the only other semi-reliable clue we can use is the
      presence of the AUX channel in the VBT. On this particular machine
      AUX channel is specified as zero, whereas on some of the other machines
      which listed the DP++ port as HDMI have a non-zero AUX channel.
      
      I've also seen VBTs which have dvo_port a DP but have a zero AUX
      channel. I believe those we need to treat as DP ports, so we'll limit
      the AUX channel check to just the cases where dvo_port is HDMI.
      
      If we encounter any more serious failures with this heuristic I think
      we'll have to have to throw it out entirely. But that could mean that
      there is a risk of type 1 DVI dongle users getting greeted by a
      black screen, so I'd rather not go there unless absolutely necessary.
      
      v2: Remove the duplicate PORT_A check (Daniel)
          Fix some typos in the commit message
      
      Cc: Daniel Otero <daniel.otero@outlook.com>
      Cc: stable@vger.kernel.org
      Tested-by: NDaniel Otero <daniel.otero@outlook.com>
      Fixes: d6199256 ("drm/i915: Determine DP++ type 1 DVI adaptor presence based on VBT")
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97994Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Link: http://patchwork.freedesktop.org/patch/msgid/1478884464-14251-1-git-send-email-ville.syrjala@linux.intel.comReviewed-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      7a17995a