diff options
author | Jani Nikula <jani.nikula@intel.com> | 2015-10-20 15:22:01 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2015-10-21 11:25:01 +0300 |
commit | fffda3f4fb49d2874055b10512045e9fd56b90ae (patch) | |
tree | 89b660f95ae9cbcb591c91fe35900947721bdfb8 /drivers/gpu/drm/i915/intel_ddi.c | |
parent | ef712bb4b700c60a047350d3747563a0bbcc3b13 (diff) | |
download | op-kernel-dev-fffda3f4fb49d2874055b10512045e9fd56b90ae.zip op-kernel-dev-fffda3f4fb49d2874055b10512045e9fd56b90ae.tar.gz |
drm/i915/bxt: add revision id for A1 stepping and use it
Prefer inclusive ranges for revision checks rather than "below B0". Per
specs A2 is not used, so revid <= A1 matches revid < B0.
Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1445343722-3312-2-git-send-email-jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ddi.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_ddi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c index 824b863..da65b66 100644 --- a/drivers/gpu/drm/i915/intel_ddi.c +++ b/drivers/gpu/drm/i915/intel_ddi.c @@ -3247,7 +3247,7 @@ void intel_ddi_init(struct drm_device *dev, enum port port) * On BXT A0/A1, sw needs to activate DDIA HPD logic and * interrupts to check the external panel connection. */ - if (IS_BROXTON(dev_priv) && (INTEL_REVID(dev) < BXT_REVID_B0) + if (IS_BROXTON(dev_priv) && (INTEL_REVID(dev) <= BXT_REVID_A1) && port == PORT_B) dev_priv->hotplug.irq_port[PORT_A] = intel_dig_port; else |