mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
radv: make the indirect GFX config BO read-only for the GPU
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
0e84fc2e2b
commit
e4f2ad403f
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue