]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/display: Add compare config for MTL+ platforms
authorMika Kahola <mika.kahola@intel.com>
Thu, 23 May 2024 13:46:49 +0000 (16:46 +0300)
committerMika Kahola <mika.kahola@intel.com>
Thu, 30 May 2024 08:23:51 +0000 (11:23 +0300)
commit45fe957ae769b9122f4a40f2528c516132fe7e3d
tree12d45b30d9ad88e699d12d2ffa581c727de2cc03
parent5575d7b661887760f385e8c68913da5cf202a8cf
drm/i915/display: Add compare config for MTL+ platforms

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.

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)

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Mika Kahola <mika.kahola@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240523134649.31452-3-mika.kahola@intel.com
drivers/gpu/drm/i915/display/intel_cx0_phy.c
drivers/gpu/drm/i915/display/intel_cx0_phy.h
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_dpll_mgr.h