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 drm_crtc_funcs cdv_intel_crtc_funcs;
12 extern const struct gma_clock_funcs cdv_clock_funcs;
13 extern void cdv_intel_crt_init(struct drm_device *dev,
14 			struct psb_intel_mode_device *mode_dev);
15 extern void cdv_intel_lvds_init(struct drm_device *dev,
16 			struct psb_intel_mode_device *mode_dev);
17 extern void cdv_hdmi_init(struct drm_device *dev, struct psb_intel_mode_device *mode_dev,
18 			int reg);
19 extern struct drm_display_mode *cdv_intel_crtc_mode_get(struct drm_device *dev,
20 					     struct drm_crtc *crtc);
21 extern void cdv_update_wm(struct drm_device *dev, struct drm_crtc *crtc);
22 extern void cdv_disable_sr(struct drm_device *dev);
23