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
Showing
- drivers/gpu/drm/drm_bufs.c 9 additions, 11 deletionsdrivers/gpu/drm/drm_bufs.c
- drivers/gpu/drm/drm_pci.c 2 additions, 13 deletionsdrivers/gpu/drm/drm_pci.c
- drivers/gpu/drm/drm_vm.c 4 additions, 6 deletionsdrivers/gpu/drm/drm_vm.c
- include/drm/drm_legacy.h 0 additions, 6 deletionsinclude/drm/drm_legacy.h
Loading
Please register or sign in to comment