drm/radeon/kms: set crtc and cursor offsets correctly on legacy chips.
authorDave Airlie <airlied@redhat.com>
Thu, 9 Jul 2009 05:04:19 +0000 (15:04 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 15 Jul 2009 07:13:06 +0000 (17:13 +1000)
commit4162338a1dab388474d4115289d1d7071623f04d
tree89a04cbcb53c273aeb5e3534bc2c93df41f54570
parent6cdf65855cf884712532fc72770baaef7bdf1b9a
drm/radeon/kms: set crtc and cursor offsets correctly on legacy chips.

The crtc and cursor offsets on the legacy chips are offset from
DISPLAY_BASE_ADDR. The code worked if display base addr was at 0,
but otherwise falls to pieces.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_cursor.c
drivers/gpu/drm/radeon/radeon_legacy_crtc.c
drivers/gpu/drm/radeon/radeon_mode.h