Re: [PATCH v3] drm/amdgpu: Add EXT_COHERENCE memory allocation flags

2023-07-27 Thread Felix Kuehling
In amdgpu_dma_buf_create_obj we copy the coherence-related flags to the SG BO that's used to attach the BO to the importer device. You need to add the new flag to the list. Some more nit-picks inline. Am 2023-07-26 um 09:34 schrieb David Francis: These flags (for GEM and SVM allocations)

[PATCH v3] drm/amdgpu: Add EXT_COHERENCE memory allocation flags

2023-07-26 Thread David Francis
These flags (for GEM and SVM allocations) allocate memory that allows for system-scope atomic semantics. On GFX943 these flags cause caches to be avoided on non-local memory. On all other ASICs they are identical in functionality to the equivalent COHERENT flags. Corresponding Thunk patch is at