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>
This commit is contained in:
@@ -185,6 +185,7 @@ struct radeon_crtc {
|
||||
uint64_t cursor_addr;
|
||||
int cursor_width;
|
||||
int cursor_height;
|
||||
uint32_t legacy_display_base_addr;
|
||||
};
|
||||
|
||||
#define RADEON_USE_RMX 1
|
||||
|
Reference in New Issue
Block a user