diff options
author | Manasi Navare <manasi.d.navare@intel.com> | 2021-01-22 15:26:41 -0800 |
---|---|---|
committer | Manasi Navare <manasi.d.navare@intel.com> | 2021-01-25 15:23:18 -0800 |
commit | f065123299f5af97e9a41567560413d453279d5e (patch) | |
tree | 317aa38808bfa5234360235ad53b8c969196ea3b /drivers/gpu/drm/i915/display/intel_vrr.h | |
parent | 13c6d51f530dcea38ae71d54e29b3507615e8b4b (diff) |
drm/i915/display/vrr: Disable VRR in modeset disable path
This patch disables the VRR enable and VRR PUSH
bits in the HW during commit modeset disable sequence.
Thsi disable will happen when the port is disabled
or when the userspace sets VRR prop to false and
requests to disable VRR.
v2:
* Use intel_de_rmw (Jani N)
v3:
* Remove rmw (Ville)
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210122232647.22688-12-manasi.d.navare@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_vrr.h')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_vrr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_vrr.h b/drivers/gpu/drm/i915/display/intel_vrr.h index e430656ca1cf..a49faa0fa925 100644 --- a/drivers/gpu/drm/i915/display/intel_vrr.h +++ b/drivers/gpu/drm/i915/display/intel_vrr.h @@ -23,5 +23,6 @@ void intel_vrr_compute_config(struct intel_crtc_state *crtc_state, void intel_vrr_enable(struct intel_encoder *encoder, const struct intel_crtc_state *crtc_state); void intel_vrr_send_push(const struct intel_crtc_state *crtc_state); +void intel_vrr_disable(const struct intel_crtc_state *old_crtc_state); #endif /* __INTEL_VRR_H__ */ |