diff options
author | Jerome Glisse <jglisse@redhat.com> | 2012-02-13 20:42:57 -0500 |
---|---|---|
committer | Jerome Glisse <jglisse@redhat.com> | 2012-02-13 20:42:57 -0500 |
commit | 2778b56252124ef6f636a493d2e1457b43911c37 (patch) | |
tree | 2816bb0523616fd7569f9595b68cb6bec4969e13 /src/r600_exa.c | |
parent | c66ae235700f5efe64eb168327551b8f1d153c9c (diff) |
radeon: r6xx-eg use linear general when using scratch bo
In path where we need to use scratch bo as temporary area,
consider it as linear buffer. Not linear aligned. Fix some
case such as in bugs:
https://bugs.freedesktop.org/show_bug.cgi?id=45827
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Diffstat (limited to 'src/r600_exa.c')
-rw-r--r-- | src/r600_exa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/r600_exa.c b/src/r600_exa.c index 8a538964..e1eb62f1 100644 --- a/src/r600_exa.c +++ b/src/r600_exa.c @@ -278,7 +278,7 @@ R600PrepareSolid(PixmapPtr pPix, int alu, Pixel pm, Pixel fg) cb_conf.pmask |= 8; /* A */ cb_conf.rop = accel_state->rop; if (accel_state->dst_obj.tiling_flags == 0) - cb_conf.array_mode = 1; + cb_conf.array_mode = 0; r600_set_render_target(pScrn, accel_state->ib, &cb_conf, accel_state->dst_obj.domain); r600_set_spi(pScrn, accel_state->ib, 0, 0); @@ -501,7 +501,7 @@ R600DoPrepareCopy(ScrnInfoPtr pScrn) cb_conf.pmask |= 8; /* A */ cb_conf.rop = accel_state->rop; if (accel_state->dst_obj.tiling_flags == 0) - cb_conf.array_mode = 1; + cb_conf.array_mode = 0; r600_set_render_target(pScrn, accel_state->ib, &cb_conf, accel_state->dst_obj.domain); r600_set_spi(pScrn, accel_state->ib, (1 - 1), 1); @@ -1476,7 +1476,7 @@ static Bool R600PrepareComposite(int op, PicturePtr pSrcPicture, cb_conf.pmask = 0xf; cb_conf.rop = 3; if (accel_state->dst_obj.tiling_flags == 0) - cb_conf.array_mode = 1; + cb_conf.array_mode = 0; #if X_BYTE_ORDER == X_BIG_ENDIAN switch (dst_obj.bpp) { case 16: |