xref: /linux/drivers/gpu/drm/gma500/cdv_device.h (revision 4b132aacb0768ac1e652cf517097ea6f237214b9)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright © 2011 Intel Corporation
4  */
5 
6 struct drm_crtc;
7 struct drm_device;
8 struct psb_intel_mode_device;
9 
10 extern const struct drm_crtc_helper_funcs cdv_intel_helper_funcs;
11 extern const struct gma_clock_funcs cdv_clock_funcs;
12 extern void cdv_intel_crt_init(struct drm_device *dev,
13 			struct psb_intel_mode_device *mode_dev);
14 extern void cdv_intel_lvds_init(struct drm_device *dev,
15 			struct psb_intel_mode_device *mode_dev);
16 extern void cdv_hdmi_init(struct drm_device *dev, struct psb_intel_mode_device *mode_dev,
17 			int reg);
18 extern struct drm_display_mode *cdv_intel_crtc_mode_get(struct drm_device *dev,
19 					     struct drm_crtc *crtc);
20 extern void cdv_update_wm(struct drm_device *dev, struct drm_crtc *crtc);
21 extern void cdv_disable_sr(struct drm_device *dev);
22