Re: [PATCH v3 0/2] Default to cachable mappings for GEM SHMEM

2020-11-24 Thread Maxime Ripard
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 swit

[PATCH v3 0/2] Default to cachable mappings for GEM SHMEM

2020-11-17 Thread Thomas Zimmermann
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);