summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorDaniel Kurtz <djkurtz@chromium.org>2015-07-07 12:03:36 +0300
committerMark Yao <mark.yao@rock-chips.com>2015-07-13 08:54:03 +0300
commit8915bf2028534832d02e0345cc5a8c0a2bae0924 (patch)
tree0977d50d23afe9b3f447ec2e7f62ab9eaed7f171 /net/lapb/lapb_timer.c
parent765c35bbd267e93eabe15a94534688ddaa0b9dc7 (diff)
downloadlinux-8915bf2028534832d02e0345cc5a8c0a2bae0924.tar.xz
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 <djkurtz@chromium.org> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: stable@vger.kernel.org
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions