[PATCH v2 0/2] drm/i915/display: Add comparison for pipe config for MTL+ >
Jani Nikula
jani.nikula at linux.intel.com
Wed May 29 13:38:40 UTC 2024
On Thu, 23 May 2024, Mika Kahola <mika.kahola at 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 at 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 at 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
More information about the Intel-gfx
mailing list