]> Pileus Git - ~andy/linux/blobdiff - drivers/gpu/drm/exynos/exynos_hdmi.h
drm: Make the .mode_fixup() operations mode argument a const pointer
[~andy/linux] / drivers / gpu / drm / exynos / exynos_hdmi.h
index 31d6cf84c1aa554eb44c052acc0339d9256a2bf1..1c3b6d8f1fe796fac9d9b37bd341f703e740861f 100644 (file)
 #ifndef _EXYNOS_HDMI_H_
 #define _EXYNOS_HDMI_H_
 
-struct hdmi_conf {
-       int width;
-       int height;
-       int vrefresh;
-       bool interlace;
-       const u8 *hdmiphy_data;
-       const struct hdmi_preset_conf *conf;
-};
-
-struct hdmi_resources {
-       struct clk *hdmi;
-       struct clk *sclk_hdmi;
-       struct clk *sclk_pixel;
-       struct clk *sclk_hdmiphy;
-       struct clk *hdmiphy;
-       struct regulator_bulk_data *regul_bulk;
-       int regul_count;
-};
-
-struct hdmi_context {
-       struct device                   *dev;
-       struct drm_device               *drm_dev;
-       struct fb_videomode             *default_timing;
-       unsigned int                    default_win;
-       unsigned int                    default_bpp;
-       bool                            hpd_handle;
-       bool                            enabled;
-
-       struct resource                 *regs_res;
-       /** base address of HDMI registers */
-       void __iomem *regs;
-       /** HDMI hotplug interrupt */
-       unsigned int irq;
-       /** workqueue for delayed work */
-       struct workqueue_struct *wq;
-       /** hotplug handling work */
-       struct work_struct hotplug_work;
-
-       struct i2c_client *ddc_port;
-       struct i2c_client *hdmiphy_port;
-
-       /** current hdmiphy conf index */
-       int cur_conf;
-       /** other resources */
-       struct hdmi_resources res;
-
-       void *parent_ctx;
-};
-
-
 void hdmi_attach_ddc_client(struct i2c_client *ddc);
 void hdmi_attach_hdmiphy_client(struct i2c_client *hdmiphy);