diff mbox

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

Message ID 1410964716-11750-1-git-send-email-rodrigo.vivi@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Rodrigo Vivi Sept. 17, 2014, 2:38 p.m. UTC
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
---
 tools/intel_reg_dumper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Lespiau, Damien Sept. 17, 2014, 3:41 p.m. UTC | #1
On Wed, Sep 17, 2014 at 10:38:36AM -0400, Rodrigo Vivi wrote:
> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> ---
>  tools/intel_reg_dumper.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/intel_reg_dumper.c b/tools/intel_reg_dumper.c
> index 4bc299c..f88bd9f 100644
> --- a/tools/intel_reg_dumper.c
> +++ b/tools/intel_reg_dumper.c
> @@ -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,
diff mbox

Patch

diff --git a/tools/intel_reg_dumper.c b/tools/intel_reg_dumper.c
index 4bc299c..f88bd9f 100644
--- a/tools/intel_reg_dumper.c
+++ b/tools/intel_reg_dumper.c
@@ -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);
 	}