On Tue, Nov 17, 2020 at 02:31:54PM +0100, Thomas Zimmermann wrote:
> By default, SHMEM GEM helpers map pages using writecombine. Only a few
> drivers require this setting. Others revert it to default mappings
> flags. Some could benefit from caching, but don't care.
> 
> Unify the behaviour by switching the SHMEM GEM code to use cached
> mappings (i.e., PAGE_KERNEL actually); just like regular shmem memory
> does. The 3 drivers that require write combining explicitly select it
> during GEM object creation.
> 
> The exception is dma-buf imported pages, which are always mapped
> using writecombine mode.


For the whole series:
Acked-by: Maxime Ripard <mrip...@kernel.org>

Maxime

Attachment: signature.asc
Description: PGP signature

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to