<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
Sorry, I've done a patch in reverse mode :(.<br>
<br>
I repost the patch for r600 and evergreen write back correction for
big endian platforms.<br>
<br>
Cedric<br>
<br>
Signed-off-by: Cedric Cano <ccano at interfaceconcept.com><br>
---<br>
diff -Nuar linux-2.6.38.2/drivers/gpu/drm/radeon/evergreen.c
linux-2.6.38.2/drivers/gpu/drm/radeon/evergreen.c<br>
--- linux-2.6.38.2/drivers/gpu/drm/radeon/evergreen.c 2011-03-27
20:37:20.000000000 +0200<br>
+++ linux-2.6.38.2/drivers/gpu/drm/radeon/evergreen.c 2011-04-19
11:39:39.000000000 +0200<br>
@@ -2587,7 +2587,7 @@<br>
u32 wptr, tmp;<br>
<br>
if (rdev->wb.enabled)<br>
- wptr = rdev->wb.wb[R600_WB_IH_WPTR_OFFSET/4];<br>
+ wptr =
le32_to_cpu(rdev->wb.wb[R600_WB_IH_WPTR_OFFSET/4]);<br>
else<br>
wptr = RREG32(IH_RB_WPTR);<br>
<br>
<br>
diff -Nuar linux-2.6.38.2/drivers/gpu/drm/radeon/r600.c
linux-2.6.38.2/drivers/gpu/drm/radeon/r600.c<br>
--- linux-2.6.38.2/drivers/gpu/drm/radeon/r600.c 2011-03-27
20:37:20.000000000 +0200<br>
+++ linux-2.6.38.2/drivers/gpu/drm/radeon/r600.c 2011-04-19
09:52:13.000000000 +0200<br>
@@ -3227,7 +3227,7 @@<br>
u32 wptr, tmp;<br>
<br>
if (rdev->wb.enabled)<br>
- wptr = rdev->wb.wb[R600_WB_IH_WPTR_OFFSET/4];<br>
+ wptr =
le32_to_cpu(rdev->wb.wb[R600_WB_IH_WPTR_OFFSET/4]);<br>
else<br>
wptr = RREG32(IH_RB_WPTR);<br>
<br>
<br>
<br>
<br>
Le 19/04/2011 10:54, Michel Dänzer a écrit :<br>
<span style="white-space: pre;">> On Die, 2011-04-19 at 10:23
+0200, Cédric Cano wrote:<br>
>> <br>
>> The following patch fixes interrupt acknowledge when
write-back is<br>
>> enabled on big endian platform.<br>
>> <br>
>> The same should be applied on evergreen.<br>
> <br>
> Can you include that in the patch? I somehow managed to miss
these in<br>
> my previous patch for older chips. :(<br>
> <br>
> </span><br>
<br>
</body>
</html>