[PATCH 2/2] drm/i915: Assign PCH_NONE for BXT in virtualization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Colin Xu <colin.xu@xxxxxxxxx>

On BXT platform, guest kernel request PCH_NONE to initialize display
correctly.

Signed-off-by: Colin Xu <colin.xu@xxxxxxxxx>
---
 drivers/gpu/drm/i915/i915_drv.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index 637ba86104be..a09516a348e1 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -245,6 +245,10 @@ intel_virt_update_pch(struct drm_i915_private *dev_priv)
 		id = INTEL_PCH_CNP_DEVICE_ID_TYPE;
 		pch_type = intel_pch_type(dev_priv, id);
 		DRM_DEBUG_KMS("Assuming CannonPoint PCH id %04x\n", id);
+	} else if (IS_BROXTON(dev_priv)) {
+		id = 0;
+		pch_type = intel_pch_type(dev_priv, id);
+		DRM_DEBUG_KMS("Assuming no PCH\n");
 	} else {
 		id = 0;
 		pch_type = PCH_NOP;
-- 
2.17.0

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




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux