]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Remove the dma_alloc_coherent wrapper for internal usage
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 2 Feb 2020 17:16:32 +0000 (17:16 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 4 Feb 2020 23:57:26 +0000 (23:57 +0000)
commitef1d514da8b84064e0429675f4eacb6d235e32e2
tree914eda35fd9a24e7709856db81cadfea08c1d7d2
parent3808f0e747f464abc80380eaa5a07b42432ecc5e
drm: Remove the dma_alloc_coherent wrapper for internal usage

Internally for "consistent" maps, we create a temporary struct
drm_dma_handle in order to use our own dma_alloc_coherent wrapper then
destroy the temporary wrap. Simplify our logic by removing the temporary
wrapper!

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200202171635.4039044-2-chris@chris-wilson.co.uk
drivers/gpu/drm/drm_bufs.c
drivers/gpu/drm/drm_pci.c
drivers/gpu/drm/drm_vm.c
include/drm/drm_legacy.h