drm/i915/dp: Compute as_sdp based on if vrr possible
authorMitul Golani <mitulkumar.ajitkumar.golani@intel.com>
Thu, 30 Jan 2025 05:16:08 +0000 (10:46 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Thu, 30 Jan 2025 14:14:45 +0000 (19:44 +0530)
commit08277aa5d5a44befd71717de35b956f55e1e8401
tree031051ae37d41b103d7b25dec70853d6f7ed13c5
parent6218bd2e649ab3bcd097d7903dd4b93baa21c73d
drm/i915/dp: Compute as_sdp based on if vrr possible

Adaptive sync sdp param computation, we can configure during
full modeset as well when sink is having vrr support, where
it doesn't need dependency on vrr.enable status and can also
match vrr enable/disable fastset requirement.

--v2:
 - Separate the change from as_sdp.vtotal. [Ankit]

Signed-off-by: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250130051609.1796524-6-mitulkumar.ajitkumar.golani@intel.com
drivers/gpu/drm/i915/display/intel_dp.c