]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: use allowed_domains for exported DMA-bufs
authorChristian König <christian.koenig@amd.com>
Mon, 6 May 2019 14:35:26 +0000 (16:35 +0200)
committerChristian König <christian.koenig@amd.com>
Thu, 27 Feb 2020 13:58:01 +0000 (14:58 +0100)
commit246b8a23e53474457c40c2698fa12f1fb22f1823
treed530b02712194fd60c7363723493a022c5def9b2
parent955efb265f36db9a196585514507a3cdf700a15f
drm/amdgpu: use allowed_domains for exported DMA-bufs

Avoid that we ping/pong the buffers when we stop to pin DMA-buf
exports by using the allowed domains for exported buffers.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/353996/?series=73646&rev=1
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c