diff options
author | Dave Airlie <airlied@redhat.com> | 2009-07-09 01:04:19 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-07-15 03:13:06 -0400 |
commit | 4162338a1dab388474d4115289d1d7071623f04d (patch) | |
tree | 89a04cbcb53c273aeb5e3534bc2c93df41f54570 /drivers/gpu/drm/radeon/radeon_mode.h | |
parent | 6cdf65855cf884712532fc72770baaef7bdf1b9a (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_mode.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_mode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_mode.h b/drivers/gpu/drm/radeon/radeon_mode.h index 9173b687462..86f766e868e 100644 --- a/drivers/gpu/drm/radeon/radeon_mode.h +++ b/drivers/gpu/drm/radeon/radeon_mode.h | |||
@@ -185,6 +185,7 @@ struct radeon_crtc { | |||
185 | uint64_t cursor_addr; | 185 | uint64_t cursor_addr; |
186 | int cursor_width; | 186 | int cursor_width; |
187 | int cursor_height; | 187 | int cursor_height; |
188 | uint32_t legacy_display_base_addr; | ||
188 | }; | 189 | }; |
189 | 190 | ||
190 | #define RADEON_USE_RMX 1 | 191 | #define RADEON_USE_RMX 1 |