[PATCH] radeon: Fix KMS CP writeback on big endian machines.
Cédric Cano
ccano at interfaceconcept.com
Tue Apr 19 03:06:21 PDT 2011
Signed-off-by: Cedric Cano<ccano at interfaceconcept.com>
---
--- linux-2.6.38.2/drivers/gpu/drm/radeon/evergreen.c 2011-04-19
11:39:39.000000000 +0200
+++ /home/cec/tmp/linux-2.6.38.2/drivers/gpu/drm/radeon/evergreen.c
2011-03-27 20:37:20.000000000 +0200
@@ -2587,7 +2587,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);
Le 19/04/2011 10:54, Michel Dänzer a écrit :
> On Die, 2011-04-19 at 10:23 +0200, Cédric Cano wrote:
>> The following patch fixes interrupt acknowledge when write-back is
>> enabled on big endian platform.
>>
>> The same should be applied on evergreen.
> Can you include that in the patch? I somehow managed to miss these in my
> previous patch for older chips. :(
>
>
More information about the dri-devel
mailing list