Christoph Bumiller
2009-Jul-28 22:51 UTC
[PATCH 3/8] nv50: fix sx/dx typo in transfer_rect_m2mf
--- src/gallium/drivers/nv50/nv50_transfer.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/nv50/nv50_transfer.c b/src/gallium/drivers/nv50/nv50_transfer.c index d0b7f0b..6ff3759 100644 --- a/src/gallium/drivers/nv50/nv50_transfer.c +++ b/src/gallium/drivers/nv50/nv50_transfer.c @@ -76,13 +76,13 @@ nv50_transfer_rect_m2mf(struct pipe_screen *pscreen, struct nouveau_bo *src_bo, OUT_RELOCl(chan, dst_bo, dst_offset, dst_reloc); if (src_bo->tile_flags) { BEGIN_RING(chan, m2mf, 0x0218, 1); - OUT_RING (chan, (dy << 16) | sx); + OUT_RING (chan, (sy << 16) | sx); } else { src_offset += (line_count * src_pitch); } if (dst_bo->tile_flags) { BEGIN_RING(chan, m2mf, 0x0234, 1); - OUT_RING (chan, (sy << 16) | dx); + OUT_RING (chan, (dy << 16) | dx); } else { dst_offset += (line_count * dst_pitch); } -- 1.6.3.3 --------------030109060900080900080804 Content-Type: text/plain; name="0004-nv50-TIC-TSC-fixes-and-additions.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="0004-nv50-TIC-TSC-fixes-and-additions.patch"