All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Cédric Cano" <ccano@interfaceconcept.com>
To: dri-devel@lists.freedesktop.org
Subject: [PATCH] radeon: Fix KMS CP writeback on big endian machines.
Date: Tue, 19 Apr 2011 10:23:53 +0200	[thread overview]
Message-ID: <4DAD4699.9010102@ic.fr> (raw)

Hi,

The following patch fixes interrupt acknowledge when write-back is 
enabled on big endian platform.

The same should be applied on evergreen.

Cedric

Signed-off-by: Cedric Cano<ccano at interfaceconcept.com>
---
diff -Naur linux-2.6.38.2/drivers/gpu/drm/radeon/r600.c 
linux-2.6.38.2/drivers/gpu/drm/radeon/r600.c
--- linux-2.6.38.2/drivers/gpu/drm/radeon/r600.c    2011-04-19 
09:52:13.000000000 +0200
+++ linux-2.6.38.2/drivers/gpu/drm/radeon/r600.c    2011-03-27 
20:37:20.000000000 +0200
@@ -3227,7 +3227,7 @@
      u32 wptr, tmp;

      if (rdev->wb.enabled)
-        wptr = le32_to_cpu(rdev->wb.wb[R600_WB_IH_WPTR_OFFSET/4]);
+        wptr = rdev->wb.wb[R600_WB_IH_WPTR_OFFSET/4];
      else
          wptr = RREG32(IH_RB_WPTR);

             reply	other threads:[~2011-04-19  8:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-19  8:23 Cédric Cano [this message]
2011-04-19  8:54 ` [PATCH] radeon: Fix KMS CP writeback on big endian machines Michel Dänzer
2011-04-19 10:06   ` Cédric Cano
2011-04-19 14:38   ` Cédric Cano
2011-04-19 14:53     ` Michel Dänzer
2011-04-19 15:07       ` [PATCH] drm/radeon/kms: fix IH writeback on r6xx+ " Alex Deucher
  -- strict thread matches above, loose matches on Subject: below --
2011-04-07 14:17 [PATCH] radeon: Fix KMS CP writeback " Michel Dänzer
2011-04-07 14:33 ` Alex Deucher

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=4DAD4699.9010102@ic.fr \
    --to=ccano@interfaceconcept.com \
    --cc=dri-devel@lists.freedesktop.org \
    /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.