aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2025-04-16 08:38:05 +0000
committerThomas Zimmermann <[email protected]>2025-04-17 07:56:28 +0000
commit76c332d119f9048c6e16b52359f401510f18b2ff (patch)
treefca913bd841f77856937e5cf094f79861e8c865a /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/gem: Internally test import_attach for imported objects (diff)
downloadkernel-76c332d119f9048c6e16b52359f401510f18b2ff.tar.gz
kernel-76c332d119f9048c6e16b52359f401510f18b2ff.zip
drm/mgag200: Fix value in <VBLKSTR> register
Fix an off-by-one error when setting the vblanking start in <VBLKSTR>. Commit d6460bd52c27 ("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: d6460bd52c27 ("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]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions