diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2012-06-15 14:55:22 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-06-20 16:49:46 -0400 |
commit | e597dad846bafe6c9802c9ae2a94d755c5567de9 (patch) | |
tree | 8c2661d03b7bd250ed0701ca35a9f46b957bf181 /drivers/char/agp | |
parent | e87c46993e30e8fe2e7a0981a532abe8bba07e62 (diff) |
agp/intel: use correct GTT offset on VLV
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@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/char/agp')
-rw-r--r-- | drivers/char/agp/intel-gtt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/agp/intel-gtt.c b/drivers/char/agp/intel-gtt.c index 692610e597db..9ed92ef5829b 100644 --- a/drivers/char/agp/intel-gtt.c +++ b/drivers/char/agp/intel-gtt.c | |||
@@ -1253,6 +1253,7 @@ static int i9xx_setup(void) | |||
1253 | switch (INTEL_GTT_GEN) { | 1253 | switch (INTEL_GTT_GEN) { |
1254 | case 5: | 1254 | case 5: |
1255 | case 6: | 1255 | case 6: |
1256 | case 7: | ||
1256 | gtt_offset = MB(2); | 1257 | gtt_offset = MB(2); |
1257 | break; | 1258 | break; |
1258 | case 4: | 1259 | case 4: |