]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9c662939a41813310f037011f37ba3b65c9fa9f6
treeb3c75eeae9e03509b9271ef931d849696c9d1af0
parent61b7e2cd2342884ca7e80533e6a8c9016fe5d95a
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