Commit 76c332d
committed
drm/mgag200: Fix value in <VBLKSTR> register
Fix an off-by-one error when setting the vblanking start in
<VBLKSTR>. Commit d6460bd ("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: d6460bd ("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]1 parent 8260731 commit 76c332d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| |||
0 commit comments