aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorDaniel Kurtz <[email protected]>2015-07-07 17:03:36 +0800
committerDaniel Vetter <[email protected]>2015-07-07 14:04:06 +0200
commit41315b793e13f884cda79389f0d5d44d027e57d1 (patch)
tree3bff9505a4e9ed56002ce9a13a218aaf17b19b1d /scripts/gdb/linux/modules.py
parente24ff467e12e1560de753313976c46e84fa6306a (diff)
drm/rockchip: use drm_gem_mmap helpers
Rather than (incompletely [0]) re-implementing drm_gem_mmap() and drm_gem_mmap_obj() helpers, call them directly from the rockchip mmap routines. Once the core functions return successfully, the rockchip mmap routines can still use dma_mmap_attrs() to simply mmap the entire buffer. [0] Previously, we were performing the mmap() without first taking a reference on the underlying gem buffer. This could leak ptes if the gem object is destroyed while userspace is still holding the mapping. Signed-off-by: Daniel Kurtz <[email protected]> Reviewed-by: Daniel Vetter <[email protected]> Cc: [email protected] Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions