summaryrefslogtreecommitdiff
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2015-11-09 22:52:43 +0300
committerMark Yao <mark.yao@rock-chips.com>2015-12-02 04:13:17 +0300
commita8594f20cafadb6ba58f915dea5f2c94a9333b1a (patch)
tree5545802c21d3560827cf7c19d0e919dfd44e3da1 /lib/dynamic_debug.c
parentd7b53fd9e37a4127077720f4fef10330e284107c (diff)
downloadlinux-a8594f20cafadb6ba58f915dea5f2c94a9333b1a.tar.xz
drm/rockchip: unset pgoff when mmap'ing gems
Commit 371f0f085f629 ("ARM: 8426/1: dma-mapping: add missing range check in dma_mmap()") introduced offset-checking for mappings, which collides with the fake-offset the drm sets for gems. Other drm-drivers set this offset to 0 before doing the mapping, so this looks like the correct way to go for rockchip as well. Fixes: 371f0f085f629 ("ARM: 8426/1: dma-mapping: add missing range check in dma_mmap()") Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions