mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
iris: mark the workaround_bo as asynchronous
Opt out of implicit synchronization for the workaround bo: we already never mark it as writable and we only write to it as part of PIPE_CONTROL synchronization requirements. Setting it as ASYNC should be enough for i915.ko to pin it. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12151>
This commit is contained in:
parent
b9129496a2
commit
b705114d9c
1 changed files with 1 additions and 1 deletions
|
|
@ -768,7 +768,7 @@ iris_init_identifier_bo(struct iris_screen *screen)
|
|||
if (!bo_map)
|
||||
return false;
|
||||
|
||||
screen->workaround_bo->kflags |= EXEC_OBJECT_CAPTURE;
|
||||
screen->workaround_bo->kflags |= EXEC_OBJECT_CAPTURE | EXEC_OBJECT_ASYNC;
|
||||
screen->workaround_address = (struct iris_address) {
|
||||
.bo = screen->workaround_bo,
|
||||
.offset = ALIGN(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue