]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/display: Compute Adaptive sync SDP params
authorMitul Golani <mitulkumar.ajitkumar.golani@intel.com>
Mon, 10 Jun 2024 07:22:00 +0000 (12:52 +0530)
committerSuraj Kandpal <suraj.kandpal@intel.com>
Tue, 11 Jun 2024 04:28:16 +0000 (09:58 +0530)
commit0612514db728a28982759e62da3c76444ae15281
treef90534359c316116ae1da3f23594ae55b67b23cc
parenteba88f28121507b14b328c6e61818c794f313b17
drm/i915/display: Compute Adaptive sync SDP params

Compute params for Adaptive Sync SDP when Fixed Average Vtotal
mode is enabled.

--v2:
Since vrr.enable is set in case of cmrr also, handle accordingly(Ankit).

--v3:
- Since vrr.enable is set in case of cmrr also, handle
accordingly(Ankit).
- check cmrr.enable when CMRR flags are set during intel_dp_compute_as_sdp.

--v4:
- Use drm_mode_vrefresh instead of manual calculation (Ankit).

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