]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/xelpd: Add VRR guardband for VRR CTL
authorManasi Navare <manasi.d.navare@intel.com>
Wed, 26 May 2021 00:06:55 +0000 (17:06 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 26 May 2021 13:46:37 +0000 (06:46 -0700)
commitbb1cd21282a779301a05a94793bf7a10f5b7cdb1
tree5d26ffc3152758a299ae094241e40a78c2b15ed5
parent8dac64ad03d3b4844b5e5894aea50f28f0d005b2
drm/i915/xelpd: Add VRR guardband for VRR CTL

On XE_LPD, VRR CTL register adds a new VRR Guardband bitfield
replacing the pipeline full and deprecating the pipeline override
bit.

This patch adds this corresponding bitfield in the register defs,
crtc state vrr structure and populates this in vrr compute
config and vrr enable functions. It also adds the corresponding
HW state readout for this field.

Bspec: 50508
Cc: Aditya Swarup <aditya.swarup@intel.com>
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Aditya Swarup <aditya.swarup@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210526000656.3060314-3-matthew.d.roper@intel.com
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_display_types.h
drivers/gpu/drm/i915/display/intel_vrr.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_reg.h