[PATCH 1/2] drm: rockchip: Don't pass DRM fake offset to dma-api

2015-07-07 Thread Daniel Kurtz
On Sun, Apr 19, 2015 at 12:55 AM, Heiko Stübner wrote: > > Am Donnerstag, 16. April 2015, 16:41:51 schrieb Ørjan Eide: > > Set vm_pgoff to 0 after using it to look up the GEM node, before passing > > it on rockchip_gem_mmap_buf() where the offset must be from the start of > > the buffer. > > >

[PATCH 1/2] drm: rockchip: Don't pass DRM fake offset to dma-api

2015-04-20 Thread Mark yao
On 2015年04月20日 13:34, Mark yao wrote: > On 2015年04月19日 00:55, Heiko Stübner wrote: >> Am Donnerstag, 16. April 2015, 16:41:51 schrieb Ørjan Eide: >>> Set vm_pgoff to 0 after using it to look up the GEM node, before >>> passing >>> it on rockchip_gem_mmap_buf() where the offset must

[PATCH 1/2] drm: rockchip: Don't pass DRM fake offset to dma-api

2015-04-20 Thread Mark yao
On 2015年04月19日 00:55, Heiko Stübner wrote: > Am Donnerstag, 16. April 2015, 16:41:51 schrieb Ørjan Eide: >> Set vm_pgoff to 0 after using it to look up the GEM node, before passing >> it on rockchip_gem_mmap_buf() where the offset must be from the start of >> the buffer. >> >> Passing in

[PATCH 1/2] drm: rockchip: Don't pass DRM fake offset to dma-api

2015-04-20 Thread Daniel Kurtz
Hi Ørjan, On Thu, Apr 16, 2015 at 10:41 PM, Ørjan Eide wrote: > > Set vm_pgoff to 0 after using it to look up the GEM node, before passing > it on rockchip_gem_mmap_buf() where the offset must be from the start of > the buffer. > > Passing in the fake offset currently works because the >

[PATCH 1/2] drm: rockchip: Don't pass DRM fake offset to dma-api

2015-04-18 Thread Heiko Stübner
Am Donnerstag, 16. April 2015, 16:41:51 schrieb Ørjan Eide: > Set vm_pgoff to 0 after using it to look up the GEM node, before passing > it on rockchip_gem_mmap_buf() where the offset must be from the start of > the buffer. > > Passing in the fake offset currently works because the >

[PATCH 1/2] drm: rockchip: Don't pass DRM fake offset to dma-api

2015-04-16 Thread Ørjan Eide
Set vm_pgoff to 0 after using it to look up the GEM node, before passing it on rockchip_gem_mmap_buf() where the offset must be from the start of the buffer. Passing in the fake offset currently works because the dma_mmap_attrs implementation that is used for this device, arm_iommu_mmap_attrs,