[PATCH 3/3] drm/exynos: implement kmap/kunmap/kmap_atomic/kunmap_atomic functions of dma_buf_ops

2012-07-10 Thread Cooper Yuan
Implement kmap/kmap_atomic, kunmap/kunmap_atomic functions of dma_buf_ops. Signed-off-by: Cooper Yuan --- drivers/gpu/drm/exynos/exynos_drm_dmabuf.c | 17 +++-- 1 files changed, 11 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_dmabuf.c b/drivers/gpu

[PATCH 2/3] drm/exynos: add dmabuf mmap function

2012-07-10 Thread Cooper Yuan
implement mmap function of dma_buf_ops. Signed-off-by: Cooper Yuan --- drivers/gpu/drm/exynos/exynos_drm_dmabuf.c | 38 1 files changed, 38 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_dmabuf.c b/drivers/gpu/drm/exynos

[PATCH 1/3] drm/exynos: correct dma_buf exporter permission as ReadWrite

2012-07-10 Thread Cooper Yuan
Set dma_buf exporter permission as ReadWrite, otherwise mmap will get errno 13: permission denied. Signed-off-by: Cooper Yuan --- drivers/gpu/drm/exynos/exynos_drm_dmabuf.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_dmabuf.c b

[PATCH 3/3] drm/exynos: implement kmap/kunmap/kmap_atomic/kunmap_atomic functions of dma_buf_ops

2012-07-10 Thread Cooper Yuan
Implement kmap/kmap_atomic, kunmap/kunmap_atomic functions of dma_buf_ops. Signed-off-by: Cooper Yuan --- drivers/gpu/drm/exynos/exynos_drm_dmabuf.c | 17 +++-- 1 files changed, 11 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_dmabuf.c b/drivers/gpu

[PATCH 2/3] drm/exynos: add dmabuf mmap function

2012-07-10 Thread Cooper Yuan
implement mmap function of dma_buf_ops. Signed-off-by: Cooper Yuan --- drivers/gpu/drm/exynos/exynos_drm_dmabuf.c | 38 1 files changed, 38 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_dmabuf.c b/drivers/gpu/drm/exynos

[PATCH 1/3] drm/exynos: correct dma_buf exporter permission as ReadWrite

2012-07-10 Thread Cooper Yuan
Set dma_buf exporter permission as ReadWrite, otherwise mmap will get errno 13: permission denied. Signed-off-by: Cooper Yuan --- drivers/gpu/drm/exynos/exynos_drm_dmabuf.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_dmabuf.c b

DRI: exynos: fix buffer pitch calculation

2012-06-26 Thread Cooper Yuan
--- drivers/gpu/drm/exynos/exynos_drm_gem.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_gem.c b/drivers/gpu/drm/exynos/exynos_drm_gem.c index 5c8b683..acb9f42 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_gem.c +++ b/drivers/gpu/drm/

DRI: exynos: fix buffer pitch calculation

2012-06-26 Thread Cooper Yuan
--- drivers/gpu/drm/exynos/exynos_drm_gem.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_gem.c b/drivers/gpu/drm/exynos/exynos_drm_gem.c index 5c8b683..acb9f42 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_gem.c +++ b/drivers/gpu/drm/