diff options
author | Rob Clark <[email protected]> | 2019-05-03 06:22:08 -0700 |
---|---|---|
committer | Rob Clark <[email protected]> | 2019-05-04 11:50:44 -0700 |
commit | fb1488a8000bf9ad93250500aa7e305ada94cdc6 (patch) | |
tree | 77f7e39923c93a09bc6b0047c402da0de15b9b1d /src/gallium/drivers/freedreno/a6xx | |
parent | 8c97b3c5466e45f5139040e17c136d62fdd31c8a (diff) |
freedreno/a6xx: OUT_RELOC vs OUT_RELOCW fixes
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a6xx')
-rw-r--r-- | src/gallium/drivers/freedreno/a6xx/fd6_blitter.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_blitter.c b/src/gallium/drivers/freedreno/a6xx/fd6_blitter.c index f16eda74456..ba1f17905ae 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_blitter.c +++ b/src/gallium/drivers/freedreno/a6xx/fd6_blitter.c @@ -311,7 +311,7 @@ emit_blit_buffer(struct fd_ringbuffer *ring, const struct pipe_blit_info *info) A6XX_RB_2D_DST_INFO_TILE_MODE(dst->tile_mode) | A6XX_RB_2D_DST_INFO_COLOR_SWAP(WZYX) | COND(fd6_ubwc_enabled(dst, dst->tile_mode), A6XX_RB_2D_DST_INFO_FLAGS)); - OUT_RELOC(ring, dst->bo, doff + dst->offset, 0, 0); /* RB_2D_DST_LO/HI */ + OUT_RELOCW(ring, dst->bo, doff + dst->offset, 0, 0); /* RB_2D_DST_LO/HI */ OUT_RING(ring, A6XX_RB_2D_DST_SIZE_PITCH(p)); OUT_RING(ring, 0x00000000); OUT_RING(ring, 0x00000000); @@ -321,7 +321,7 @@ emit_blit_buffer(struct fd_ringbuffer *ring, const struct pipe_blit_info *info) if (fd6_ubwc_enabled(dst, dst->tile_mode)) { OUT_PKT4(ring, REG_A6XX_RB_2D_DST_FLAGS_LO, 6); - OUT_RELOC(ring, dst->bo, doff + dst->ubwc_offset, 0, 0); + OUT_RELOCW(ring, dst->bo, doff + dst->ubwc_offset, 0, 0); OUT_RING(ring, A6XX_RB_MRT_FLAG_BUFFER_PITCH_PITCH(dst->ubwc_pitch) | A6XX_RB_MRT_FLAG_BUFFER_PITCH_ARRAY_PITCH(dst->ubwc_size)); OUT_RING(ring, 0x00000000); @@ -517,7 +517,7 @@ emit_blit_texture(struct fd_ringbuffer *ring, const struct pipe_blit_info *info) if (fd6_ubwc_enabled(dst, dtile)) { OUT_PKT4(ring, REG_A6XX_RB_2D_DST_FLAGS_LO, 6); - OUT_RELOC(ring, dst->bo, doff + dst->ubwc_offset, 0, 0); + OUT_RELOCW(ring, dst->bo, doff + dst->ubwc_offset, 0, 0); OUT_RING(ring, A6XX_RB_MRT_FLAG_BUFFER_PITCH_PITCH(dst->ubwc_pitch) | A6XX_RB_MRT_FLAG_BUFFER_PITCH_ARRAY_PITCH(dst->ubwc_size)); OUT_RING(ring, 0x00000000); |