OSDN Git Service

dma-buf: make move_notify mandatory if importer_ops are provided
authorChristian König <christian.koenig@amd.com>
Wed, 19 Feb 2020 12:32:43 +0000 (13:32 +0100)
committerChristian König <christian.koenig@amd.com>
Thu, 27 Feb 2020 13:58:01 +0000 (14:58 +0100)
commit4981cdb063e3e94340d94338ab843bc7d80922d4
tree248245404ab4e3e1f1ad402555b3bddf383e0e7d
parentbd2275eeed5b2d33eb7718e3562bf39e46ee64d1
dma-buf: make move_notify mandatory if importer_ops are provided

This makes the move_notify callback mandatory when the importer_ops are
provided. Since amdgpu is now migrated it doesn't make much sense
anymore to allow this.

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