mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 11:10:10 +01:00
iris: set EXEC_OBJECT_CAPTURE on all driver internal buffers
This commit is contained in:
parent
938afd484a
commit
f838400a59
1 changed files with 6 additions and 0 deletions
|
|
@ -619,6 +619,12 @@ retry:
|
|||
bo->index = -1;
|
||||
bo->kflags = EXEC_OBJECT_SUPPORTS_48B_ADDRESS | EXEC_OBJECT_PINNED;
|
||||
|
||||
/* By default, capture all driver-internal buffers like shader kernels,
|
||||
* surface states, dynamic states, border colors, and so on.
|
||||
*/
|
||||
if (memzone < IRIS_MEMZONE_OTHER)
|
||||
bo->kflags |= EXEC_OBJECT_CAPTURE;
|
||||
|
||||
if (bo->gtt_offset == 0ull) {
|
||||
bo->gtt_offset = vma_alloc(bufmgr, memzone, bo->size, 1);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue