mbox series

[0/7] Refactor VRR for different VRR timing generator

Message ID 20241127071136.1017190-1-ankit.k.nautiyal@intel.com (mailing list archive)
Headers show
Series Refactor VRR for different VRR timing generator | expand

Message

Ankit Nautiyal Nov. 27, 2024, 7:11 a.m. UTC
The VRR timing generator supports multiple modes:
dynamic refresh rate (VRR), content-matched refresh rate (CMRR), and
fixed refresh rate (Fixed_RR).

To better track the different operational modes of the VRR timing generator
refactor the existing vrr members and functions.
This will also help to add support for Fixed refresh rate mode and move from
legacy timing generator to VRR timing generator.

This series is a spinoff from the original series:
https://patchwork.freedesktop.org/series/141152/

Ankit Nautiyal (7):
  drm/i915/vrr: Refactor VRR Timing Computation
  drm/i915/vrr: Simplify CMRR Enable Check in intel_vrr_get_config
  drm/i915/vrr: Introduce new field for VRR mode
  drm/i915/vrr: Fill VRR timing generator mode for CMRR and VRR
  drm/i915/display: Remove vrr.enable and instead check vrr.mode != NONE
  drm/i915/display: Absorb cmrr attributes into vrr struct
  drm/i915/display: Add vrr mode to crtc_state dump

 .../drm/i915/display/intel_crtc_state_dump.c  |  19 +-
 drivers/gpu/drm/i915/display/intel_ddi.c      |   3 +-
 drivers/gpu/drm/i915/display/intel_display.c  |  33 ++--
 .../drm/i915/display/intel_display_types.h    |  16 +-
 drivers/gpu/drm/i915/display/intel_dp.c       |   6 +-
 drivers/gpu/drm/i915/display/intel_dsb.c      |   2 +-
 .../drm/i915/display/intel_modeset_setup.c    |   3 +-
 drivers/gpu/drm/i915/display/intel_psr.c      |   5 +-
 drivers/gpu/drm/i915/display/intel_vrr.c      | 164 +++++++++++-------
 drivers/gpu/drm/i915/display/intel_vrr.h      |   1 +
 drivers/gpu/drm/i915/display/skl_watermark.c  |   3 +-
 11 files changed, 154 insertions(+), 101 deletions(-)