18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright © 2011 Intel Corporation 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_cistruct drm_crtc; 78c2ecf20Sopenharmony_cistruct drm_device; 88c2ecf20Sopenharmony_cistruct psb_intel_mode_device; 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ciextern const struct drm_crtc_helper_funcs cdv_intel_helper_funcs; 118c2ecf20Sopenharmony_ciextern const struct drm_crtc_funcs cdv_intel_crtc_funcs; 128c2ecf20Sopenharmony_ciextern const struct gma_clock_funcs cdv_clock_funcs; 138c2ecf20Sopenharmony_ciextern void cdv_intel_crt_init(struct drm_device *dev, 148c2ecf20Sopenharmony_ci struct psb_intel_mode_device *mode_dev); 158c2ecf20Sopenharmony_ciextern void cdv_intel_lvds_init(struct drm_device *dev, 168c2ecf20Sopenharmony_ci struct psb_intel_mode_device *mode_dev); 178c2ecf20Sopenharmony_ciextern void cdv_hdmi_init(struct drm_device *dev, struct psb_intel_mode_device *mode_dev, 188c2ecf20Sopenharmony_ci int reg); 198c2ecf20Sopenharmony_ciextern struct drm_display_mode *cdv_intel_crtc_mode_get(struct drm_device *dev, 208c2ecf20Sopenharmony_ci struct drm_crtc *crtc); 218c2ecf20Sopenharmony_ciextern void cdv_update_wm(struct drm_device *dev, struct drm_crtc *crtc); 228c2ecf20Sopenharmony_ciextern void cdv_disable_sr(struct drm_device *dev); 23