From 0d8a9e2c6f58115b9b8449de52e795699ed032af Mon Sep 17 00:00:00 2001 From: Zhenyu Wang Date: Fri, 5 Jun 2009 12:51:51 +0800 Subject: [PATCH] Update intel_gtt utility for new chipset GTT check Signed-off-by: Zhenyu Wang --- src/reg_dumper/gtt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));