tools/intel_reg_dumper: Shows fences and rp debug regs on BDW+.

v2: a more generic fix to cover current and future platforms (Damien).

Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
This commit is contained in:
Rodrigo Vivi 2014-09-17 10:35:55 -04:00
parent 1244fc6b9b
commit 50534460dd

View File

@ -2972,7 +2972,7 @@ int main(int argc, char** argv)
intel_dump_other_regs(); intel_dump_other_regs();
} }
if (IS_GEN6(devid) || IS_GEN7(devid)) { if (intel_gen(devid) >= 6) {
intel_dump_regs(gen6_fences); intel_dump_regs(gen6_fences);
intel_dump_regs(gen6_rp_debug_regs); intel_dump_regs(gen6_rp_debug_regs);
} }