Commit 12d7798f authored by Alex Deucher's avatar Alex Deucher Committed by Dave Airlie

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: default avatarAlex Deucher <alexdeucher@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 37b4390e
...@@ -1145,22 +1145,22 @@ void radeon_atombios_init_crtc(struct drm_device *dev, ...@@ -1145,22 +1145,22 @@ void radeon_atombios_init_crtc(struct drm_device *dev,
switch (radeon_crtc->crtc_id) { switch (radeon_crtc->crtc_id) {
case 0: case 0:
default: default:
radeon_crtc->crtc_id = EVERGREEN_CRTC0_REGISTER_OFFSET; radeon_crtc->crtc_offset = EVERGREEN_CRTC0_REGISTER_OFFSET;
break; break;
case 1: case 1:
radeon_crtc->crtc_id = EVERGREEN_CRTC1_REGISTER_OFFSET; radeon_crtc->crtc_offset = EVERGREEN_CRTC1_REGISTER_OFFSET;
break; break;
case 2: case 2:
radeon_crtc->crtc_id = EVERGREEN_CRTC2_REGISTER_OFFSET; radeon_crtc->crtc_offset = EVERGREEN_CRTC2_REGISTER_OFFSET;
break; break;
case 3: case 3:
radeon_crtc->crtc_id = EVERGREEN_CRTC3_REGISTER_OFFSET; radeon_crtc->crtc_offset = EVERGREEN_CRTC3_REGISTER_OFFSET;
break; break;
case 4: case 4:
radeon_crtc->crtc_id = EVERGREEN_CRTC4_REGISTER_OFFSET; radeon_crtc->crtc_offset = EVERGREEN_CRTC4_REGISTER_OFFSET;
break; break;
case 5: case 5:
radeon_crtc->crtc_id = EVERGREEN_CRTC5_REGISTER_OFFSET; radeon_crtc->crtc_offset = EVERGREEN_CRTC5_REGISTER_OFFSET;
break; break;
} }
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment