drm/radeon/kms/evergreen: fix multi-head
diff mbox

Message ID a728f9f91002091421o2724e431m17c042b2ab578109@mail.gmail.com
State Accepted
Headers show

Commit Message

Alex Deucher Feb. 9, 2010, 10:21 p.m. UTC
None

Patch
diff mbox

diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c
b/drivers/gpu/drm/radeon/atombios_crtc.c
index 925b453..0ec6934 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,
 		switch (radeon_crtc->crtc_id) {
 		case 0:
 		default:
-			radeon_crtc->crtc_id = EVERGREEN_CRTC0_REGISTER_OFFSET;
+			radeon_crtc->crtc_offset = EVERGREEN_CRTC0_REGISTER_OFFSET;
 			break;
 		case 1:
-			radeon_crtc->crtc_id = EVERGREEN_CRTC1_REGISTER_OFFSET;
+			radeon_crtc->crtc_offset = EVERGREEN_CRTC1_REGISTER_OFFSET;
 			break;
 		case 2:
-			radeon_crtc->crtc_id = EVERGREEN_CRTC2_REGISTER_OFFSET;
+			radeon_crtc->crtc_offset = EVERGREEN_CRTC2_REGISTER_OFFSET;
 			break;
 		case 3:
-			radeon_crtc->crtc_id = EVERGREEN_CRTC3_REGISTER_OFFSET;
+			radeon_crtc->crtc_offset = EVERGREEN_CRTC3_REGISTER_OFFSET;
 			break;
 		case 4:
-			radeon_crtc->crtc_id = EVERGREEN_CRTC4_REGISTER_OFFSET;
+			radeon_crtc->crtc_offset = EVERGREEN_CRTC4_REGISTER_OFFSET;
 			break;
 		case 5:
-			radeon_crtc->crtc_id = EVERGREEN_CRTC5_REGISTER_OFFSET;
+			radeon_crtc->crtc_offset = EVERGREEN_CRTC5_REGISTER_OFFSET;
 			break;
 		}
 	} else {