]> 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)
commit5f7dc6bdc5e3be23d41ce420c61c329e51a11898
treeb3c75eeae9e03509b9271ef931d849696c9d1af0
parenta8859ecbdfc325942a456884c9be71c7a34ecf8c
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