1. 01 3月, 2018 3 次提交
  2. 28 2月, 2018 4 次提交
  3. 27 2月, 2018 1 次提交
  4. 23 2月, 2018 4 次提交
  5. 13 2月, 2018 1 次提交
  6. 10 2月, 2018 1 次提交
  7. 02 2月, 2018 3 次提交
  8. 31 1月, 2018 5 次提交
  9. 20 1月, 2018 2 次提交
  10. 01 12月, 2017 3 次提交
  11. 30 11月, 2017 1 次提交
  12. 23 11月, 2017 1 次提交
  13. 17 11月, 2017 2 次提交
  14. 14 11月, 2017 1 次提交
  15. 10 11月, 2017 5 次提交
  16. 07 11月, 2017 1 次提交
  17. 01 11月, 2017 1 次提交
  18. 31 10月, 2017 1 次提交
    • V
      drm/i915: Stop frobbing with DDI encoder->type · 7e732cac
      Ville Syrjälä 提交于
      Currently the DDI encoder->type will change at runtime depending on
      what kind of hotplugs we've processed. That's quite bad since we can't
      really trust that that current value of encoder->type actually matches
      the type of signal we're trying to drive through it.
      
      Let's eliminate that problem by declaring that non-eDP DDI port will
      always have the encoder type as INTEL_OUTPUT_DDI. This means the code
      can no longer try to distinguish DP vs. HDMI based on encoder->type.
      We'll leave eDP as INTEL_OUTPUT_EDP, since it'll never change and
      there's a bunch of code that relies on that value to identify eDP
      encoders.
      
      We'll introduce a new encoder .compute_output_type() hook. This allows
      us to compute the full output_types before any encoder .compute_config()
      hooks get called, thus those hooks can rely on output_types being
      correct, which is useful for cloning on oldr platforms. For now we'll
      just look at the connector type and pick the correct mode based on that.
      In the future the new hook could be used to implement dynamic switching
      between LS and PCON modes for LSPCON.
      
      v2: Fix BXT/GLK PPS explosion with DSI/MST encoders
      v3: Avoid the PPS warn on pure HDMI/DVI DDI encoders by checking dp.output_reg
      v4: Rebase
      v5: Populate output_types in .get_config() rather than in the caller
      v5: Split out populating output_types in .get_config() (Maarten)
      
      Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20171027193128.14483-3-ville.syrjala@linux.intel.comReviewed-by: NMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
      7e732cac