From: Andi Shyti <andi.shyti@linux.intel.com>
To: Tvrtko Ursulin <tursulin@ursulin.net>
Cc: Matt Roper <matthew.d.roper@intel.com>,
Nitin Gote <nitin.r.gote@intel.com>,
intel-gfx@lists.freedesktop.org, chris.p.wilson@intel.com,
nirmoy.das@intel.com
Subject: Re: [PATCH v2] drm/i915/gt: Use ENGINE_TRACE for tracing.
Date: Fri, 25 Oct 2024 13:21:12 +0200 [thread overview]
Message-ID: <Zxt_KGuS_HjxfHv1@ashyti-mobl2.lan> (raw)
In-Reply-To: <0e9813a8-0af6-4d06-971e-7909796bd9b5@ursulin.net>
On Fri, Oct 25, 2024 at 09:02:16AM +0100, Tvrtko Ursulin wrote:
>
> On 24/10/2024 19:58, Matt Roper wrote:
> > On Thu, Oct 24, 2024 at 04:09:17PM +0530, Nitin Gote wrote:
> > > There is ENGINE_TRACE() macro which introduce engine name
> > > with GEM tracing in i915. So, it will be good to use ENGINE_TRACE()
> > > over drm_err() drm_device based logging for engine debug log.
> >
> > Doesn't this just eliminate the logging completely if the driver is
> > built without CONFIG_DRM_I915_TRACE_GEM? That means that most users
> > will probably get no dmesg output at all on failure now, which could
> > make it harder for us to understand and debug user-reported bugs.
> >
> > Of course intel_ring_submission.c only gets used for the old
> > pre-execlist platforms (HSW and older) so maybe there are few enough of
> > those in active usage that we don't really get too many new bug reports
> > anyway?
>
> Yeah, plus, the justification about engine name does not appear to hold,
> since the old message was printing it already. So if there is something more
> happening here under the covers please do explain it properly in the commit
> message.
I'm sorry, but I already applied the patch.
I agree with it because most of the information provided are not
really useful to the failure, but more to who is actually
debugging the code.
Would it make sense to add a gt_err() after or before the
ENGINE_TRACE() so that we have the error printing along with
debug information?
Thanks,
Andi
next prev parent reply other threads:[~2024-10-25 11:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-24 10:39 [PATCH v2] drm/i915/gt: Use ENGINE_TRACE for tracing Nitin Gote
2024-10-24 11:33 ` Andi Shyti
2024-10-24 11:53 ` ✗ Fi.CI.BAT: failure for drm/i915/gt: Use ENGINE_TRACE for tracing. (rev3) Patchwork
2024-10-24 17:28 ` ✓ Fi.CI.BAT: success for drm/i915/gt: Use ENGINE_TRACE for tracing. (rev4) Patchwork
2024-10-24 18:40 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-10-24 18:58 ` [PATCH v2] drm/i915/gt: Use ENGINE_TRACE for tracing Matt Roper
2024-10-25 8:02 ` Tvrtko Ursulin
2024-10-25 11:21 ` Andi Shyti [this message]
2024-10-25 16:08 ` Tvrtko Ursulin
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=Zxt_KGuS_HjxfHv1@ashyti-mobl2.lan \
--to=andi.shyti@linux.intel.com \
--cc=chris.p.wilson@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=matthew.d.roper@intel.com \
--cc=nirmoy.das@intel.com \
--cc=nitin.r.gote@intel.com \
--cc=tursulin@ursulin.net \
/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