drm/radeon/kms: fix typo in atom overscan setup
Subsystems (2)
PATCH 1/1 drm/radeon/kms: fix typo in atom overscan setup
Typo in the aspect scale setup.
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/radeon/atombios_crtc.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/radeon/atombios_crtc.c +2 -2
@@ -61,8 +61,8 @@ static void atombios_overscan_setup(struct drm_crtc *crtc, args.usOverscanLeft =cpu_to_le16 ((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) /2 ); args.usOverscanRight =cpu_to_le16 ((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) /2 ); }else if (a2 > a1) { - args.usOverscanLeft =cpu_to_le16 ((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) /2 ); - args.usOverscanRight =cpu_to_le16 ((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) /2 ); + args.usOverscanTop =cpu_to_le16 ((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) /2 ); + args.usOverscanBottom =cpu_to_le16 ((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) /2 ); }break ;case RMX_FULL :
Signature · 1 line
1.7.1.1