[Intel-gfx] [PATCH 3/7] Update intel_gtt utility for new chipset GTT check
Zhenyu Wang
zhenyuw at linux.intel.com
Fri Jun 5 09:47:22 CEST 2009
Signed-off-by: Zhenyu Wang <zhenyuw at linux.intel.com>
---
src/reg_dumper/gtt.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/reg_dumper/gtt.c b/src/reg_dumper/gtt.c
index 4a46f11..c331601 100644
--- a/src/reg_dumper/gtt.c
+++ b/src/reg_dumper/gtt.c
@@ -52,7 +52,7 @@ int main(int argc, char **argv)
exit(1);
}
- if (IS_G4X(pI830))
+ if (IS_G4X(pI830) || IS_IGDNG(pI830))
gtt = (unsigned char *)(pI830->mmio + MB(2));
else if (IS_I965G(pI830))
gtt = (unsigned char *)(pI830->mmio + KB(512));
--
1.6.3.1
More information about the Intel-gfx
mailing list