Update intel_gtt utility for new chipset GTT check
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
This commit is contained in:
parent
fb524caa3e
commit
0d8a9e2c6f
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in New Issue