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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user