OSDN Git Service

drm/i915: Detect virtual south bridge
authorRobert Beckett <robert.beckett@intel.com>
Fri, 28 Aug 2015 12:10:22 +0000 (13:10 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 30 Sep 2015 08:14:21 +0000 (10:14 +0200)
commit30c964a6cb7bbade28eabcbc3fce4b01be8f1a39
treece623266de1474c26c858d028aae8c5e2e0c7380
parent44cc6c08da0b6c8321c6740bbb6a0c6feb45b2c2
drm/i915: Detect virtual south bridge

Virtualized systems often use a virtual P2X4 south bridge.
Detect this in intel_detect_pch and make a best guess as to which PCH
we should be using.

This was seen on vmware esxi hypervisor. When passing the graphics device
through to a guest, it can not pass through the PCH. Instead it simulates
a P2X4 southbridge.

Signed-off-by: Robert Beckett <robert.beckett@intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h