mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-19 13:38:19 +02:00
As suggested by Lionel, here adding ANV_BO_ALLOC_HOST_COHERENT and with that ANV_BO_ALLOC_HOST_CACHED_COHERENT is now defined by (ANV_BO_ALLOC_HOST_COHERENT | ANV_BO_ALLOC_HOST_CACHED). In some callers of anv_device_alloc_bo() was necessary to add ANV_BO_ALLOC_HOST_COHERENT as no other flag was set and that was the default behavior up to now. A change that could look not related is the removal of the intel_flush_range() in anv_device_init_trivial_batch(), that was done because trivial_batch_bo is HOST_COHERENT so no flush is necessary. And it did not made sense to make it ANV_BO_ALLOC_HOST_CACHED_COHERENT as it was never read in CPU. Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26457> |
||
|---|---|---|
| .. | ||
| anv_batch_chain.c | ||
| anv_batch_chain.h | ||
| anv_device.c | ||
| anv_device.h | ||
| anv_kmd_backend.c | ||
| anv_queue.c | ||
| anv_queue.h | ||