From: Jesse Barnes Date: Fri, 15 Jun 2012 18:55:22 +0000 (-0700) Subject: agp/intel: use correct GTT offset on VLV X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e597dad846bafe6c9802c9ae2a94d755c5567de9;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Daniel Vetter --- 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) switch (INTEL_GTT_GEN) { case 5: case 6: + case 7: gtt_offset = MB(2); break; case 4: