udmabuf: use cache_sgt_mapping option
authorGurchetan Singh <gurchetansingh@chromium.org>
Tue, 3 Dec 2019 01:36:24 +0000 (17:36 -0800)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 5 Dec 2019 07:57:45 +0000 (08:57 +0100)
commitbc7a71da43b48333f84c6534ab43d240e34cf9eb
tree655b2ce36220fc8daa8980a8199a45f6d55d169f
parent02c484a89484ea189c2cac86d59d910953254aef
udmabuf: use cache_sgt_mapping option

The GEM prime helpers do it, so should we. It's also possible to make
it optional later.

Signed-off-by: Gurchetan Singh <gurchetansingh@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20191203013627.85991-1-gurchetansingh@chromium.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/dma-buf/udmabuf.c