drm/i915: Check for IVB instead of gen7 when we think about IVB CPU eDP
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 17 May 2018 17:03:07 +0000 (20:03 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 18 May 2018 14:23:40 +0000 (17:23 +0300)
commitb752e995829e3644015300103a31c48de2634169
treeb3c75eeae9e03509b9271ef931d849696c9d1af0
parent4718a365cf12094ed131089518003ac7ecb66743
drm/i915: Check for IVB instead of gen7 when we think about IVB CPU eDP

Almost all of the GEN7 checks in the DP code are actually looking for
IVB. HSW doesn't even take these codepaths, and VLV is excluded on
account of not having port A. So let's change the checks to IS_IVB to
make the code less confusing.

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180517170309.28630-3-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_dp.c