diff options
author | Dave Airlie <airlied@redhat.com> | 2013-11-05 10:21:00 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-11-05 10:21:00 +0400 |
commit | 90c37067b70d6090a316227698a0cba40f8003bd (patch) | |
tree | b556c667fb57da57c8323e069df27f1d5297c214 /drivers/gpu/host1x/bus.h | |
parent | cc87509d87696d7cd393882f5dedea01e03e41a9 (diff) | |
parent | 977386a04bae2a5a5092c965c92c7c4d36eed23f (diff) | |
download | linux-90c37067b70d6090a316227698a0cba40f8003bd.tar.xz |
Merge tag 'drm/for-3.13-rc1' of git://anongit.freedesktop.org/tegra/linux into drm-next
drm/tegra: Changes for v3.13-rc1
The biggest part of the changes is the decoupling of the host1x and DRM
drivers followed by the move of Tegra DRM back to drivers/gpu/drm/tegra
from whence it came. There is a lot of cleanup as well, and the drivers
can now be properly unloaded and reloaded.
HDMI support for the Tegra114 SoC was contributed by Mikko Perttunen.
gr2d support was extended to Tegra114 and the gr3d driver that has been
in the works for quite some time finally made it in. All pieces to run
an OpenGL driver on top of an upstream kernel are now available.
Support for syncpoint bases was added by Arto Merilainen. This is useful
for synchronizing between command streams from different engines such as
gr2d and gr3d.
Erik Faye-Lund and Wei Yongjun contributed various small fixes. Thanks!
* tag 'drm/for-3.13-rc1' of git://anongit.freedesktop.org/tegra/linux: (45 commits)
drm/tegra: Reserve syncpoint base for gr3d
drm/tegra: Reserve base for gr2d
drm/tegra: Deliver syncpoint base to user space
gpu: host1x: Add syncpoint base support
gpu: host1x: Add 'flags' field to syncpt request
drm/tegra: Disable clock on probe failure
gpu: host1x: Disable clock on probe failure
drm/tegra: Support bottom-up buffer objects
drm/tegra: Add support for tiled buffer objects
drm/tegra: Add 3D support
drm/tegra: Introduce tegra_drm_submit()
drm/tegra: Use symbolic names for gr2d registers
drm/tegra: Start connectors with correct DPMS mode
drm/tegra: hdmi: Enable VDD earlier for hotplug/DDC
drm/tegra: hdmi: Fix build warnings
drm/tegra: hdmi: Detect DVI-only displays
drm/tegra: Add Tegra114 HDMI support
drm/tegra: hdmi: Parameterize based on compatible property
drm/tegra: hdmi: Rename tegra{2,3} to tegra{20,30}
gpu: host1x: Add support for Tegra114
...
Diffstat (limited to 'drivers/gpu/host1x/bus.h')
-rw-r--r-- | drivers/gpu/host1x/bus.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/drivers/gpu/host1x/bus.h b/drivers/gpu/host1x/bus.h new file mode 100644 index 000000000000..4099e99212c8 --- /dev/null +++ b/drivers/gpu/host1x/bus.h @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2012 Avionic Design GmbH + * Copyright (C) 2012-2013, NVIDIA Corporation + * + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions of the GNU General Public License, + * version 2, as published by the Free Software Foundation. + * + * This program is distributed in the hope it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef HOST1X_BUS_H +#define HOST1X_BUS_H + +struct host1x; + +int host1x_bus_init(void); +void host1x_bus_exit(void); + +int host1x_register(struct host1x *host1x); +int host1x_unregister(struct host1x *host1x); + +#endif |