]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/vrr: Allow fixed_rr with pipe joiner
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Mon, 24 Mar 2025 13:32:44 +0000 (19:02 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Tue, 25 Mar 2025 15:47:25 +0000 (21:17 +0530)
commit0ec46988ae6c5f3e6c4ccdf5e0abbc541b8d0680
tree88e4dada2e99d0d4cf9cbfd2fa7e16f163105065
parent423f9d7c52235a7b63f5b03655a722ee3c1cdb24
drm/i915/vrr: Allow fixed_rr with pipe joiner

VRR with joiner is currently disabled as it still needs some work to
correctly sequence the primary and secondary transcoders. However, we can
still use VRR Timing generator in fixed refresh rate for joiner and since
it just need to program vrr timings once and does not involve changing
timings on the fly. We still need to skip the VRR and LRR for joiner.

To achieve this set vrr.in_range to 0 for joiner case, so that we do not
try VRR and LRR for the joiner case.

v2: Avoid checks for secondary pipes, where not required. (Ville)
v3: Remove a redundant check and reset vrr.in_range to false. (Ville)

Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://lore.kernel.org/r/20250324133248.4071909-13-ankit.k.nautiyal@intel.com
drivers/gpu/drm/i915/display/intel_vrr.c