Re: [PATCH v2] drm/etnaviv: fix DMA direction handling for cached RW buffers

2024-06-24 Thread Christian Gmeiner
> > The dma sync operation needs to be done with DMA_BIDIRECTIONAL when > the BO is prepared for both read and write operations. > > Fixes: a8c21a5451d8 ("drm/etnaviv: add initial etnaviv DRM driver") > Signed-off-by: Lucas Stach Reviewed-by: Christian Gmeiner > --- > v2: switch conditions to b

Re: [PATCH v2] drm/etnaviv: fix DMA direction handling for cached RW buffers

2024-06-24 Thread Philipp Zabel
On Fr, 2024-06-21 at 19:11 +0200, Lucas Stach wrote: > The dma sync operation needs to be done with DMA_BIDIRECTIONAL when > the BO is prepared for both read and write operations. > > Fixes: a8c21a5451d8 ("drm/etnaviv: add initial etnaviv DRM driver") > Signed-off-by: Lucas Stach Reviewed-by: Ph

[PATCH v2] drm/etnaviv: fix DMA direction handling for cached RW buffers

2024-06-21 Thread Lucas Stach
The dma sync operation needs to be done with DMA_BIDIRECTIONAL when the BO is prepared for both read and write operations. Fixes: a8c21a5451d8 ("drm/etnaviv: add initial etnaviv DRM driver") Signed-off-by: Lucas Stach --- v2: switch conditions to be exact matches --- drivers/gpu/drm/etnaviv/etna