drm/radeon/kms: fix calculation of h/v scaling factors
authorAlex Deucher <alexdeucher@gmail.com>
Tue, 3 Aug 2010 23:58:49 +0000 (19:58 -0400)
committerDave Airlie <airlied@redhat.com>
Wed, 4 Aug 2010 00:03:47 +0000 (10:03 +1000)
Prior to this patch the code was dividing the src_v by the dst_h
and vice versa, rather than src_v/dst_v and src_h/dst_h.

This could lead to problems in the calculation of the display
watermarks.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_display.c