public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: "Shankar, Uma" <uma.shankar@intel.com>
To: "Modem, Bhanuprakash" <bhanuprakash.modem@intel.com>,
	"intel-gfx@lists.freedesktop.org"
	<intel-gfx@lists.freedesktop.org>
Subject: Re: [Intel-gfx] [V3] drm/i915/display: Fix state mismatch in drm infoframe
Date: Thu, 24 Jun 2021 08:48:41 +0000	[thread overview]
Message-ID: <e3301e08f15b416a8c206071d495e3f5@intel.com> (raw)
In-Reply-To: <20210423141609.28568-1-bhanuprakash.modem@intel.com>



> -----Original Message-----
> From: Modem, Bhanuprakash <bhanuprakash.modem@intel.com>
> Sent: Friday, April 23, 2021 7:46 PM
> To: intel-gfx@lists.freedesktop.org
> Cc: Modem, Bhanuprakash <bhanuprakash.modem@intel.com>; Shankar, Uma
> <uma.shankar@intel.com>; Ville Syrjälä <ville.syrjala@linux.intel.com>
> Subject: [V3] drm/i915/display: Fix state mismatch in drm infoframe
> 
> While reading the SDP infoframe, we are getting filtered with the encoder type
> INTEL_OUTPUT_DDI which causes the infoframe mismatch. This patch will drop
> encoder->type check as we can mask individual infoframe type.

It will be good to mention that issue happens with eDP. With that added,

Reviewed-by: Uma Shankar <uma.shankar@intel.com>

> [1025.606556] i915 0000:00:02.0: [drm] *ERROR* mismatch in drm infoframe
> [1025.607865] i915 0000:00:02.0: [drm] *ERROR* expected:
> [1025.607879] i915 0000:00:02.0: HDMI infoframe: Dynamic Range and Mastering,
> version 1, length 26 [1025.607889] i915 0000:00:02.0: length: 26 [1025.607898] i915
> 0000:00:02.0: metadata type: 0 [1025.608292] i915 0000:00:02.0: eotf: 2
> [1025.608302] i915 0000:00:02.0: x[0]: 35400 [1025.608312] i915 0000:00:02.0:
> y[0]: 14599 [1025.609115] i915 0000:00:02.0: x[1]: 8500 [1025.609947] i915
> 0000:00:02.0: y[1]: 39850 [1025.609959] i915 0000:00:02.0: x[2]: 6550
> [1025.609970] i915 0000:00:02.0: y[2]: 2300 [1025.609980] i915 0000:00:02.0:
> white point x: 15634 [1025.609989] i915 0000:00:02.0: white point y: 16450
> [1025.610381] i915 0000:00:02.0: max_display_mastering_luminance: 1000
> [1025.610392] i915 0000:00:02.0: min_display_mastering_luminance: 500
> [1025.610401] i915 0000:00:02.0: max_cll: 500 [1025.610816] i915 0000:00:02.0:
> max_fall: 1000 [1025.612457] i915 0000:00:02.0: [drm] *ERROR* found:
> [1025.614354] ------------[ cut here ]------------ [1025.616244] pipe state doesn't
> match!
> [1025.617640] WARNING: CPU: 6 PID: 2114 at
> drivers/gpu/drm/i915/display/intel_display.c:9332
> intel_atomic_commit_tail+0x14d4/0x17c0 [i915]
> 
> V2:
> * Drop encoder->type check
> 
> V3:
> * Remove internal reviews
> 
> Cc: Uma Shankar <uma.shankar@intel.com>
> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
> ---
>  drivers/gpu/drm/i915/display/intel_dp.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_dp.c
> b/drivers/gpu/drm/i915/display/intel_dp.c
> index 4ad12dde5938..280b0b5ee70e 100644
> --- a/drivers/gpu/drm/i915/display/intel_dp.c
> +++ b/drivers/gpu/drm/i915/display/intel_dp.c
> @@ -3014,9 +3014,6 @@ void intel_read_dp_sdp(struct intel_encoder *encoder,
>  		       struct intel_crtc_state *crtc_state,
>  		       unsigned int type)
>  {
> -	if (encoder->type != INTEL_OUTPUT_DDI)
> -		return;
> -
>  	switch (type) {
>  	case DP_SDP_VSC:
>  		intel_read_dp_vsc_sdp(encoder, crtc_state,
> --
> 2.20.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  parent reply	other threads:[~2021-06-24  8:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-23 14:16 [Intel-gfx] [V3] drm/i915/display: Fix state mismatch in drm infoframe Bhanuprakash Modem
2021-04-23  6:40 ` [Intel-gfx] ✗ Fi.CI.DOCS: warning for drm/i915/display: Fix state mismatch in drm infoframe (rev3) Patchwork
2021-04-23  7:06 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
2021-06-09  7:15 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/display: Fix state mismatch in drm infoframe (rev4) Patchwork
2021-06-09  7:15 ` [Intel-gfx] ✗ Fi.CI.BUILD: warning " Patchwork
2021-06-09  8:30 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2021-06-24  8:48 ` Shankar, Uma [this message]
2021-06-30  8:21   ` [Intel-gfx] [V3] drm/i915/display: Fix state mismatch in drm infoframe Shankar, Uma
2021-06-24 13:17 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/display: Fix state mismatch in drm infoframe (rev5) Patchwork
2021-06-24 17:24 ` [Intel-gfx] ✓ Fi.CI.IGT: " 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=e3301e08f15b416a8c206071d495e3f5@intel.com \
    --to=uma.shankar@intel.com \
    --cc=bhanuprakash.modem@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /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