[PATCH] fix ring write size missmatch.

Pauli Nieminen suokkos at gmail.com
Mon Feb 1 09:35:39 PST 2010


Relocation requires different size depending on if KMS is in use or not.

Signed-off-by: Pauli Nieminen <suokkos at gmail.com>
---
 src/radeon_textured_videofuncs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/radeon_textured_videofuncs.c b/src/radeon_textured_videofuncs.c
index bd3fa17..8fb1e7b 100644
--- a/src/radeon_textured_videofuncs.c
+++ b/src/radeon_textured_videofuncs.c
@@ -2697,7 +2697,7 @@ FUNC_NAME(R500DisplayTexturedVideo)(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv)
 	else
 	    bicubic_offset = pPriv->bicubic_src_offset;
 
-	BEGIN_ACCEL(6);
+	BEGIN_ACCEL_RELOC(6, 1);
 	OUT_ACCEL_REG(R300_TX_FILTER0_1, txfilter);
 	OUT_ACCEL_REG(R300_TX_FILTER1_1, 0);
 	OUT_ACCEL_REG(R300_TX_FORMAT0_1, txformat0);
-- 
1.6.3.3



More information about the xorg-driver-ati mailing list