Commit e597dad8 authored by Jesse Barnes's avatar Jesse Barnes Committed by Daniel Vetter

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: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent e87c4699
...@@ -1253,6 +1253,7 @@ static int i9xx_setup(void) ...@@ -1253,6 +1253,7 @@ static int i9xx_setup(void)
switch (INTEL_GTT_GEN) { switch (INTEL_GTT_GEN) {
case 5: case 5:
case 6: case 6:
case 7:
gtt_offset = MB(2); gtt_offset = MB(2);
break; break;
case 4: case 4:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment