[PATCH 0/4] updated exynos-drm-next
inki.dae at samsung.com
Mon Apr 23 06:43:10 PDT 2012
this patch set adds the following features:
cache attribute support
- user can set cache attributes(such as cachable, non-cachable or writecombime)
to the buffer to be allocated by gem framework.
drm prime support
- this feature had recentrly been introduced to share a buffer between drivers
using dmabuf(known as UMM) and this patch adds exynos specific codes for it.
and this module had already been tested by Tomsz and for this, you can refer
to link below:
userptr feature support
- this feature could be used to use the memory region allocated by malloc() in
user mode and mmaped memory region allocated by other memory allocators.
- this feature could be used to get information to the gem buffer allocated
for now, this patch set is based on exynos-drm-fixes branch just for review
but after that this will be rebased into exynos-drm-next to drm-next.
and we will introduce new features soon like below:
Graphics 2D Accelerator
- used to draw 2d graphic primitives as direct rendering way and
this module had been introduced before but not merged because of
- used to rotate some image in gem buffer into 0, 90 180 or 270 degree.
this module havn't been introduced yet so may be first to mainline.
- used to scale up/down, colospace conversion(RGB<->YUV) and also rotation.
this module had mainly been used for v4l2-based drivers such as camera,
video hardware codec and so on.
Inki Dae (4):
drm/exynos: added cache attribute support for gem.
drm/exynos: added drm prime feature.
drm/exynos: added userptr feature.
drm/exynos: added a feature to get gem buffer information.
drivers/gpu/drm/exynos/Kconfig | 6 +
drivers/gpu/drm/exynos/Makefile | 1 +
drivers/gpu/drm/exynos/exynos_drm_buf.c | 12 +-
drivers/gpu/drm/exynos/exynos_drm_dmabuf.c | 272 ++++++++++++++++++++++
drivers/gpu/drm/exynos/exynos_drm_dmabuf.h | 39 +++
drivers/gpu/drm/exynos/exynos_drm_drv.c | 14 +-
drivers/gpu/drm/exynos/exynos_drm_gem.c | 347 +++++++++++++++++++++++++++-
drivers/gpu/drm/exynos/exynos_drm_gem.h | 25 ++-
include/drm/exynos_drm.h | 55 +++++-
9 files changed, 749 insertions(+), 22 deletions(-)
create mode 100644 drivers/gpu/drm/exynos/exynos_drm_dmabuf.c
create mode 100644 drivers/gpu/drm/exynos/exynos_drm_dmabuf.h
More information about the dri-devel