diff options
author | Rob Clark <[email protected]> | 2022-05-31 13:08:56 -0700 |
---|---|---|
committer | Rob Clark <[email protected]> | 2022-06-01 17:20:08 -0700 |
commit | 036d20726c30267724416e966c9f92db07de8081 (patch) | |
tree | 67f575a67d56393d416aeb208129a956e1266428 /include/linux/fpga/fpga-mgr.h | |
parent | af0f2a8cc3977e08e79a096f0c2c7a5be29b130b (diff) |
drm/msm: Ensure mmap offset is initialized
If a GEM object is allocated, and then exported as a dma-buf fd which is
mmap'd before or without the GEM buffer being directly mmap'd, the
vma_node could be unitialized. This leads to a situation where the CPU
mapping is not correctly torn down in drm_vma_node_unmap().
Fixes: e5516553999f ("drm: call drm_gem_object_funcs.mmap with fake offset")
Signed-off-by: Rob Clark <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions