linux/drivers/gpu/drm/gma500/oaktrail.h

/* SPDX-License-Identifier: GPL-2.0-only */
/**************************************************************************
 * Copyright (c) 2007-2011, Intel Corporation.
 * All Rights Reserved.
 *
 **************************************************************************/

struct psb_intel_mode_device;

/* MID device specific descriptors */

struct oaktrail_timing_info {} __packed;

struct gct_r10_timing_info {} __packed;

struct oaktrail_panel_descriptor_v1 {} __packed;

struct oaktrail_panel_descriptor_v2 {} __packed;

oaktrail_panel_rx __packed;

struct gct_r0 {} __packed;

struct gct_r1 {} __packed;

struct gct_r10 {} __packed;

struct oaktrail_gct_data {} __packed;

#define MODE_SETTING_IN_CRTC
#define MODE_SETTING_IN_ENCODER
#define MODE_SETTING_ON_GOING
#define MODE_SETTING_IN_DSR
#define MODE_SETTING_ENCODER_DONE

/*
 *	Moorestown HDMI interfaces
 */

struct oaktrail_hdmi_dev {};

extern void oaktrail_hdmi_setup(struct drm_device *dev);
extern void oaktrail_hdmi_teardown(struct drm_device *dev);
extern int  oaktrail_hdmi_i2c_init(struct pci_dev *dev);
extern void oaktrail_hdmi_i2c_exit(struct pci_dev *dev);
extern void oaktrail_hdmi_save(struct drm_device *dev);
extern void oaktrail_hdmi_restore(struct drm_device *dev);
extern void oaktrail_hdmi_init(struct drm_device *dev, struct psb_intel_mode_device *mode_dev);
extern int oaktrail_crtc_hdmi_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode,
						struct drm_display_mode *adjusted_mode, int x, int y,
						struct drm_framebuffer *old_fb);
extern void oaktrail_crtc_hdmi_dpms(struct drm_crtc *crtc, int mode);