[Intel-xe] [PATCH v2 12/31] drm/xe/guc: Print doorbell ID in GuC engine debugfs entry
Thomas Hellström
thomas.hellstrom at linux.intel.com
Tue May 9 13:01:48 UTC 2023
On 5/5/23 20:55, Rodrigo Vivi wrote:
> On Mon, May 01, 2023 at 05:17:08PM -0700, Matthew Brost wrote:
>> This information is helpful so print it.
>>
>> Signed-off-by: Matthew Brost <matthew.brost at intel.com>
> Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom at intel.com>
>
>> ---
>> drivers/gpu/drm/xe/xe_guc_submit.c | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
>> index 1b6f36b04cd1..880f480c6d5f 100644
>> --- a/drivers/gpu/drm/xe/xe_guc_submit.c
>> +++ b/drivers/gpu/drm/xe/xe_guc_submit.c
>> @@ -2016,6 +2016,8 @@ static void guc_engine_print(struct xe_engine *e, struct drm_printer *p)
>> drm_printf(p, "\tTimeslice: %u (us)\n", e->sched_props.timeslice_us);
>> drm_printf(p, "\tPreempt timeout: %u (us)\n",
>> e->sched_props.preempt_timeout_us);
>> + drm_printf(p, "\tDoorbell ID: %u\n",
>> + e->guc->doorbell_id);
>> for (i = 0; i < e->width; ++i ) {
>> struct xe_lrc *lrc = e->lrc + i;
>>
>> --
>> 2.34.1
>>
More information about the Intel-xe
mailing list