On 7/28/2026 8:29 PM, Mitul Golani wrote:
Enable CMRR during compute config and add related state
checker for the same.
stale commit message, there is no state checking any more.
Otherwise the patch looks good, I will wait for the remaining review
comments to be resolved before RB'ing this one.
--v2:
- Everything else except enable compute to handle before this patch
(Chaitanya)
--v3:
- Remove redundant return from compute config
Signed-off-by: Mitul Golani <[email protected]>
---
drivers/gpu/drm/i915/display/intel_vrr.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/i915/display/intel_vrr.c
b/drivers/gpu/drm/i915/display/intel_vrr.c
index 8d871aa58cab..c17df4675ec1 100644
--- a/drivers/gpu/drm/i915/display/intel_vrr.c
+++ b/drivers/gpu/drm/i915/display/intel_vrr.c
@@ -277,6 +277,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