aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/tegra
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2013-01-22 10:38:37 -0500
committerJonathan Herman <hermanjl@cs.unc.edu>2013-01-22 10:38:37 -0500
commitfcc9d2e5a6c89d22b8b773a64fb4ad21ac318446 (patch)
treea57612d1888735a2ec7972891b68c1ac5ec8faea /drivers/video/tegra
parent8dea78da5cee153b8af9c07a2745f6c55057fe12 (diff)
Added missing tegra files.HEADmaster
Diffstat (limited to 'drivers/video/tegra')
-rw-r--r--drivers/video/tegra/Kconfig126
-rw-r--r--drivers/video/tegra/Makefile5
-rw-r--r--drivers/video/tegra/dc/Makefile10
-rw-r--r--drivers/video/tegra/dc/dc.c3120
-rw-r--r--drivers/video/tegra/dc/dc_priv.h220
-rw-r--r--drivers/video/tegra/dc/dc_reg.h555
-rw-r--r--drivers/video/tegra/dc/dc_sysfs.c327
-rw-r--r--drivers/video/tegra/dc/dsi.c3042
-rw-r--r--drivers/video/tegra/dc/dsi.h375
-rw-r--r--drivers/video/tegra/dc/dsi_regs.h351
-rw-r--r--drivers/video/tegra/dc/edid.c619
-rw-r--r--drivers/video/tegra/dc/edid.h62
-rw-r--r--drivers/video/tegra/dc/ext/Makefile5
-rw-r--r--drivers/video/tegra/dc/ext/control.c279
-rw-r--r--drivers/video/tegra/dc/ext/cursor.c203
-rw-r--r--drivers/video/tegra/dc/ext/dev.c975
-rw-r--r--drivers/video/tegra/dc/ext/events.c197
-rw-r--r--drivers/video/tegra/dc/ext/tegra_dc_ext_priv.h147
-rw-r--r--drivers/video/tegra/dc/ext/util.c78
-rw-r--r--drivers/video/tegra/dc/hdmi.c2381
-rw-r--r--drivers/video/tegra/dc/hdmi.h222
-rw-r--r--drivers/video/tegra/dc/hdmi_reg.h478
-rw-r--r--drivers/video/tegra/dc/nvhdcp.c1259
-rw-r--r--drivers/video/tegra/dc/nvhdcp.h46
-rw-r--r--drivers/video/tegra/dc/nvsd.c906
-rw-r--r--drivers/video/tegra/dc/nvsd.h25
-rw-r--r--drivers/video/tegra/dc/rgb.c160
-rw-r--r--drivers/video/tegra/fb.c625
-rw-r--r--drivers/video/tegra/host/Makefile23
-rw-r--r--drivers/video/tegra/host/bus.c569
-rw-r--r--drivers/video/tegra/host/bus_client.c606
-rw-r--r--drivers/video/tegra/host/bus_client.h39
-rw-r--r--drivers/video/tegra/host/chip_support.h141
-rw-r--r--drivers/video/tegra/host/debug.c167
-rw-r--r--drivers/video/tegra/host/debug.h50
-rw-r--r--drivers/video/tegra/host/dev.c635
-rw-r--r--drivers/video/tegra/host/dev.h68
-rw-r--r--drivers/video/tegra/host/dsi/Makefile7
-rw-r--r--drivers/video/tegra/host/dsi/dsi.c82
-rw-r--r--drivers/video/tegra/host/gr2d/Makefile7
-rw-r--r--drivers/video/tegra/host/gr2d/gr2d.c82
-rw-r--r--drivers/video/tegra/host/gr3d/Makefile10
-rw-r--r--drivers/video/tegra/host/gr3d/gr3d.c211
-rw-r--r--drivers/video/tegra/host/gr3d/gr3d.h54
-rw-r--r--drivers/video/tegra/host/gr3d/gr3d_t20.c395
-rw-r--r--drivers/video/tegra/host/gr3d/gr3d_t20.h30
-rw-r--r--drivers/video/tegra/host/gr3d/gr3d_t30.c435
-rw-r--r--drivers/video/tegra/host/gr3d/gr3d_t30.h30
-rw-r--r--drivers/video/tegra/host/gr3d/scale3d.c661
-rw-r--r--drivers/video/tegra/host/gr3d/scale3d.h47
-rw-r--r--drivers/video/tegra/host/host1x/Makefile12
-rw-r--r--drivers/video/tegra/host/host1x/host1x_cdma.c665
-rw-r--r--drivers/video/tegra/host/host1x/host1x_cdma.h41
-rw-r--r--drivers/video/tegra/host/host1x/host1x_channel.c627
-rw-r--r--drivers/video/tegra/host/host1x/host1x_channel.h45
-rw-r--r--drivers/video/tegra/host/host1x/host1x_debug.c404
-rw-r--r--drivers/video/tegra/host/host1x/host1x_hardware.h274
-rw-r--r--drivers/video/tegra/host/host1x/host1x_hwctx.h65
-rw-r--r--drivers/video/tegra/host/host1x/host1x_intr.c218
-rw-r--r--drivers/video/tegra/host/host1x/host1x_syncpt.c248
-rw-r--r--drivers/video/tegra/host/host1x/host1x_syncpt.h77
-rw-r--r--drivers/video/tegra/host/isp/Makefile7
-rw-r--r--drivers/video/tegra/host/isp/isp.c82
-rw-r--r--drivers/video/tegra/host/mpe/Makefile7
-rw-r--r--drivers/video/tegra/host/mpe/mpe.c638
-rw-r--r--drivers/video/tegra/host/mpe/mpe.h32
-rw-r--r--drivers/video/tegra/host/nvhost_acm.c467
-rw-r--r--drivers/video/tegra/host/nvhost_acm.h60
-rw-r--r--drivers/video/tegra/host/nvhost_cdma.c508
-rw-r--r--drivers/video/tegra/host/nvhost_cdma.h133
-rw-r--r--drivers/video/tegra/host/nvhost_channel.c158
-rw-r--r--drivers/video/tegra/host/nvhost_channel.h86
-rw-r--r--drivers/video/tegra/host/nvhost_hwctx.h67
-rw-r--r--drivers/video/tegra/host/nvhost_intr.c428
-rw-r--r--drivers/video/tegra/host/nvhost_intr.h115
-rw-r--r--drivers/video/tegra/host/nvhost_job.c339
-rw-r--r--drivers/video/tegra/host/nvhost_job.h150
-rw-r--r--drivers/video/tegra/host/nvhost_syncpt.c319
-rw-r--r--drivers/video/tegra/host/nvhost_syncpt.h155
-rw-r--r--drivers/video/tegra/host/t20/Makefile8
-rw-r--r--drivers/video/tegra/host/t20/t20.c233
-rw-r--r--drivers/video/tegra/host/t20/t20.h33
-rw-r--r--drivers/video/tegra/host/t30/Makefile8
-rw-r--r--drivers/video/tegra/host/t30/t30.c251
-rw-r--r--drivers/video/tegra/host/t30/t30.h29
-rw-r--r--drivers/video/tegra/host/vi/Makefile7
-rw-r--r--drivers/video/tegra/host/vi/vi.c82
-rw-r--r--drivers/video/tegra/nvmap/Makefile7
-rw-r--r--drivers/video/tegra/nvmap/nvmap.c871
-rw-r--r--drivers/video/tegra/nvmap/nvmap.h271
-rw-r--r--drivers/video/tegra/nvmap/nvmap_common.h38
-rw-r--r--drivers/video/tegra/nvmap/nvmap_dev.c1436
-rw-r--r--drivers/video/tegra/nvmap/nvmap_handle.c1020
-rw-r--r--drivers/video/tegra/nvmap/nvmap_heap.c1113
-rw-r--r--drivers/video/tegra/nvmap/nvmap_heap.h68
-rw-r--r--drivers/video/tegra/nvmap/nvmap_ioctl.c749
-rw-r--r--drivers/video/tegra/nvmap/nvmap_ioctl.h159
-rw-r--r--drivers/video/tegra/nvmap/nvmap_mru.c187
-rw-r--r--drivers/video/tegra/nvmap/nvmap_mru.h84
99 files changed, 34228 insertions, 0 deletions
diff --git a/drivers/video/tegra/Kconfig b/drivers/video/tegra/Kconfig
new file mode 100644
index 00000000000..7de26267155
--- /dev/null
+++ b/drivers/video/tegra/Kconfig
@@ -0,0 +1,126 @@
1if ARCH_TEGRA
2
3comment "NVIDIA Tegra Display Driver options"
4
5config TEGRA_GRHOST
6 tristate "Tegra graphics host driver"
7 help
8 Driver for the Tegra graphics host hardware.
9
10config TEGRA_DC
11 tristate "Tegra Display Contoller"
12 depends on ARCH_TEGRA && TEGRA_GRHOST
13 select FB_MODE_HELPERS
14 select I2C
15 help
16 Tegra display controller support.
17
18config FB_TEGRA
19 tristate "Tegra Framebuffer driver"
20 depends on TEGRA_DC && FB = y
21 select FB_CFB_FILLRECT
22 select FB_CFB_COPYAREA
23 select FB_CFB_IMAGEBLIT
24 default FB
25 help
26 Framebuffer device support for the Tegra display controller.
27
28config TEGRA_DC_EXTENSIONS
29 bool "Tegra Display Controller Extensions"
30 depends on TEGRA_DC
31 default y
32 help
33 This exposes support for extended capabilities of the Tegra display
34 controller to userspace drivers.
35
36config TEGRA_NVMAP
37 bool "Tegra GPU memory management driver (nvmap)"
38 default y
39 help
40 Say Y here to include the memory management driver for the Tegra
41 GPU, multimedia and display subsystems
42
43config NVMAP_RECLAIM_UNPINNED_VM
44 bool "Virtualize IOVMM memory in nvmap"
45 depends on TEGRA_NVMAP && TEGRA_IOVMM
46 default y
47 help
48 Say Y here to enable nvmap to reclaim I/O virtual memory after
49 it has been unpinned, and re-use it for other handles. This can
50 allow a larger virtual I/O VM space than would normally be
51 supported by the hardware, at a slight cost in performance.
52
53config NVMAP_ALLOW_SYSMEM
54 bool "Allow physical system memory to be used by nvmap"
55 depends on TEGRA_NVMAP
56 default y
57 help
58 Say Y here to allow nvmap to use physical system memory (i.e.,
59 shared with the operating system but not translated through
60 an IOVMM device) for allocations.
61
62config NVMAP_HIGHMEM_ONLY
63 bool "Use only HIGHMEM for nvmap"
64 depends on TEGRA_NVMAP && (NVMAP_ALLOW_SYSMEM || TEGRA_IOVMM) && HIGHMEM