mirror of
https://github.com/torvalds/linux.git
synced 2026-11-13 13:38:14 +01:00
drm/i915/vrr: Enable CMRR
Set crtc_state->vrr.cmrr.enable at the end of intel_vrr_cmrr_compute_config() so that CMRR is actually enabled once the M/N parameters have been computed. This is the final step that turns on CMRR, with all the parameter computation handled in the earlier patches. --v2: - Everything else except enable compute to handle before this patch (Chaitanya) --v3: - Remove redundant return from compute config --v4: - Update CMRR commit message (Chaitanya) Signed-off-by: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com> Reviewed-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com> Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com> Link: https://patch.msgid.link/20260730105919.3913412-11-mitulkumar.ajitkumar.golani@intel.com
This commit is contained in:
parent
59f87450fb
commit
533b8c78f1
|
|
@ -269,6 +269,8 @@ intel_vrr_cmrr_compute_config(struct intel_crtc_state *crtc_state)
|
|||
adjusted_mode->crtc_vtotal = div64_u64_rem(dividend,
|
||||
crtc_state->vrr.cmrr.cmrr_n,
|
||||
&crtc_state->vrr.cmrr.cmrr_m);
|
||||
|
||||
crtc_state->vrr.cmrr.enable = true;
|
||||
}
|
||||
|
||||
static
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user