Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@linux.intel.com>
To: Mika Kahola <mika.kahola@intel.com>, intel-gfx@lists.freedesktop.org
Cc: Mika Kahola <mika.kahola@intel.com>
Subject: Re: [PATCH v2 0/2] drm/i915/display: Add comparison for pipe config for MTL+ >
Date: Wed, 29 May 2024 16:38:40 +0300	[thread overview]
Message-ID: <8734q0kaan.fsf@intel.com> (raw)
In-Reply-To: <20240523134649.31452-1-mika.kahola@intel.com>

On Thu, 23 May 2024, Mika Kahola <mika.kahola@intel.com> wrote:
> Currently, we may bump into pll mismatch errors during the
> state verification stage. This happens when we try to use
> fastset instead of full modeset. Hence, we would need to add
> a check for pipe configuration to ensure that the sw and the
> hw configuration will match. In case of hw and sw mismatch,
> we would need to disable fastset and use full modeset instead.
>
> However, first we need to revert the patch that disables fastset
> for C10.

I think the patch order should be reversed. Each commit should work. Can
be applied in a different order without resending.

There's maybe a bit too much happening in patch 2 for my liking, but
*shrug*.

Reviewed-by: Jani Nikula <jani.nikula@intel.com>



>
> v2: Fix C10 error on PLL comparison (BAT)
>     Use memcmp instead of fixed loops for pll config
>     comparison (Jani)
>     Clean up and use intel_cx0pll_dump_hw_state() to dump
>     pll information (Jani)
>
> Signed-off-by: Mika Kahola <mika.kahola@intel.com>
>
> Mika Kahola (2):
>   drm/i915/display: Revert "drm/i915/display: Skip C10 state
>     verification in case of fastset"
>   drm/i915/display: Add compare config for MTL+ platforms
>
>  drivers/gpu/drm/i915/display/intel_cx0_phy.c  | 80 ++++++++++++++++---
>  drivers/gpu/drm/i915/display/intel_cx0_phy.h  |  8 +-
>  drivers/gpu/drm/i915/display/intel_display.c  | 33 ++++++++
>  drivers/gpu/drm/i915/display/intel_dpll_mgr.h |  1 +
>  4 files changed, 109 insertions(+), 13 deletions(-)

-- 
Jani Nikula, Intel

      parent reply	other threads:[~2024-05-29 13:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-23 13:46 [PATCH v2 0/2] drm/i915/display: Add comparison for pipe config for MTL+ > Mika Kahola
2024-05-23 13:46 ` [PATCH v2 1/2] drm/i915/display: Revert "drm/i915/display: Skip C10 state verification in case of fastset" Mika Kahola
2024-05-23 13:46 ` [PATCH v2 2/2] drm/i915/display: Add compare config for MTL+ platforms Mika Kahola
2024-05-23 15:34 ` ✗ Fi.CI.CHECKPATCH: warning for drm/i915/display: Add comparison for pipe config for MTL+ > Patchwork
2024-05-23 15:34 ` ✗ Fi.CI.SPARSE: " Patchwork
2024-05-23 15:44 ` ✓ Fi.CI.BAT: success " Patchwork
2024-05-24  8:47 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-05-29 13:38 ` Jani Nikula [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=8734q0kaan.fsf@intel.com \
    --to=jani.nikula@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=mika.kahola@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