mirror of
https://github.com/torvalds/linux.git
synced 2026-11-30 18:42:21 +00:00
Fix an off-by-one error when setting the vblanking start in <VBLKSTR>. Commitd6460bd52c("drm/mgag200: Add dedicated variables for blanking fields") switched the value from crtc_vdisplay to crtc_vblank_start, which DRM helpers copy from the former. The commit missed to subtract one though. Reported-by: Wakko Warner <[email protected]> Closes: https://lore.kernel.org/dri-devel/CAMwc25rKPKooaSp85zDq2eh-9q4UPZD=RqSDBRp1fAagDnmRmA@mail.gmail.com/ Reported-by: Сергей <[email protected]> Closes: https://lore.kernel.org/all/[email protected]/ Closes: https://bbs.archlinux.org/viewtopic.php?id=303819 Signed-off-by: Thomas Zimmermann <[email protected]> Fixes:d6460bd52c("drm/mgag200: Add dedicated variables for blanking fields") Cc: Thomas Zimmermann <[email protected]> Cc: Jocelyn Falempe <[email protected]> Cc: Dave Airlie <[email protected]> Cc: [email protected] Cc: <[email protected]> # v6.12+ Reviewed-by: Jocelyn Falempe <[email protected]> Tested-by: Wakko Warner <[email protected]> Link: https://lore.kernel.org/r/[email protected]