diff options
author | Roland Scheidegger <sroland@tungstengraphics.com> | 2009-08-29 12:11:03 +0200 |
---|---|---|
committer | Roland Scheidegger <sroland@tungstengraphics.com> | 2009-08-29 12:11:03 +0200 |
commit | 6521dbf3884185ca5692d35d879d251890cc4f08 (patch) | |
tree | 8b9b937c2b04bb19c3090424e5428550c49df8b6 | |
parent | 39dfac41eebbcdacb1ae0c17cea325ea2966c4a5 (diff) |
r100/r200: fix section size mismatch for textured video
this fixes the driver complaining though reportedly it still does
not work (on r100)
-rw-r--r-- | src/radeon_textured_videofuncs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/radeon_textured_videofuncs.c b/src/radeon_textured_videofuncs.c index 1d6b2e7..35fc316 100644 --- a/src/radeon_textured_videofuncs.c +++ b/src/radeon_textured_videofuncs.c @@ -218,7 +218,7 @@ FUNC_NAME(RADEONDisplayTexturedVideo)(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv txpitch = ((pPriv->src_pitch >> 1) + 63) & ~63; txpitch -= 32; - BEGIN_ACCEL(23); + BEGIN_ACCEL_RELOC(23, 3); OUT_ACCEL_REG(RADEON_SE_VTX_FMT, (RADEON_SE_VTX_FMT_XY | RADEON_SE_VTX_FMT_ST0 | @@ -307,7 +307,7 @@ FUNC_NAME(RADEONDisplayTexturedVideo)(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv FINISH_ACCEL(); } else { vtx_count = 4; - BEGIN_ACCEL(9); + BEGIN_ACCEL_RELOC(9, 1); OUT_ACCEL_REG(RADEON_SE_VTX_FMT, (RADEON_SE_VTX_FMT_XY | RADEON_SE_VTX_FMT_ST0)); @@ -643,7 +643,7 @@ FUNC_NAME(R200DisplayTexturedVideo)(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv) txpitch = ((pPriv->src_pitch >> 1) + 63) & ~63; txpitch -= 32; - BEGIN_ACCEL(36); + BEGIN_ACCEL_RELOC(36, 3); OUT_ACCEL_REG(RADEON_PP_CNTL, RADEON_TEX_0_ENABLE | RADEON_TEX_1_ENABLE | RADEON_TEX_2_ENABLE | @@ -801,7 +801,7 @@ FUNC_NAME(R200DisplayTexturedVideo)(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv) } else { vtx_count = 4; - BEGIN_ACCEL(24); + BEGIN_ACCEL_RELOC(24, 1); OUT_ACCEL_REG(RADEON_PP_CNTL, RADEON_TEX_0_ENABLE | |