From: "Cédric Cano" <ccano@interfaceconcept.com>
To: dri-devel@lists.freedesktop.org
Cc: icthj <tjourdan@interfaceconcept.com>
Subject: R600 definition error for interrupt handler swap
Date: Wed, 01 Feb 2012 10:33:57 +0100 [thread overview]
Message-ID: <4F290705.4080506@ic.fr> (raw)
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édric Cano <ccano@interfaceconcept.com>
Signed-off-by: Thomas Jourdan <tjourdan@interfaceconcept.com>
---
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
--
next reply other threads:[~2012-02-01 17:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-01 9:33 Cédric Cano [this message]
2012-02-01 19:46 ` R600 definition error for interrupt handler swap Alex Deucher
2012-02-02 8:42 ` Cédric Cano
2012-02-02 9:09 ` Michel Dänzer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F290705.4080506@ic.fr \
--to=ccano@interfaceconcept.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=tjourdan@interfaceconcept.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.