From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?C=E9dric_Cano?= Subject: R600 definition error for interrupt handler swap Date: Wed, 01 Feb 2012 10:33:57 +0100 Message-ID: <4F290705.4080506@ic.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Content-Transfer-Encoding: quoted-printable Return-path: Received: from smtp-out06.msg.oleane.net (smtp-out06.msg.oleane.net [62.161.7.4]) by gabe.freedesktop.org (Postfix) with ESMTP id 9F5989E762 for ; Wed, 1 Feb 2012 09:15:11 -0800 (PST) Received: from smtp03.msg.oleane.net (smtp03.mail.priv [172.17.20.112]) by smtp-out06.msg.oleane.net with ESMTP id q119s2jw027594 for ; Wed, 1 Feb 2012 10:54:02 +0100 Received: from ic.fr (LDijon-156-65-26-47.w80-15.abo.wanadoo.fr [80.15.105.47]) by smtp03.msg.oleane.net (MTA) with ESMTP id q119XwK1005957 for ; Wed, 1 Feb 2012 10:33:58 +0100 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 Cc: icthj List-Id: dri-devel@lists.freedesktop.org Hello, We're trying to use R600 DRM driver with big endian architecture. We = find the following error in R600 definition of interrupt handler swap. Perhaps there's the same error in the evergreen definitions header file. Cedric Signed-off-by: C=E9dric Cano Signed-off-by: Thomas Jourdan --- diff -Naur linux-3.2.2/drivers/gpu/drm/radeon/r600d.h = linux-3.2.2/drivers/gpu/drm/radeon/r600d.h --- linux-3.2.2/drivers/gpu/drm/radeon/r600d.h 2012-01-26 = 01:39:32.000000000 +0100 +++ linux-3.2.2/drivers/gpu/drm/radeon/r600d.h 2012-02-01 = 10:25:04.000000000 +0100 @@ -552,7 +552,7 @@ #define IH_RB_WPTR_ADDR_LO 0x3e14 #define IH_CNTL 0x3e18 # define ENABLE_INTR (1 << 0) -# define IH_MC_SWAP(x) ((x) << 1) +# define IH_MC_SWAP(x) ((x) << 2) # define IH_MC_SWAP_NONE 0 # define IH_MC_SWAP_16BIT 1 # define IH_MC_SWAP_32BIT 2 --