public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: Don't WARN on BDW when PCH is propperly identified.
@ 2015-01-19 20:13 Rodrigo Vivi
  2015-01-20  8:51 ` Jani Nikula
  2015-01-22  1:24 ` shuang.he
  0 siblings, 2 replies; 4+ messages in thread
From: Rodrigo Vivi @ 2015-01-19 20:13 UTC (permalink / raw)
  To: intel-gfx; +Cc: Rodrigo Vivi

We have BDW that PCH might not be propperly identified and we force it to be LPT.
However when we correctly identify it is LPT we incorrectly WARN that this isn't
a Haswell. For now we have many platforms out there we still need to force
LPT so let's keep the force below, but let's remove the WARN when everything is
propperly identified.

For reference we started receiving logs with this uncessary and incorrect WARN.

Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reference: https://bugs.freedesktop.org/attachment.cgi?id=110972
---
 drivers/gpu/drm/i915/i915_drv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index 308774f..d4ed3a9 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -462,7 +462,7 @@ void intel_detect_pch(struct drm_device *dev)
 			} else if (id == INTEL_PCH_LPT_DEVICE_ID_TYPE) {
 				dev_priv->pch_type = PCH_LPT;
 				DRM_DEBUG_KMS("Found LynxPoint PCH\n");
-				WARN_ON(!IS_HASWELL(dev));
+				WARN_ON(!IS_HASWELL(dev) || !IS_BROADWELL(dev));
 				WARN_ON(IS_HSW_ULT(dev));
 			} else if (IS_BROADWELL(dev)) {
 				dev_priv->pch_type = PCH_LPT;
-- 
2.1.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-01-22  1:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-19 20:13 [PATCH] drm/i915: Don't WARN on BDW when PCH is propperly identified Rodrigo Vivi
2015-01-20  8:51 ` Jani Nikula
2015-01-20 18:17   ` Rodrigo Vivi
2015-01-22  1:24 ` shuang.he

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox