drm/tegra: Add gr2d device
authorTerje Bergstrom <tbergstrom@nvidia.com>
Fri, 22 Mar 2013 14:34:09 +0000 (16:34 +0200)
committerThierry Reding <thierry.reding@avionic-design.de>
Mon, 22 Apr 2013 10:40:04 +0000 (12:40 +0200)
commitd43f81cbaf43531a977e8b4c4427f19acf8a5061
tree76fbf323c5df37de5a29f52817ddc4953328d213
parentde2ba664c30fcdb0f678ab6cbb57e01a0b206085
drm/tegra: Add gr2d device

Add client driver for 2D device, and IOCTLs to pass work to host1x
channel for 2D.

Also adds functions that can be called to access sync points from
DRM.

Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Thierry Reding <thierry.reding@avionic-design.de>
Tested-by: Thierry Reding <thierry.reding@avionic-design.de>
Tested-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
drivers/gpu/host1x/Makefile
drivers/gpu/host1x/dev.c
drivers/gpu/host1x/drm/Kconfig
drivers/gpu/host1x/drm/drm.c
drivers/gpu/host1x/drm/drm.h
drivers/gpu/host1x/drm/gr2d.c [new file with mode: 0644]
drivers/gpu/host1x/host1x.h
include/uapi/drm/Kbuild
include/uapi/drm/tegra_drm.h [new file with mode: 0644]