[Intel-gfx] [PATCH 10/14] agp/intel: use correct GTT offset on VLV

Jesse Barnes jbarnes at virtuousgeek.org
Fri Jun 15 20:55:22 CEST 2012


VLV is a gen7 device, but we don't currently handle that in the switch.
So add it and write the PTEs correctly.

Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
---
 drivers/char/agp/intel-gtt.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/char/agp/intel-gtt.c b/drivers/char/agp/intel-gtt.c
index c1e2943..5bbc90d 100644
--- a/drivers/char/agp/intel-gtt.c
+++ b/drivers/char/agp/intel-gtt.c
@@ -1252,6 +1252,7 @@ static int i9xx_setup(void)
 		switch (INTEL_GTT_GEN) {
 		case 5:
 		case 6:
+		case 7:
 			gtt_offset = MB(2);
 			break;
 		case 4:
-- 
1.7.9.5




More information about the Intel-gfx mailing list