projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7963fde
)
radeonsi: add the htile buffer to the CS ioctl buffer list
author
Marek Olšák
<marek.olsak@amd.com>
Tue, 17 Dec 2013 11:45:03 +0000
(12:45 +0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Wed, 18 Dec 2013 00:20:11 +0000
(
01:20
+0100)
This may fix the GPU crashes.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/radeonsi/si_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_state.c
b/src/gallium/drivers/radeonsi/si_state.c
index c1107c66001773ae2b4f4950a34ea17f4fb6f6c2..5c185382261f1752b7f3b0fec801313bb788616d 100644
(file)
--- 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;