From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tijl Coosemans Subject: Definition of R_0003C2_GENMO_WT seems wrong Date: Sun, 19 Dec 2010 15:48:44 +0100 Message-ID: <201012191548.52664.tijl@coosemans.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1983858026==" Return-path: Received: from mailrelay003.isp.belgacom.be (mailrelay003.isp.belgacom.be [195.238.6.53]) by gabe.freedesktop.org (Postfix) with ESMTP id 8EB489E7AD for ; Sun, 19 Dec 2010 06:48:57 -0800 (PST) Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.4/8.14.4) with ESMTP id oBJEmsiI001906 for ; Sun, 19 Dec 2010 15:48:55 +0100 (CET) (envelope-from tijl@coosemans.org) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1983858026== Content-Type: multipart/signed; boundary="nextPart4413785.9Hqi5TTLIg"; protocol="application/pgp-signature"; micalg=pgp-sha256 Content-Transfer-Encoding: 7bit --nextPart4413785.9Hqi5TTLIg Content-Type: multipart/mixed; boundary="Boundary-01=_MthDNV9hSmqnzTM" Content-Transfer-Encoding: 7bit --Boundary-01=_MthDNV9hSmqnzTM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, In drivers/gpu/drm/radeon/r100d.h R_0003C2_GENMO_WT is defined as 0x3C0. I think this should be 0x3C2. Note that the attached patch is untested. --Boundary-01=_MthDNV9hSmqnzTM Content-Type: text/x-patch; charset="ISO-8859-15"; name="drm.radeon.r100d.h.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="drm.radeon.r100d.h.diff" --- drivers/gpu/drm/radeon/r100d.h +++ drivers/gpu/drm/radeon/r100d.h @@ -551,7 +551,7 @@ #define S_000360_CUR2_LOCK(x) (((x) & 0x1) << 31) #define G_000360_CUR2_LOCK(x) (((x) >> 31) & 0x1) #define C_000360_CUR2_LOCK 0x7FFFFFFF -#define R_0003C2_GENMO_WT 0x0003C0 +#define R_0003C2_GENMO_WT 0x0003C2 #define S_0003C2_GENMO_MONO_ADDRESS_B(x) (((x) & 0x1) << 0) #define G_0003C2_GENMO_MONO_ADDRESS_B(x) (((x) >> 0) & 0x1) #define C_0003C2_GENMO_MONO_ADDRESS_B 0xFE --Boundary-01=_MthDNV9hSmqnzTM-- --nextPart4413785.9Hqi5TTLIg Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iF4EABEIAAYFAk0OG1QACgkQfoCS2CCgtivD9QD+OiJ0fQtluxvv9p+8xonCc2fP R5u6Y11Exw+RICl9STIA/0XNFW8ijggI79eKWMXFfyJzfX8Z2vLma2d4sdSgVwqJ =jjvt -----END PGP SIGNATURE----- --nextPart4413785.9Hqi5TTLIg-- --===============1983858026== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1983858026==--