[Intel-gfx] [RFC PATCH 8/8] drm/i915: enable vgt if specified by module param

Jike Song jike.song at intel.com
Tue Sep 30 12:05:38 CEST 2014


All of interfaces between vgt and host i915(MMIO, GTT, irq mediation)
are ready, it's safe to enable it if specified in modparam.

Signed-off-by: Jike Song <jike.song at intel.com>
---
 drivers/gpu/drm/i915/vgt/vgt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/vgt/vgt.c b/drivers/gpu/drm/i915/vgt/vgt.c
index dab4bfc..e6dbe6d 100644
--- a/drivers/gpu/drm/i915/vgt/vgt.c
+++ b/drivers/gpu/drm/i915/vgt/vgt.c
@@ -19,7 +19,7 @@ static struct drm_i915_private *dev_priv = NULL;
 bool i915_start_vgt(struct pci_dev *pdev)
 {
 	/* vgt is not yet integrated, this only means testing */
-	return false;
+	return true;
 }
 
 static bool vgt_mmio_read(off_t reg, void *val, int len, bool trace)
-- 
1.9.1




More information about the Intel-gfx mailing list