From patchwork Tue Feb 9 22:21:37 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 78206 Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o19MN6Zs017195 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 9 Feb 2010 22:23:43 GMT Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1NeySp-0000ZK-8i; Tue, 09 Feb 2010 22:21:47 +0000 Received: from sfi-mx-4.v28.ch3.sourceforge.com ([172.29.28.124] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1NeySn-0000ZB-DY for dri-devel@lists.sourceforge.net; Tue, 09 Feb 2010 22:21:45 +0000 Received-SPF: pass (sfi-mx-4.v28.ch3.sourceforge.com: domain of gmail.com designates 209.85.220.223 as permitted sender) client-ip=209.85.220.223; envelope-from=alexdeucher@gmail.com; helo=mail-fx0-f223.google.com; Received: from mail-fx0-f223.google.com ([209.85.220.223]) by sfi-mx-4.v28.ch3.sourceforge.com with esmtp (Exim 4.69) id 1NeySm-0007MH-IF for dri-devel@lists.sourceforge.net; Tue, 09 Feb 2010 22:21:45 +0000 Received: by fxm23 with SMTP id 23so6125619fxm.2 for ; Tue, 09 Feb 2010 14:21:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.3.27 with SMTP id 27mr2363340fal.8.1265754098492; Tue, 09 Feb 2010 14:21:38 -0800 (PST) Date: Tue, 9 Feb 2010 17:21:37 -0500 Message-ID: Subject: [PATCH] drm/radeon/kms/evergreen: fix multi-head From: Alex Deucher To: Dave Airlie , DRI Development Mailing List X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_PASS SPF: sender matches SPF record -0.0 DKIM_VERIFIED Domain Keys Identified Mail: signature passes verification 0.0 DKIM_SIGNED Domain Keys Identified Mail: message has a signature 0.0 AWL AWL: From: address is in the auto white-list X-Headers-End: 1NeySm-0007MH-IF X-BeenThere: dri-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.sourceforge.net X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 09 Feb 2010 22:23:43 +0000 (UTC) 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 {