[PATCH v9 8/8] drm/i915/display: Compute cmrr.enable flag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Set cmrr.enable flag during intel_vrr_compute_config.

Signed-off-by: Mitul Golani <mitulkumar.ajitkumar.golani@xxxxxxxxx>
---
 drivers/gpu/drm/i915/display/intel_vrr.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/i915/display/intel_vrr.c b/drivers/gpu/drm/i915/display/intel_vrr.c
index 07be70f7c536..a981c8384f91 100644
--- a/drivers/gpu/drm/i915/display/intel_vrr.c
+++ b/drivers/gpu/drm/i915/display/intel_vrr.c
@@ -226,6 +226,7 @@ intel_vrr_compute_config(struct intel_crtc_state *crtc_state,
 		crtc_state->mode_flags |= I915_MODE_FLAG_VRR;
 	} else if (is_cmrr_frac_required(crtc_state, is_edp)) {
 		crtc_state->vrr.enable = true;
+		crtc_state->cmrr.enable = true;
 		crtc_state->vrr.vmax = cmrr_get_vtotal(crtc_state);
 		crtc_state->vrr.vmin = crtc_state->vrr.vmax;
 		crtc_state->vrr.flipline = crtc_state->vrr.vmin;
-- 
2.25.1




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux