From: Alexandru Dadu <Alexandru.Dadu@imgtec.com>
To: Luigi Santivetti <Luigi.Santivetti@imgtec.com>,
"tzimmermann@suse.de" <tzimmermann@suse.de>,
"simona@ffwll.ch" <simona@ffwll.ch>,
"airlied@gmail.com" <airlied@gmail.com>,
Frank Binns <Frank.Binns@imgtec.com>,
Alessio Belle <Alessio.Belle@imgtec.com>,
"maarten.lankhorst@linux.intel.com"
<maarten.lankhorst@linux.intel.com>,
Brajesh Gupta <Brajesh.Gupta@imgtec.com>,
"mripard@kernel.org" <mripard@kernel.org>
Cc: "dri-devel@lists.freedesktop.org"
<dri-devel@lists.freedesktop.org>,
"imagination@lists.freedesktop.org"
<imagination@lists.freedesktop.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2] drm/imagination: Add job type info to pvr_job_submit_fw trace event
Date: Fri, 18 Sep 2026 07:49:04 +0000 [thread overview]
Message-ID: <e463782035ff8ed01ebb3d2e5cce94f98a35d470.camel@imgtec.com> (raw)
In-Reply-To: <20260918-b4-submitjob_tracepoint-v2-1-d9b104de07b8@imgtec.com>
On Fri, 2026-09-18 at 09:56 +0530, Brajesh Gupta wrote:
Hello Brajesh,
> *** NOTE: This is an internal email from Imagination Technologies ***
>
>
>
>
> 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>
> Reviewed-by: Alessio Belle <alessio.belle@imgtec.com>
> ---
> Changes in v2:
> - Updated to latest drm-misc-next to resolve a conflict as pointed
> out by Alessio.
> - Link to v1:
> https://lore.kernel.org/r/20260819-b4-submitjob_tracepoint-v1-1-f817b222bf6a@imgtec.com
> ---
> drivers/gpu/drm/imagination/pvr_trace.h | 14 +++++++++-----
> 1 file changed, 9 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/gpu/drm/imagination/pvr_trace.h
> b/drivers/gpu/drm/imagination/pvr_trace.h
> index 943d6b2418cb..4be7d4b8a357 100644
> --- a/drivers/gpu/drm/imagination/pvr_trace.h
> +++ b/drivers/gpu/drm/imagination/pvr_trace.h
> @@ -90,21 +90,25 @@ TRACE_EVENT(pvr_job_create,
> __entry->sync_op_count)
> );
>
> -#undef PVR_JOB_TYPE_TO_STR
> #undef PVR_JOB_GET_HWRT_FW_ADDR
>
> 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: a8fe4e162ba8212b7e51fdb024b37800f36b496c
> change-id: 20260819-b4-submitjob_tracepoint-d374f065345e
>
> Best regards,
> --
> Brajesh Gupta <brajesh.gupta@imgtec.com>
>
Reviewed by: Alexandru Dadu <alexandru.dadu@imgtec.com>
Thanks,
Alexandru Dadu
prev parent reply other threads:[~2026-09-18 7:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-18 4:26 Brajesh Gupta
2026-09-18 7:49 ` Alexandru Dadu [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=e463782035ff8ed01ebb3d2e5cce94f98a35d470.camel@imgtec.com \
--to=alexandru.dadu@imgtec.com \
--cc=Alessio.Belle@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®