dma-buf: start caching of sg_table objects v2
authorChristian König <christian.koenig@amd.com>
Tue, 3 Jul 2018 14:42:26 +0000 (16:42 +0200)
committerChristian König <christian.koenig@amd.com>
Wed, 22 May 2019 13:34:55 +0000 (15:34 +0200)
commitf13e143e7444bffc53f5c2904aeed76646da69d6
tree4ed65a0e40c79e2b9fe76755ad481457c9a19b73
parent0c7b178ad7eb68734feb21e4cfba9ea398f22668
dma-buf: start caching of sg_table objects v2

To allow a smooth transition from pinning buffer objects to dynamic
invalidation we first start to cache the sg_table for an attachment.

v2: keep closer to the DRM implementation

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.kernel.org/patch/10943053/
drivers/dma-buf/dma-buf.c
include/linux/dma-buf.h