summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyuw@linux.intel.com>2009-06-05 12:51:51 +0800
committerZhenyu Wang <zhenyuw@linux.intel.com>2009-06-10 10:36:46 +0800
commit0d8a9e2c6f58115b9b8449de52e795699ed032af (patch)
treef26b3224c61a45dfdb7e512caa6fad1885ac4d78
parentfb524caa3e2f1f516717669642bb4b2244f9e7e4 (diff)
Update intel_gtt utility for new chipset GTT check
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
-rw-r--r--src/reg_dumper/gtt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reg_dumper/gtt.c b/src/reg_dumper/gtt.c
index 4a46f118..c3316017 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));