Re: [PATCH] tools/intel_reg_dumper: Shows fences and rp debug regs on BDW+.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 17, 2014 at 01:08:50PM -0400, Rodrigo Vivi wrote:
> v2: a more generic fix to cover current and future platforms (Damien).
> 
> Cc: Damien Lespiau <damien.lespiau@xxxxxxxxx>
> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx>

(not needed for igt, but still)

Reviewed-by: Damien Lespiau <damien.lespiau@xxxxxxxxx>

-- 
Damien

> ---
>  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..0b6d887 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 (intel_gen(devid) >= 6) {
>  		intel_dump_regs(gen6_fences);
>  		intel_dump_regs(gen6_rp_debug_regs);
>  	}
> -- 
> 1.9.3
> 
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux