diff options
author | Marek Olšák <[email protected]> | 2013-12-17 12:45:03 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-12-18 01:20:11 +0100 |
commit | 3352ff97c29a4ff3de594504886765a603899739 (patch) | |
tree | f22f04be49b6fd22caae5307078cbc389192cb08 /src/gallium | |
parent | 7963fde37b6646aef7868f9d552960e5967dd811 (diff) |
radeonsi: add the htile buffer to the CS ioctl buffer list
This may fix the GPU crashes.
Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index c1107c66001..5c185382261 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -1825,6 +1825,8 @@ static void si_db(struct r600_context *rctx, struct si_pm4_state *pm4, uint64_t va = r600_resource_va(&rctx->screen->b.b, &rtex->htile_buffer->b.b); db_htile_data_base = va >> 8; db_htile_surface = S_028ABC_FULL_CACHE(1); + + si_pm4_add_bo(pm4, rtex->htile_buffer, RADEON_USAGE_READWRITE); } else { db_htile_data_base = 0; db_htile_surface = 0; |