Skip to content
Snippets Groups Projects
Commit 78126348 authored by Faith Ekstrand's avatar Faith Ekstrand :speech_balloon:
Browse files

anv: Stop setting domains to RENDER on EXEC_OBJECT_WRITE


The reason we were doing this was to ensure that the kernel did the
appropriate cross-ring synchronization and flushing.  However, the
kernel only looks at EXEC_OBJECT_WRITE to determine whether or not to
insert a fence.  It only cares about the domain for determining whether
or not it needs to clflush the BO before using it for scanout but the
domain automatically gets set to RENDER internally by the kernel if
EXEC_OBJECT_WRITE is set.

Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent 6c7b7aa3
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment