Skip to contentSkip to conversation

FAILED: patch "[PATCH] drm/i915: don't warn about Skylake CPU - KabyPoint PCH combo" failed to apply to 4.8-stable tree

PATCH [email protected] 1 participant 1 message Feb 10, 2017

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

The patch below does not apply to the 4.8-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.

thanks,

greg k-h

------------------ original commit in Linus's tree ------------------

Quoted 1 line

From 853277481178fdf14d1a4e9e6ac7174d6046176f Mon Sep 17 00:00:00 2001

From: Jani Nikula <[email protected]>
Date: Wed, 1 Feb 2017 15:46:09 +0200
Subject: [PATCH] drm/i915: don't warn about Skylake CPU - KabyPoint PCH combo

Apparently there are machines out there with Skylake CPU and KabyPoint PCH. Judging from our driver code, there doesn't seem to be any code paths that would do anything different between SunrisePoint and KabyPoint PCHs, so it would seem okay to accept the combo without warnings.

Fixes 22dea0be50b2 ("drm/i915: Introduce Kabypoint PCH for Kabylake H/DT.")

References: https://lists.freedesktop.org/archives/intel-gfx/2017-February/118611.html

Cc Rainer Koenig <[email protected]>
Cc Rodrigo Vivi <[email protected]>
Cc <[email protected]> # v4.8+
(cherry picked from commit 3aac4acb89710fe782c9e78e7b1febf76e112c6c)
drivers/gpu/drm/i915/i915_drv.c +2 -1
index b2c4a0b8a627..8d6309865fa5 100644
@@ -213,7 +213,8 @@ static void intel_detect_pch(struct drm_device *dev)
 			} else if (id == INTEL_PCH_KBP_DEVICE_ID_TYPE) {
 				dev_priv->pch_type = PCH_KBP;
 				DRM_DEBUG_KMS("Found KabyPoint PCH\n");
-				WARN_ON(!IS_KABYLAKE(dev_priv));
+				WARN_ON(!IS_SKYLAKE(dev_priv) &&
+					!IS_KABYLAKE(dev_priv));
 			} else if ((id == INTEL_PCH_P2X_DEVICE_ID_TYPE) ||
 				   (id == INTEL_PCH_P3X_DEVICE_ID_TYPE) ||
 				   ((id == INTEL_PCH_QEMU_DEVICE_ID_TYPE) &&