diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-02-09 17:18:48 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-02-10 22:39:12 -0500 |
commit | 12d7798f71107e7f4391a532af8c6690bda16f66 (patch) | |
tree | b7477d4a32c605fd2923d258dbe4026a934a2f9a /drivers/gpu/drm/radeon | |
parent | 37b4390ec7f12f82e47a2ef56dccee094f26d34f (diff) |
drm/radeon/kms/evergreen: fix multi-head
Fix a typo in crtc offset setup that set the crtc
instances wrong for all crtcs except the first.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon')
-rw-r--r-- | drivers/gpu/drm/radeon/atombios_crtc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c b/drivers/gpu/drm/radeon/atombios_crtc.c index 925b4530ce1b..0ec6934c3a26 100644 --- a/drivers/gpu/drm/radeon/atombios_crtc.c +++ b/drivers/gpu/drm/radeon/atombios_crtc.c | |||
@@ -1145,22 +1145,22 @@ void radeon_atombios_init_crtc(struct drm_device *dev, | |||
1145 | switch (radeon_crtc->crtc_id) { | 1145 | switch (radeon_crtc->crtc_id) { |
1146 | case 0: | 1146 | case 0: |
1147 | default: | 1147 | default: |
1148 | radeon_crtc->crtc_id = EVERGREEN_CRTC0_REGISTER_OFFSET; | 1148 | radeon_crtc->crtc_offset = EVERGREEN_CRTC0_REGISTER_OFFSET; |
1149 | break; | 1149 | break; |
1150 | case 1: | 1150 | case 1: |
1151 | radeon_crtc->crtc_id = EVERGREEN_CRTC1_REGISTER_OFFSET; | 1151 | radeon_crtc->crtc_offset = EVERGREEN_CRTC1_REGISTER_OFFSET; |
1152 | break; | 1152 | break; |
1153 | case 2: | 1153 | case 2: |
1154 | radeon_crtc->crtc_id = EVERGREEN_CRTC2_REGISTER_OFFSET; | 1154 | radeon_crtc->crtc_offset = EVERGREEN_CRTC2_REGISTER_OFFSET; |
1155 | break; | 1155 | break; |
1156 | case 3: | 1156 | case 3: |
1157 | radeon_crtc->crtc_id = EVERGREEN_CRTC3_REGISTER_OFFSET; | 1157 | radeon_crtc->crtc_offset = EVERGREEN_CRTC3_REGISTER_OFFSET; |
1158 | break; | 1158 | break; |
1159 | case 4: | 1159 | case 4: |
1160 | radeon_crtc->crtc_id = EVERGREEN_CRTC4_REGISTER_OFFSET; | 1160 | radeon_crtc->crtc_offset = EVERGREEN_CRTC4_REGISTER_OFFSET; |
1161 | break; | 1161 | break; |
1162 | case 5: | 1162 | case 5: |
1163 | radeon_crtc->crtc_id = EVERGREEN_CRTC5_REGISTER_OFFSET; | 1163 | radeon_crtc->crtc_offset = EVERGREEN_CRTC5_REGISTER_OFFSET; |
1164 | break; | 1164 | break; |
1165 | } | 1165 | } |
1166 | } else { | 1166 | } else { |