[PATCH v2] drm/exynos: use prime helpers

2012-12-10 Thread Inki Dae
2012/12/8 Aaron Plattner > On 12/06/2012 10:36 PM, Inki Dae wrote: > >> >> Hi, >> >> CCing media guys. >> >> I agree with you but we should consider one issue released to v4l2. >> >> As you may know, V4L2-based driver uses vb2 as buffer manager and the >> vb2 includes dmabuf feature>(import and e

Re: [PATCH v2] drm/exynos: use prime helpers

2012-12-09 Thread Inki Dae
2012/12/8 Aaron Plattner > On 12/06/2012 10:36 PM, Inki Dae wrote: > >> >> Hi, >> >> CCing media guys. >> >> I agree with you but we should consider one issue released to v4l2. >> >> As you may know, V4L2-based driver uses vb2 as buffer manager and the >> vb2 includes dmabuf feature>(import and e

[PATCH v2] drm/exynos: use prime helpers

2012-12-07 Thread Inki Dae
Hi, CCing media guys. I agree with you but we should consider one issue released to v4l2. As you may know, V4L2-based driver uses vb2 as buffer manager and the vb2 includes dmabuf feature>(import and export) And v4l2 uses streaming concept>(qbuf and dqbuf) With dmabuf and iommu, generally qbuf i

Re: [PATCH v2] drm/exynos: use prime helpers

2012-12-07 Thread Aaron Plattner
On 12/06/2012 10:36 PM, Inki Dae wrote: Hi, CCing media guys. I agree with you but we should consider one issue released to v4l2. As you may know, V4L2-based driver uses vb2 as buffer manager and the vb2 includes dmabuf feature>(import and export) And v4l2 uses streaming concept>(qbuf and dqb

[PATCH v2] drm/exynos: use prime helpers

2012-12-07 Thread Aaron Plattner
On 12/06/2012 10:36 PM, Inki Dae wrote: > > Hi, > > CCing media guys. > > I agree with you but we should consider one issue released to v4l2. > > As you may know, V4L2-based driver uses vb2 as buffer manager and the > vb2 includes dmabuf feature>(import and export) And v4l2 uses streaming > concept

[PATCH v2] drm/exynos: use prime helpers

2012-12-07 Thread Daniel Vetter
On Fri, Dec 7, 2012 at 7:36 AM, Inki Dae wrote: > Thus, I'm not sure that your common set could cover all the cases including > other frameworks. Please give me any opinions. I don't think that's required - as long as it is fairly useable by many drivers a helper library is good enough. And since

Re: [PATCH v2] drm/exynos: use prime helpers

2012-12-07 Thread Daniel Vetter
On Fri, Dec 7, 2012 at 7:36 AM, Inki Dae wrote: > Thus, I'm not sure that your common set could cover all the cases including > other frameworks. Please give me any opinions. I don't think that's required - as long as it is fairly useable by many drivers a helper library is good enough. And since

Re: [PATCH v2] drm/exynos: use prime helpers

2012-12-06 Thread Inki Dae
Hi, CCing media guys. I agree with you but we should consider one issue released to v4l2. As you may know, V4L2-based driver uses vb2 as buffer manager and the vb2 includes dmabuf feature>(import and export) And v4l2 uses streaming concept>(qbuf and dqbuf) With dmabuf and iommu, generally qbuf i

[PATCH v2] drm/exynos: use prime helpers

2012-12-06 Thread Aaron Plattner
Simplify the Exynos prime implementation by using the default behavior provided by drm_gem_prime_import and drm_gem_prime_export. Signed-off-by: Aaron Plattner --- v2: fix dumb mistakes now that I have a toolchain that can compile-test this drivers/gpu/drm/exynos/exynos_drm_dmabuf.c | 156 ++---

[PATCH v2] drm/exynos: use prime helpers

2012-12-06 Thread Aaron Plattner
Simplify the Exynos prime implementation by using the default behavior provided by drm_gem_prime_import and drm_gem_prime_export. Signed-off-by: Aaron Plattner --- v2: fix dumb mistakes now that I have a toolchain that can compile-test this drivers/gpu/drm/exynos/exynos_drm_dmabuf.c | 156 ++---