mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
winsys/amdgpu: make IBs use read-only memory
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
ba59064409
commit
fef51ebcea
1 changed files with 1 additions and 0 deletions
|
|
@ -649,6 +649,7 @@ static bool amdgpu_ib_new_buffer(struct amdgpu_winsys *ws, struct amdgpu_ib *ib,
|
|||
ws->info.gart_page_size,
|
||||
RADEON_DOMAIN_GTT,
|
||||
RADEON_FLAG_NO_INTERPROCESS_SHARING |
|
||||
RADEON_FLAG_READ_ONLY |
|
||||
(ring_type == RING_GFX ||
|
||||
ring_type == RING_COMPUTE ||
|
||||
ring_type == RING_DMA ?
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue