From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Jani Nikula <jani.nikula@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH] drm/i915/audio: fix audio code enable/disable pipe logging
Date: Thu, 12 May 2022 20:27:00 +0300 [thread overview]
Message-ID: <Yn1DZHCr/xccSUbP@intel.com> (raw)
In-Reply-To: <20220512161638.272601-1-jani.nikula@intel.com>
On Thu, May 12, 2022 at 07:16:38PM +0300, Jani Nikula wrote:
> Need to use pipe_name(pipe) instead of pipe directly.
>
> Fixes: 1f31e35f2e88 ("drm/i915/audio: unify audio codec enable/disable debug logging")
> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_audio.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_audio.c b/drivers/gpu/drm/i915/display/intel_audio.c
> index 1c87bf66b092..f0f0dfce27ce 100644
> --- a/drivers/gpu/drm/i915/display/intel_audio.c
> +++ b/drivers/gpu/drm/i915/display/intel_audio.c
> @@ -827,7 +827,7 @@ void intel_audio_codec_enable(struct intel_encoder *encoder,
> drm_dbg_kms(&dev_priv->drm, "[CONNECTOR:%d:%s][ENCODER:%d:%s] Enable audio codec on pipe %c, %u bytes ELD\n",
> connector->base.id, connector->name,
> encoder->base.base.id, encoder->base.name,
> - pipe, drm_eld_size(connector->eld));
> + pipe_name(pipe), drm_eld_size(connector->eld));
>
> /* FIXME precompute the ELD in .compute_config() */
> if (!connector->eld[0])
> @@ -888,7 +888,7 @@ void intel_audio_codec_disable(struct intel_encoder *encoder,
>
> drm_dbg_kms(&dev_priv->drm, "[CONNECTOR:%d:%s][ENCODER:%d:%s] Disable audio codec on pipe %c\n",
> connector->base.id, connector->name,
> - encoder->base.base.id, encoder->base.name, pipe);
> + encoder->base.base.id, encoder->base.name, pipe_name(pipe));
>
> if (dev_priv->audio.funcs)
> dev_priv->audio.funcs->audio_codec_disable(encoder,
> --
> 2.30.2
--
Ville Syrjälä
Intel
next prev parent reply other threads:[~2022-05-12 17:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-12 16:16 [Intel-gfx] [PATCH] drm/i915/audio: fix audio code enable/disable pipe logging Jani Nikula
2022-05-12 17:27 ` Ville Syrjälä [this message]
2022-05-13 11:45 ` Jani Nikula
2022-05-12 18:25 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork
2022-05-12 22:10 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
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=Yn1DZHCr/xccSUbP@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jani.nikula@intel.com \
/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