From: Ville Syrjälä Date: Fri, 18 Sep 2015 17:03:35 +0000 (+0300) Subject: drm/i915: s/DDI_BUF_CTL_A/DDI_BUF_CTL(PORT_A)/ X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=77179400cdf61f189fecb379e23347027b9ea68d;p=openwrt%2Fstaging%2Fblogic.git drm/i915: s/DDI_BUF_CTL_A/DDI_BUF_CTL(PORT_A)/ Signed-off-by: Ville Syrjälä Reviewed-by: Jani Nikula Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 91dba4f65d2b..7f3c482be1f4 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -13989,7 +13989,7 @@ static void intel_setup_outputs(struct drm_device *dev) * On SKL pre-D0 the strap isn't connected, so we assume * it's there. */ - found = I915_READ(DDI_BUF_CTL_A) & DDI_INIT_DISPLAY_DETECTED; + found = I915_READ(DDI_BUF_CTL(PORT_A)) & DDI_INIT_DISPLAY_DETECTED; /* WaIgnoreDDIAStrap: skl */ if (found || IS_SKYLAKE(dev)) intel_ddi_init(dev, PORT_A);