dma-buf: drop dynamic_mapping flag
authorChristian König <christian.koenig@amd.com>
Tue, 18 Feb 2020 15:57:24 +0000 (16:57 +0100)
committerChristian König <christian.koenig@amd.com>
Thu, 27 Feb 2020 13:58:01 +0000 (14:58 +0100)
commitbd2275eeed5b2d33eb7718e3562bf39e46ee64d1
tree662420ba9afd29003016625d1a9ae9066d92e991
parenta448cb003edcb4b63d0a9c95f3faab724e6150fb
dma-buf: drop dynamic_mapping flag

Instead use the pin() callback to detect dynamic DMA-buf handling.
Since amdgpu is now migrated it doesn't make much sense to keep
the extra flag.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/353997/?series=73646&rev=1
drivers/dma-buf/dma-buf.c
drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c
include/linux/dma-buf.h