[Intel-gfx] [PATCH 2/2] drm/i915: Assign PCH_NONE for BXT in virtualization
colin.xu at intel.com
colin.xu at intel.com
Tue May 29 04:50:38 UTC 2018
From: Colin Xu <colin.xu at intel.com>
On BXT platform, guest kernel request PCH_NONE to initialize display
correctly.
Signed-off-by: Colin Xu <colin.xu at intel.com>
---
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
More information about the Intel-gfx
mailing list