projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e84fc2
)
radv: make the indirect GFX config BO read-only for the GPU
author
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Tue, 5 Dec 2017 13:20:50 +0000
(14:20 +0100)
committer
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Mon, 8 Jan 2018 20:24:47 +0000
(21:24 +0100)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/si_cmd_buffer.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/si_cmd_buffer.c
b/src/amd/vulkan/si_cmd_buffer.c
index e16765b5aec01c5432e10b737ea7aa058dd9db85..f5f4eefcd28373ae23adcb4b4caf52a996f6e362 100644
(file)
--- a/
src/amd/vulkan/si_cmd_buffer.c
+++ b/
src/amd/vulkan/si_cmd_buffer.c
@@
-568,7
+568,8
@@
cik_create_gfx_config(struct radv_device *device)
cs->cdw * 4, 4096,
RADEON_DOMAIN_GTT,
RADEON_FLAG_CPU_ACCESS|
- RADEON_FLAG_NO_INTERPROCESS_SHARING);
+ RADEON_FLAG_NO_INTERPROCESS_SHARING |
+ RADEON_FLAG_READ_ONLY);
if (!device->gfx_init)
goto fail;