Skip to content
Snippets Groups Projects
Commit fb63b1b3 authored by Kristian Høgsberg's avatar Kristian Høgsberg Committed by Emil Velikov
Browse files

freedreno/a6xx: Emit blitter dst with OUT_RELOCW


We're writing to the bo and the kernel needs to know for
fd_bo_cpu_prep() to work.

Fixes: f93e4312 ("freedreno/a6xx: Enable blitter")
Reviewed-by: default avatarRob Clark <robdclark@gmail.com>
Signed-off-by: default avatarKristian H. Kristensen <hoegsberg@chromium.org>
(cherry picked from commit 357ea7da)
parent 08834a37
No related branches found
No related tags found
No related merge requests found
......@@ -430,7 +430,7 @@ emit_blit_texture(struct fd_ringbuffer *ring, const struct pipe_blit_info *info)
OUT_RING(ring, A6XX_RB_2D_DST_INFO_COLOR_FORMAT(dfmt) |
A6XX_RB_2D_DST_INFO_TILE_MODE(dtile) |
A6XX_RB_2D_DST_INFO_COLOR_SWAP(dswap));
OUT_RELOC(ring, dst->bo, doff, 0, 0); /* RB_2D_DST_LO/HI */
OUT_RELOCW(ring, dst->bo, doff, 0, 0); /* RB_2D_DST_LO/HI */
OUT_RING(ring, A6XX_RB_2D_DST_SIZE_PITCH(dpitch));
OUT_RING(ring, 0x00000000);
OUT_RING(ring, 0x00000000);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment