Re: [PATCH v2 1/2] drm/shmem-helper: Use cached mappings by default

2020-11-07 Thread Thomas Zimmermann
affects gm12u320; cc'ing Hans Am 06.11.20 um 16:26 schrieb Thomas Zimmermann: > SHMEM-buffer backing storage is allocated from system memory; which is > typically cachable. The default mode for SHMEM objects is writecombine > though. > > Unify SHMEM semantics by defaulting to cached mappings. The

[PATCH v2 1/2] drm/shmem-helper: Use cached mappings by default

2020-11-06 Thread Thomas Zimmermann
SHMEM-buffer backing storage is allocated from system memory; which is typically cachable. The default mode for SHMEM objects is writecombine though. Unify SHMEM semantics by defaulting to cached mappings. The exception is pages imported via dma-buf. DMA memory is usually not cached. DRM drivers