diff options
author | Corbin Simpson <[email protected]> | 2009-05-20 07:18:08 -0700 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-05-20 07:18:08 -0700 |
commit | 4550423211063010a2fa482037d8233bb80e3773 (patch) | |
tree | 3a6950411164482f6a0280f677520e52ff31da19 /src/gallium/drivers/r300/r300_cs.h | |
parent | 0c75cb5afe81b0de9d006f9f9b75fdc9a15038d0 (diff) |
radeon-gallium: Don't permit reading and writing a BO in one CS.
This fixes some silent problems in current libdrm_radeon.
surface_copy still locks up hard.
Diffstat (limited to 'src/gallium/drivers/r300/r300_cs.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_cs.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_cs.h b/src/gallium/drivers/r300/r300_cs.h index 82a3942248e..2abf04d27eb 100644 --- a/src/gallium/drivers/r300/r300_cs.h +++ b/src/gallium/drivers/r300/r300_cs.h @@ -93,8 +93,9 @@ } while (0) #define OUT_CS_RELOC(bo, offset, rd, wd, flags) do { \ - debug_printf("r300: writing relocation for buffer %p, offset %d\n", \ - bo, offset); \ + debug_printf("r300: writing relocation for buffer %p, offset %d, " \ + "domains (%d, %d, %d)\n", \ + bo, offset, rd, wd, flags); \ assert(bo); \ OUT_CS(offset); \ cs_winsys->write_cs_reloc(cs_winsys, bo, rd, wd, flags); \ |