diff options
author | Thierry Reding <thierry.reding@avionic-design.de> | 2012-11-15 16:28:23 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-11-20 00:43:53 -0500 |
commit | edec4af4c3d6d225578290a9acc38c78147df55b (patch) | |
tree | 1435e5f1b6d5c30861acefe33f379bc678658b41 /drivers/gpu/drm/tegra/drm.h | |
parent | d8f4a9eda006788d8054b8500d9eb5b6efcd8755 (diff) |
drm: tegra: Add HDMI support
This commit adds support for the HDMI output on the Tegra20 SoC. Only
one such output is available, but it can be driven by either of the two
display controllers.
A lot of work on this patch has been contributed by NVIDIA's Mark Zhang
<markz@nvidia.com> and many other people at NVIDIA were very helpful in
getting the HDMI support and surrounding infrastructure to work.
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Tested-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Mark Zhang <markz@nvidia.com>
Reviewed-by: Mark Zhang <markz@nvidia.com>
Tested-by: Mark Zhang <markz@nvidia.com>
Tested-and-acked-by: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/drm.h')
-rw-r--r-- | drivers/gpu/drm/tegra/drm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/drm.h b/drivers/gpu/drm/tegra/drm.h index d502a0395190..3a843a77ddc7 100644 --- a/drivers/gpu/drm/tegra/drm.h +++ b/drivers/gpu/drm/tegra/drm.h | |||
@@ -130,6 +130,7 @@ struct tegra_output_ops { | |||
130 | 130 | ||
131 | enum tegra_output_type { | 131 | enum tegra_output_type { |
132 | TEGRA_OUTPUT_RGB, | 132 | TEGRA_OUTPUT_RGB, |
133 | TEGRA_OUTPUT_HDMI, | ||
133 | }; | 134 | }; |
134 | 135 | ||
135 | struct tegra_output { | 136 | struct tegra_output { |
@@ -226,6 +227,7 @@ extern int tegra_drm_fb_init(struct drm_device *drm); | |||
226 | extern void tegra_drm_fb_exit(struct drm_device *drm); | 227 | extern void tegra_drm_fb_exit(struct drm_device *drm); |
227 | 228 | ||
228 | extern struct platform_driver tegra_host1x_driver; | 229 | extern struct platform_driver tegra_host1x_driver; |
230 | extern struct platform_driver tegra_hdmi_driver; | ||
229 | extern struct platform_driver tegra_dc_driver; | 231 | extern struct platform_driver tegra_dc_driver; |
230 | extern struct drm_driver tegra_drm_driver; | 232 | extern struct drm_driver tegra_drm_driver; |
231 | 233 | ||