drm/i915: s/DDI_BUF_CTL_A/DDI_BUF_CTL(PORT_A)/

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Ville Syrjälä 2015-09-18 20:03:35 +03:00 committed by Daniel Vetter
parent e66eb81de2
commit 77179400cd

View File

@ -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 * On SKL pre-D0 the strap isn't connected, so we assume
* it's there. * 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 */ /* WaIgnoreDDIAStrap: skl */
if (found || IS_SKYLAKE(dev)) if (found || IS_SKYLAKE(dev))
intel_ddi_init(dev, PORT_A); intel_ddi_init(dev, PORT_A);