mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-24 16:26:13 +00:00
intel_audio_dump: show detected chipset name
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
b5ca6b4410
commit
6fcb5cdcbc
@ -1250,12 +1250,17 @@ int main(int argc, char **argv)
|
|||||||
intel_get_mmio(pci_dev);
|
intel_get_mmio(pci_dev);
|
||||||
|
|
||||||
if (IS_GEN6(devid) || IS_GEN7(devid) || getenv("HAS_PCH_SPLIT")) {
|
if (IS_GEN6(devid) || IS_GEN7(devid) || getenv("HAS_PCH_SPLIT")) {
|
||||||
|
printf("%s audio registers:\n\n",
|
||||||
|
IS_GEN6(devid) ? "SandyBridge" : "IvyBridge");
|
||||||
intel_check_pch();
|
intel_check_pch();
|
||||||
dump_cpt();
|
dump_cpt();
|
||||||
} else if (IS_GEN5(devid))
|
} else if (IS_GEN5(devid)) {
|
||||||
|
printf("Ironlake audio registers:\n\n");
|
||||||
dump_ironlake();
|
dump_ironlake();
|
||||||
else
|
} else if (IS_G4X(devid)) {
|
||||||
|
printf("G45 audio registers:\n\n");
|
||||||
dump_eaglelake();
|
dump_eaglelake();
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user