projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5068dec
)
radeonsi: make allocator_zeroed_memory unmappable and use bigger buffers
author
Marek Olšák
<marek.olsak@amd.com>
Wed, 30 Jan 2019 19:29:36 +0000
(14:29 -0500)
committer
Marek Olšák
<marek.olsak@amd.com>
Wed, 6 Feb 2019 16:17:21 +0000
(11:17 -0500)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_pipe.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_pipe.c
b/src/gallium/drivers/radeonsi/si_pipe.c
index
98059dd
..
c6f93e7
100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_pipe.c
+++ b/
src/gallium/drivers/radeonsi/si_pipe.c
@@
-430,8
+430,9
@@
static struct pipe_context *si_create_context(struct pipe_screen *screen,
}
sctx->allocator_zeroed_memory =
- u_suballocator_create(&sctx->b,
sscreen->info.gart_page_size
,
+ u_suballocator_create(&sctx->b,
128 * 1024
,
0, PIPE_USAGE_DEFAULT,
+ SI_RESOURCE_FLAG_UNMAPPABLE |
SI_RESOURCE_FLAG_CLEAR, false);
if (!sctx->allocator_zeroed_memory)
goto fail;