[PATCH] drm/radeon/kms: fix typo in d65d65b175a29bd7ea2bb69c046419329c4a5db7

Alex Deucher alexdeucher at gmail.com
Tue Sep 7 09:53:22 PDT 2010


copy paste error.

Signed-off-by: Alex Deucher <alexdeucher at gmail.com>
---
 drivers/gpu/drm/radeon/radeon_display.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/gpu/drm/radeon/radeon_display.c b/drivers/gpu/drm/radeon/radeon_display.c
index 6dd434a..c7f5017 100644
--- a/drivers/gpu/drm/radeon/radeon_display.c
+++ b/drivers/gpu/drm/radeon/radeon_display.c
@@ -1143,7 +1143,7 @@ bool radeon_crtc_scaling_mode_fixup(struct drm_crtc *crtc,
 			src_v = crtc->mode.vdisplay;
 			dst_v = radeon_crtc->native_mode.vdisplay;
 			src_h = crtc->mode.hdisplay;
-			dst_h = radeon_crtc->native_mode.vdisplay;
+			dst_h = radeon_crtc->native_mode.hdisplay;
 			/* copy native mode */
 			memcpy(&radeon_crtc->native_mode,
 			       &radeon_encoder->native_mode,
-- 
1.7.1.1



More information about the dri-devel mailing list