Heiko Stuebner a8594f20ca 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>
2015-12-02 09:13:17 +08:00
..
2015-11-05 11:07:13 +10:00
2015-10-19 11:00:44 +02:00
2015-09-30 10:44:48 +02:00
2015-09-30 10:44:48 +02:00
2015-09-24 17:18:41 +02:00
2015-10-16 15:50:57 +02:00
2015-09-30 10:44:48 +02:00
2015-09-30 10:44:48 +02:00
2015-09-30 10:44:48 +02:00