drm.h (5f60ed0d840d53e9d65aa54e1a5365af8ce2769e) drm.h (773af77fc479fd454c3f6836f86bf63996545cf4)
1/*
2 * Copyright (C) 2012 Avionic Design GmbH
3 * Copyright (C) 2012-2013 NVIDIA CORPORATION. All rights reserved.
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 */

--- 134 unchanged lines hidden (view full) ---

143 unsigned int y;
144 unsigned int w;
145 unsigned int h;
146 } dst;
147 unsigned int bits_per_pixel;
148 unsigned int format;
149 unsigned int stride[2];
150 unsigned long base[3];
1/*
2 * Copyright (C) 2012 Avionic Design GmbH
3 * Copyright (C) 2012-2013 NVIDIA CORPORATION. All rights reserved.
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 */

--- 134 unchanged lines hidden (view full) ---

143 unsigned int y;
144 unsigned int w;
145 unsigned int h;
146 } dst;
147 unsigned int bits_per_pixel;
148 unsigned int format;
149 unsigned int stride[2];
150 unsigned long base[3];
151 bool tiled;
151};
152
153/* from dc.c */
154extern unsigned int tegra_dc_format(uint32_t format);
155extern int tegra_dc_setup_window(struct tegra_dc *dc, unsigned int index,
156 const struct tegra_dc_window *window);
157extern void tegra_dc_enable_vblank(struct tegra_dc *dc);
158extern void tegra_dc_disable_vblank(struct tegra_dc *dc);

--- 90 unchanged lines hidden (view full) ---

249extern int tegra_output_probe(struct tegra_output *output);
250extern int tegra_output_remove(struct tegra_output *output);
251extern int tegra_output_init(struct drm_device *drm, struct tegra_output *output);
252extern int tegra_output_exit(struct tegra_output *output);
253
254/* from fb.c */
255struct tegra_bo *tegra_fb_get_plane(struct drm_framebuffer *framebuffer,
256 unsigned int index);
152};
153
154/* from dc.c */
155extern unsigned int tegra_dc_format(uint32_t format);
156extern int tegra_dc_setup_window(struct tegra_dc *dc, unsigned int index,
157 const struct tegra_dc_window *window);
158extern void tegra_dc_enable_vblank(struct tegra_dc *dc);
159extern void tegra_dc_disable_vblank(struct tegra_dc *dc);

--- 90 unchanged lines hidden (view full) ---

250extern int tegra_output_probe(struct tegra_output *output);
251extern int tegra_output_remove(struct tegra_output *output);
252extern int tegra_output_init(struct drm_device *drm, struct tegra_output *output);
253extern int tegra_output_exit(struct tegra_output *output);
254
255/* from fb.c */
256struct tegra_bo *tegra_fb_get_plane(struct drm_framebuffer *framebuffer,
257 unsigned int index);
258bool tegra_fb_is_tiled(struct drm_framebuffer *framebuffer);
257extern int tegra_drm_fb_init(struct drm_device *drm);
258extern void tegra_drm_fb_exit(struct drm_device *drm);
259extern void tegra_fbdev_restore_mode(struct tegra_fbdev *fbdev);
260
261extern struct platform_driver tegra_dc_driver;
262extern struct platform_driver tegra_hdmi_driver;
263extern struct platform_driver tegra_gr2d_driver;
264extern struct platform_driver tegra_gr3d_driver;
265
266#endif /* HOST1X_DRM_H */
259extern int tegra_drm_fb_init(struct drm_device *drm);
260extern void tegra_drm_fb_exit(struct drm_device *drm);
261extern void tegra_fbdev_restore_mode(struct tegra_fbdev *fbdev);
262
263extern struct platform_driver tegra_dc_driver;
264extern struct platform_driver tegra_hdmi_driver;
265extern struct platform_driver tegra_gr2d_driver;
266extern struct platform_driver tegra_gr3d_driver;
267
268#endif /* HOST1X_DRM_H */