From: Alessio Belle <Alessio.Belle@imgtec.com>
To: Brajesh Gupta <Brajesh.Gupta@imgtec.com>
Cc: Luigi Santivetti <Luigi.Santivetti@imgtec.com>,
"imagination@lists.freedesktop.org"
<imagination@lists.freedesktop.org>,
"tzimmermann@suse.de" <tzimmermann@suse.de>,
"simona@ffwll.ch" <simona@ffwll.ch>,
"dri-devel@lists.freedesktop.org"
<dri-devel@lists.freedesktop.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Frank Binns <Frank.Binns@imgtec.com>,
"maarten.lankhorst@linux.intel.com"
<maarten.lankhorst@linux.intel.com>,
Alexandru Dadu <Alexandru.Dadu@imgtec.com>,
"mripard@kernel.org" <mripard@kernel.org>,
"airlied@gmail.com" <airlied@gmail.com>
Subject: Re: [PATCH] drm/imagination: Add job type info to pvr_job_submit_fw trace event
Date: Mon, 14 Sep 2026 13:25:02 +0000 [thread overview]
Message-ID: <925239a5de5ef761adb85e2d236714e38061925f.camel@imgtec.com> (raw)
In-Reply-To: <20260819-b4-submitjob_tracepoint-v1-1-f817b222bf6a@imgtec.com>
Hi Brajesh,
On Wed, 2026-08-19 at 13:53 +0530, Brajesh Gupta wrote:
> Update trace event pvr_job_submit_fw to additionally capture and display
> type of the submitted job to easily map events as per type.
>
> Signed-off-by: Brajesh Gupta <brajesh.gupta@imgtec.com>
> ---
> drivers/gpu/drm/imagination/pvr_trace.h | 15 +++++++++------
> 1 file changed, 9 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/gpu/drm/imagination/pvr_trace.h b/drivers/gpu/drm/imagination/pvr_trace.h
> index ffbbde3b2bcc..1b449a64a6ac 100644
> --- a/drivers/gpu/drm/imagination/pvr_trace.h
> +++ b/drivers/gpu/drm/imagination/pvr_trace.h
> @@ -81,20 +81,23 @@ TRACE_EVENT(pvr_job_create,
> __entry->sync_op_count)
> );
>
> -#undef PVR_JOB_TYPE_TO_STR
> -
There is a minor conflict here on drm-misc-next since a fix touching these lines
from drm-misc-fixes was merged back into it. Could you rebase this patch on top
of a more recent drm-misc-next?
The rest LGTM and works locally so with that sorted,
Reviewed-by: Alessio Belle <alessio.belle@imgtec.com>
Thanks,
Alessio
> TRACE_EVENT(pvr_job_submit_fw,
> TP_PROTO(struct pvr_job *job),
> TP_ARGS(job),
> TP_STRUCT__entry(__field(struct pvr_job *, job)
> - __field(u32, done_seqno)),
> + __field(u32, done_seqno)
> + __field(enum drm_pvr_job_type, job_type)),
> TP_fast_assign(__entry->job = job;
> - __entry->done_seqno = job->done_fence->seqno;),
> - TP_printk("job=%p done_seqno=%u",
> + __entry->done_seqno = job->done_fence->seqno;
> + __entry->job_type = job->type;),
> + TP_printk("job=%p done_seqno=%u job_type=%s",
> __entry->job,
> - __entry->done_seqno)
> + __entry->done_seqno,
> + PVR_JOB_TYPE_TO_STR(__entry->job_type))
> );
>
> +#undef PVR_JOB_TYPE_TO_STR
> +
> TRACE_EVENT(pvr_job_done,
> TP_PROTO(struct pvr_job *job),
> TP_ARGS(job),
>
> ---
> base-commit: e55fead22ff9ee047ab9f1903860c4b43043514e
> change-id: 20260819-b4-submitjob_tracepoint-d374f065345e
>
> Best regards,
prev parent reply other threads:[~2026-09-14 13:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-19 8:23 Brajesh Gupta
2026-09-14 13:25 ` Alessio Belle [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=925239a5de5ef761adb85e2d236714e38061925f.camel@imgtec.com \
--to=alessio.belle@imgtec.com \
--cc=Alexandru.Dadu@imgtec.com \
--cc=Brajesh.Gupta@imgtec.com \
--cc=Frank.Binns@imgtec.com \
--cc=Luigi.Santivetti@imgtec.com \
--cc=airlied@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=imagination@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®