diff options
author | Noralf Trønnes <noralf@tronnes.org> | 2018-11-10 15:56:46 +0100 |
---|---|---|
committer | Noralf Trønnes <noralf@tronnes.org> | 2018-11-20 14:57:25 +0100 |
commit | b9068cde51eea189c2c3560a9a8ae83f7b213c9c (patch) | |
tree | a0fccbb4bbbdb067c68070e53d64844659b9f70e /drivers/clk/microchip | |
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 <noralf@tronnes.org>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20181110145647.17580-5-noralf@tronnes.org
Diffstat (limited to 'drivers/clk/microchip')
0 files changed, 0 insertions, 0 deletions