diff options
author | Noralf Trønnes <[email protected]> | 2018-11-10 15:56:46 +0100 |
---|---|---|
committer | Noralf Trønnes <[email protected]> | 2018-11-20 14:57:25 +0100 |
commit | b9068cde51eea189c2c3560a9a8ae83f7b213c9c (patch) | |
tree | a0fccbb4bbbdb067c68070e53d64844659b9f70e /fs/ubifs/commit.c | |
parent | b39b5394fabc79acbaafb26b777fd348c868bf7e (diff) |
drm/cma-helper: Add DRM_GEM_CMA_VMAP_DRIVER_OPS
This adds functionality to the CMA helper which ensures that the kernel
virtual address is set on the CMA GEM object also for imported buffers.
The drivers have been audited to ensure that none set ->vaddr on imported
buffers, making the conditional dma_buf_vunmap() call in
drm_gem_cma_free_object() safe.
Signed-off-by: Noralf Trønnes <[email protected]>
Acked-by: Christian König <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions