BackMerge tag 'v4.12-rc5' into drm-next
authorDave Airlie <airlied@redhat.com>
Fri, 16 Jun 2017 03:58:27 +0000 (13:58 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 16 Jun 2017 03:58:27 +0000 (13:58 +1000)
Linux 4.12-rc5 for nouveau fixes

29 files changed:
1  2 
MAINTAINERS
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c
drivers/gpu/drm/drm_atomic_helper.c
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/i915_pci.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_dp_mst.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_engine_cs.c
drivers/gpu/drm/i915/intel_fbc.c
drivers/gpu/drm/i915/intel_pm.c
drivers/gpu/drm/i915/intel_sprite.c
drivers/gpu/drm/i915/intel_uc.h
drivers/gpu/drm/meson/meson_drv.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c
drivers/gpu/drm/msm/msm_gem.c
drivers/gpu/drm/nouveau/nouveau_drm.c
drivers/gpu/drm/nouveau/nouveau_drv.h
drivers/gpu/drm/nouveau/nv50_display.c
drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
drivers/gpu/drm/rockchip/rockchip_drm_vop.c
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
drivers/gpu/ipu-v3/ipu-common.c
include/drm/drm_dp_helper.h

diff --cc MAINTAINERS
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index f80db2ccd92fa040e97e8478ed2ec2097afd0b92,1a78363c7f4a9e974edbc4e4f31ec7d64d26b6ad..f940e486a62a5791d8c5b5c65e472fd7eca38c16
@@@ -383,9 -387,9 +383,8 @@@ static const struct intel_device_info i
        .has_rc6 = 1, \
        .has_dp_mst = 1, \
        .has_gmbus_irq = 1, \
 -      .has_hw_contexts = 1, \
        .has_logical_ring_contexts = 1, \
        .has_guc = 1, \
-       .has_decoupled_mmio = 1, \
        .has_aliasing_ppgtt = 1, \
        .has_full_ppgtt = 1, \
        .has_full_48bit_ppgtt = 1, \
Simple merge
index 4a6feb6a69bd790322f244aeceef306284faf3cb,fc691b8b317cf3924a98adfb51ca1183a6f2a6b3..de4b1f2d367d4c6593fe6d0bc910f4ae59a8f188
@@@ -1654,13 -1587,16 +1634,15 @@@ intel_dp_compute_config(struct intel_en
        /* Conveniently, the link BW constants become indices with a shift...*/
        int min_clock = 0;
        int max_clock;
 -      int link_rate_index;
        int bpp, mode_rate;
        int link_avail, link_clock;
 -      int common_rates[DP_MAX_SUPPORTED_RATES] = {};
        int common_len;
        uint8_t link_bw, rate_select;
+       bool reduce_m_n = drm_dp_has_quirk(&intel_dp->desc,
+                                          DP_DPCD_QUIRK_LIMITED_M_N);
  
 -      common_len = intel_dp_common_rates(intel_dp, common_rates);
 +      common_len = intel_dp_common_len_rate_limit(intel_dp,
 +                                                  intel_dp->max_link_rate);
  
        /* No common link rates between source and sink */
        WARN_ON(common_len <= 0);
Simple merge
index bd500977b3fc63bb02053b3ed7efcb037c0c06e4,f630c7af50205540b64481d9c3ee559fbdfc8f7f..71f94a01aedd6d311a57b0bed96468e409d77807
@@@ -981,22 -941,15 +973,22 @@@ struct intel_dp 
        uint8_t psr_dpcd[EDP_PSR_RECEIVER_CAP_SIZE];
        uint8_t downstream_ports[DP_MAX_DOWNSTREAM_PORTS];
        uint8_t edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE];
 -      /* sink rates as reported by DP_SUPPORTED_LINK_RATES */
 -      uint8_t num_sink_rates;
 +      /* source rates */
 +      int num_source_rates;
 +      const int *source_rates;
 +      /* sink rates as reported by DP_MAX_LINK_RATE/DP_SUPPORTED_LINK_RATES */
 +      int num_sink_rates;
        int sink_rates[DP_MAX_SUPPORTED_RATES];
 -      /* Max lane count for the sink as per DPCD registers */
 -      uint8_t max_sink_lane_count;
 -      /* Max link BW for the sink as per DPCD registers */
 -      int max_sink_link_bw;
 +      bool use_rate_select;
 +      /* intersection of source and sink rates */
 +      int num_common_rates;
 +      int common_rates[DP_MAX_SUPPORTED_RATES];
 +      /* Max lane count for the current link */
 +      int max_link_lane_count;
 +      /* Max rate for the current link */
 +      int max_link_rate;
        /* sink or branch descriptor */
-       struct intel_dp_desc desc;
+       struct drm_dp_desc desc;
        struct drm_dp_aux aux;
        enum intel_display_power_domain aux_power_domain;
        uint8_t train_set[4];
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge