RFC drm/i915/vrr: HDMI 2.1 VRR support
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | drm/i915/dip: Send HDMI EMPs early in V. Blank when VRR is in rangedrivers/ | +19 | 0 replies | |
| 2/3 | drm/i915/dip: Send the HDMI 2.1 VTEM when VRR is enableddrivers/ drivers/ drivers/ +1 more | +98 | 0 replies | |
| 3/3 | drm/i915/vrr: Allow VRR on HDMI 2.1 sinksdrivers/ drivers/ | +53 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC v1 0/3] drm/i915/vrr: HDMI 2.1 VRR support
Variable Refresh Rate is currently only enabled for DP/eDP. This series enables it on HDMI 2.1 sinks that advertise a VRR range in the HDMI Forum VSDB, for display version 20+.
HDMI 2.1 VRR is signalled to the sink with a Video Timing Extended Metadata (VTEM) packet sent through the HDMI EMP registers. The VRR timing generator programming already in the driver is reused as is. The series adds:
1. The EMP transmission line for HDMI: send the EMPs on the 2nd line of the V. Blank instead of the start of the VSYNC pulse used for the DP AS SDP.
2. The VTEM packet, written when VRR is enabled and disabled.
3. Enabling VRR (and the vrr_capable property) on HDMI, using the VRR range that the DRM core now parses into display_info.hdmi.vrr_cap.
The patches are ordered so that HDMI VRR stays disabled until the last one.
Testing: related implementations have been exercised on a WCL (display version 30) board with an HDMI 2.1 VRR monitor advertising 48-120 Hz. With VRR enabled, measured vblank intervals were approximately 20.83 ms (48 Hz) at idle and 16.67 ms (60 Hz) during verified atomic page flipping. Fullscreen glmark2 under GNOME Wayland also enabled VRR, with intervals predominantly at 60 Hz and occasional longer intervals up to 20.83 ms. VTEM enable/disable programming was observed in the driver logs.
Alan Stead (3):
drm/i915/dip: Send HDMI EMPs early in V. Blank when VRR is in range drm/i915/dip: Send the HDMI 2.1 VTEM when VRR is enabled drm/i915/vrr: Allow VRR on HDMI 2.1 sinks
drivers/gpu/drm/i915/display/intel_dip.c | 94 +++++++++++++++++++ drivers/gpu/drm/i915/display/intel_dip.h | 2 + drivers/gpu/drm/i915/display/intel_dip_regs.h | 17 ++++ drivers/gpu/drm/i915/display/intel_hdmi.c | 8 ++ drivers/gpu/drm/i915/display/intel_vrr.c | 58 ++++++++++-- 5 files changed, 170 insertions(+), 9 deletions(-)
Signature · 1 line
2.53.0