diff options
author | 2022-05-31 13:08:56 -0700 | |
---|---|---|
committer | 2022-06-01 17:20:08 -0700 | |
commit | 036d20726c30267724416e966c9f92db07de8081 (patch) | |
tree | 67f575a67d56393d416aeb208129a956e1266428 /scripts/generate_rust_analyzer.py | |
parent | Merge tag 'msm-next-5.19-fixes-06-01' of https://gitlab.freedesktop.org/abhinavk/msm into msm-fixes-staging (diff) | |
download | linux-dev-036d20726c30267724416e966c9f92db07de8081.tar.xz linux-dev-036d20726c30267724416e966c9f92db07de8081.zip |
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 <robdclark@chromium.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20220531200857.136547-1-robdclark@gmail.com
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions