Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Hogander, Jouni" <jouni.hogander@intel.com>
To: "ville.syrjala@linux.intel.com" <ville.syrjala@linux.intel.com>,
	"intel-gfx@lists.freedesktop.org"
	<intel-gfx@lists.freedesktop.org>
Subject: Re: [Intel-gfx] [PATCH 4/4] drm/i915: Move the SDP split debug spew to the correct place
Date: Thu, 23 Nov 2023 07:18:24 +0000	[thread overview]
Message-ID: <7e753904f2ab0bbb5375123558c3a0887ea3fbf1.camel@intel.com> (raw)
In-Reply-To: <20231122093137.1509-4-ville.syrjala@linux.intel.com>

On Wed, 2023-11-22 at 11:31 +0200, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> 
> Adding ad-hoc debug prints all over the place is not good.
> Move the SDP split debug spew into the proper place (state
> dumper).
> 
> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>

Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
> ---
>  drivers/gpu/drm/i915/display/intel_crtc_state_dump.c | 3 +++
>  drivers/gpu/drm/i915/display/intel_dp.c              | 7 -------
>  2 files changed, 3 insertions(+), 7 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_crtc_state_dump.c
> b/drivers/gpu/drm/i915/display/intel_crtc_state_dump.c
> index 5bcdbf083281..e62afd298191 100644
> --- a/drivers/gpu/drm/i915/display/intel_crtc_state_dump.c
> +++ b/drivers/gpu/drm/i915/display/intel_crtc_state_dump.c
> @@ -263,6 +263,9 @@ void intel_crtc_state_dump(const struct
> intel_crtc_state *pipe_config,
>                             str_enabled_disabled(pipe_config-
> >fec_enable),
>                             str_enabled_disabled(pipe_config-
> >enhanced_framing));
>  
> +               drm_dbg_kms(&i915->drm, "sdp split: %s\n",
> +                           str_enabled_disabled(pipe_config-
> >sdp_split_enable));
> +
>                 drm_dbg_kms(&i915->drm, "psr: %s, psr2: %s, selective
> fetch: %s\n",
>                             str_enabled_disabled(pipe_config-
> >has_psr),
>                             str_enabled_disabled(pipe_config-
> >has_psr2),
> diff --git a/drivers/gpu/drm/i915/display/intel_dp.c
> b/drivers/gpu/drm/i915/display/intel_dp.c
> index 1422c2370269..c6e3fe8b75d3 100644
> --- a/drivers/gpu/drm/i915/display/intel_dp.c
> +++ b/drivers/gpu/drm/i915/display/intel_dp.c
> @@ -2844,19 +2844,12 @@ intel_dp_audio_compute_config(struct
> intel_encoder *encoder,
>                               struct intel_crtc_state *pipe_config,
>                               struct drm_connector_state *conn_state)
>  {
> -       struct drm_i915_private *i915 = to_i915(encoder->base.dev);
> -       struct drm_connector *connector = conn_state->connector;
> -
>         pipe_config->has_audio =
>                 intel_dp_has_audio(encoder, pipe_config, conn_state)
> &&
>                 intel_audio_compute_config(encoder, pipe_config,
> conn_state);
>  
>         pipe_config->sdp_split_enable = pipe_config->has_audio &&
>                                         intel_dp_is_uhbr(pipe_config)
> ;
> -
> -       drm_dbg_kms(&i915->drm, "[CONNECTOR:%d:%s] SDP split enable:
> %s\n",
> -                   connector->base.id, connector->name,
> -                   str_yes_no(pipe_config->sdp_split_enable));
>  }
>  
>  int


  reply	other threads:[~2023-11-23  7:18 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-22  9:31 [Intel-gfx] [PATCH 1/4] drm/i915/psr: Don't send a NULL VSC SDP Ville Syrjala
2023-11-22  9:31 ` [Intel-gfx] [PATCH 2/4] drm/i915/psr: Include some basic PSR information in the state dump Ville Syrjala
2023-11-23  7:15   ` Hogander, Jouni
2023-11-22  9:31 ` [Intel-gfx] [PATCH 3/4] drm/i915: Stop printing pipe name as hex Ville Syrjala
2023-11-23  7:16   ` Hogander, Jouni
2023-11-22  9:31 ` [Intel-gfx] [PATCH 4/4] drm/i915: Move the SDP split debug spew to the correct place Ville Syrjala
2023-11-23  7:18   ` Hogander, Jouni [this message]
2023-11-23  0:43 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [1/4] drm/i915/psr: Don't send a NULL VSC SDP Patchwork
2023-11-23  0:57 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-11-23  7:14 ` [Intel-gfx] [PATCH 1/4] " Hogander, Jouni
2023-11-24  8:32   ` Ville Syrjälä
2023-11-24  0:35 ` [Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [1/4] " 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=7e753904f2ab0bbb5375123558c3a0887ea3fbf1.camel@intel.com \
    --to=jouni.hogander@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=ville.syrjala@linux.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