]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
drm/i915/bdw: Fix DP_AUX_CH_CTL_TIME_OUT setting
authorJames Ausmus <james.ausmus@intel.com>
Thu, 12 Oct 2017 21:30:37 +0000 (14:30 -0700)
committerJani Nikula <jani.nikula@intel.com>
Fri, 13 Oct 2017 07:51:18 +0000 (10:51 +0300)
Per BSpec, 400us is "BDW+ Do not use this setting." - not just PORT_A.
Set BDW to 600us unconditionally.

v2:
-Split in to two patches (Rodrigo)

Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: James Ausmus <james.ausmus@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171012213037.4245-2-james.ausmus@intel.com
drivers/gpu/drm/i915/intel_dp.c

index 3f0d37fa833f2a71942f2eb76ff74e19ddc97759..4b65cf137f7960cf2391bf681287685508cd159e 100644 (file)
@@ -1007,7 +1007,7 @@ static uint32_t g4x_get_aux_send_ctl(struct intel_dp *intel_dp,
        else
                precharge = 5;
 
-       if (IS_BROADWELL(dev_priv) && intel_dig_port->port == PORT_A)
+       if (IS_BROADWELL(dev_priv))
                timeout = DP_AUX_CH_CTL_TIME_OUT_600us;
        else
                timeout = DP_AUX_CH_CTL_TIME_OUT_400us;