]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit445dfd32378872732b865e5b06cb5f0bbebe17dc
tree662420ba9afd29003016625d1a9ae9066d92e991
parent98cbacf1652045e4a0cce36cef78e5bb7b4fa629
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