On Fri, 07 Nov 2025, "Hogander, Jouni" jouni.hogander@intel.com wrote:
On Thu, 2025-11-06 at 22:00 +0200, Jani Nikula wrote:
First, we can't assume pipe == crtc index. If a pipe is fused off in between, it no longer holds. intel_crtc_for_pipe() is the only proper way to get from a pipe to the corresponding crtc.
Second, drivers aren't supposed to access or index drm->vblank[] directly. There's drm_crtc_vblank_crtc() for this.
Use both functions to fix the pipe to vblank conversion.
Reviewed-by: Jouni Högander jouni.hogander@intel.com
Thanks, pushed to din.
BR, Jani.