tools/intel_reg_dumper: Shows fences and rp debug regs on BDW.
PATCH 1/1 tools/intel_reg_dumper: Shows fences and rp debug regs on BDW.
Signed-off-by Rodrigo Vivi <[email protected]>
--- tools/intel_reg_dumper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/intel_reg_dumper.c +1 -1
@@ -2972,7 +2972,7 @@ int main(int argc, char** argv)intel_dump_other_regs (); } -if (IS_GEN6 (devid) ||IS_GEN7 (devid)) { +if (IS_GEN6 (devid) ||IS_GEN7 (devid) ||IS_GEN8 (devid)) {intel_dump_regs (gen6_fences);intel_dump_regs (gen6_rp_debug_regs); }
Signature · 1 line
1.9.3
Quoted 10 lines · Rodrigo Vivi
Signed-off-by Rodrigo Vivi <[email protected]>--- tools/intel_reg_dumper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/intel_reg_dumper.c +0
-0
tools/intel_reg_dumper.c int main(int argc, char** argv) · line 2978
Quoted 8 lines
tools/intel_reg_dumper.c +1
-1@@ -2972,7 +2972,7 @@ int main(int argc, char** argv)intel_dump_other_regs (); } -if (IS_GEN6 (devid) ||IS_GEN7 (devid)) { +if (IS_GEN6 (devid) ||IS_GEN7 (devid) ||IS_GEN8 (devid)) {intel_dump_regs (gen6_fences);intel_dump_regs (gen6_rp_debug_regs); }
Can we make sure to fix this for future platforms? using intel_gen().
Thanks,
Signature · 1 line
Damien
PATCH 1/1 tools/intel_reg_dumper: Shows fences and rp debug regs on BDW+.
v2: a more generic fix to cover current and future platforms (Damien).
Cc Damien Lespiau <[email protected]>
Signed-off-by Rodrigo Vivi <[email protected]>
--- tools/intel_reg_dumper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/intel_reg_dumper.c +1 -1
@@ -2972,7 +2972,7 @@ int main(int argc, char** argv)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_rp_debug_regs); }
Signature · 1 line
1.9.3
Re: [PATCH] tools/intel_reg_dumper: Shows fences and rp debug regs on BDW+.
Quoted 4 lines · Rodrigo Vivi
v2: a more generic fix to cover current and future platforms (Damien).
Cc Damien Lespiau <[email protected]>Signed-off-by Rodrigo Vivi <[email protected]>
(not needed for igt, but still)
Reviewed-by Damien Lespiau <[email protected]>
Signature · 1 line
Damien
Quoted 20 lines
--- tools/intel_reg_dumper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/intel_reg_dumper.c +1
-1@@ -2972,7 +2972,7 @@ int main(int argc, char** argv)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_rp_debug_regs); }Signature · 1 line
1.9.3