Re: [PATCH] drm/i915: Include engine->mmio_base in the debug duump

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

 



On Tue, 2019-08-13 at 22:57 +0100, Chris Wilson wrote:
> Some IGT would like to know the mmio address of each engine so make
> it
> available.
> 
> Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>

Reviewed-by: Stuart Summers <stuart.summers@xxxxxxxxx>

> ---
>  drivers/gpu/drm/i915/gt/intel_engine_cs.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/i915/gt/intel_engine_cs.c
> b/drivers/gpu/drm/i915/gt/intel_engine_cs.c
> index 45f5b6001456..ee6cf44d7d8d 100644
> --- a/drivers/gpu/drm/i915/gt/intel_engine_cs.c
> +++ b/drivers/gpu/drm/i915/gt/intel_engine_cs.c
> @@ -1407,6 +1407,7 @@ void intel_engine_dump(struct intel_engine_cs
> *engine,
>  	}
>  	spin_unlock_irqrestore(&engine->active.lock, flags);
>  
> +	drm_printf(m, "\tMMIO base: 0x%08x\n", engine->mmio_base);
>  	wakeref = intel_runtime_pm_get_if_in_use(&engine->i915-
> >runtime_pm);
>  	if (wakeref) {
>  		intel_engine_print_registers(engine, m);
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux