[PATCH 1/2] drm/rockchip: create the fake mmap offset during gem creation

2015-11-16 Thread Daniel Vetter
On Tue, Nov 10, 2015 at 02:17:43PM +0800, Mark yao wrote: > Hi Heiko > I don't think this patch is needed for rockchip drm, since rockchip drm > only use kms. > I saw the discussion about ("drm/exynos: create a fake mmap offset with gem > creation"), > Inki said that: "This patch makes drm_gem

[PATCH 1/2] drm/rockchip: create the fake mmap offset during gem creation

2015-11-10 Thread Mark yao
On 2015年11月10日 17:28, Heiko Stuebner wrote: > Am Dienstag, 10. November 2015, 17:26:10 schrieb Mark yao: >> On 2015年11月10日 14:46, Heiko Stuebner wrote: >>> Hi Mark, >>> >>> Am Dienstag, 10. November 2015, 14:17:43 schrieb Mark yao: Hi Heiko I don't think this patch is

[PATCH 1/2] drm/rockchip: create the fake mmap offset during gem creation

2015-11-10 Thread Mark yao
On 2015年11月10日 14:46, Heiko Stuebner wrote: > Hi Mark, > > Am Dienstag, 10. November 2015, 14:17:43 schrieb Mark yao: >> Hi Heiko >>I don't think this patch is needed for rockchip drm, since >> rockchip drm only use kms. >> I saw the discussion about ("drm/exynos: create a fake mmap o

[PATCH 1/2] drm/rockchip: create the fake mmap offset during gem creation

2015-11-10 Thread Mark yao
Hi Heiko I don't think this patch is needed for rockchip drm, since rockchip drm only use kms. I saw the discussion about ("drm/exynos: create a fake mmap offset with gem creation"), Inki said that: "This patch makes drm_gem_create_mmap_offset to be called even in case of not using dumb* i

[PATCH 1/2] drm/rockchip: create the fake mmap offset during gem creation

2015-11-10 Thread Heiko Stuebner
Am Dienstag, 10. November 2015, 17:26:10 schrieb Mark yao: > On 2015年11月10日 14:46, Heiko Stuebner wrote: > > Hi Mark, > > > > Am Dienstag, 10. November 2015, 14:17:43 schrieb Mark yao: > >> Hi Heiko > >>I don't think this patch is needed for rockchip drm, since > >> rockchip drm only

[PATCH 1/2] drm/rockchip: create the fake mmap offset during gem creation

2015-11-10 Thread Heiko Stuebner
Hi Mark, Am Dienstag, 10. November 2015, 14:17:43 schrieb Mark yao: > Hi Heiko > I don't think this patch is needed for rockchip drm, since > rockchip drm only use kms. > I saw the discussion about ("drm/exynos: create a fake mmap offset with > gem creation"), > Inki said that: "This patch

[PATCH 1/2] drm/rockchip: create the fake mmap offset during gem creation

2015-11-09 Thread Heiko Stuebner
Similarly to the equivalent exynos-fix in commit 48cf53f4343a ("drm/exynos: create a fake mmap offset with gem creation") the rockchip drm driver also calls the drm_gem_create_mmap_offset fake-offset creation on every invocation of rockchip_gem_dumb_map_offset. Move that to the creation of the gem