diff options
author | Heiko Stuebner <heiko@sntech.de> | 2015-11-09 20:52:43 +0100 |
---|---|---|
committer | Mark Yao <mark.yao@rock-chips.com> | 2015-12-02 09:13:17 +0800 |
commit | a8594f20cafadb6ba58f915dea5f2c94a9333b1a (patch) | |
tree | 5545802c21d3560827cf7c19d0e919dfd44e3da1 /drivers/gpu/drm/imx/parallel-display.c | |
parent | d7b53fd9e37a4127077720f4fef10330e284107c (diff) |
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 'drivers/gpu/drm/imx/parallel-display.c')
0 files changed, 0 insertions, 0 deletions