aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/exynos_drm.h
diff options
context:
space:
mode:
authorJoonyoung Shim <jy0922.shim@samsung.com>2012-04-23 06:35:47 -0400
committerInki Dae <inki.dae@samsung.com>2012-05-08 05:46:32 -0400
commit7ecd34e82ce8d9da0cd99541eac4eaf9dd7eb27e (patch)
tree54d383bab29aca1fc57edde0a5c621008c2aa242 /include/drm/exynos_drm.h
parent40cd7e0c02f37af4b44fc00531873832e45587e9 (diff)
drm/exynos: cleanup for hdmi platform data
The exynos_drm_hdmi_pdata struct have owned unnessary members. Remove them and add a function pointer to configure hdmi hotplug detection pin. Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'include/drm/exynos_drm.h')
-rw-r--r--include/drm/exynos_drm.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/include/drm/exynos_drm.h b/include/drm/exynos_drm.h
index 70c0f7e7db82..44f79cf468d4 100644
--- a/include/drm/exynos_drm.h
+++ b/include/drm/exynos_drm.h
@@ -197,16 +197,14 @@ struct exynos_drm_common_hdmi_pd {
197/** 197/**
198 * Platform Specific Structure for DRM based HDMI core. 198 * Platform Specific Structure for DRM based HDMI core.
199 * 199 *
200 * @timing: default video mode for initializing
201 * @default_win: default window layer number to be used for UI.
202 * @bpp: default bit per pixel.
203 * @is_v13: set if hdmi version 13 is. 200 * @is_v13: set if hdmi version 13 is.
201 * @cfg_hpd: function pointer to configure hdmi hotplug detection pin
202 * @get_hpd: function pointer to get value of hdmi hotplug detection pin
204 */ 203 */
205struct exynos_drm_hdmi_pdata { 204struct exynos_drm_hdmi_pdata {
206 struct fb_videomode timing; 205 bool is_v13;
207 unsigned int default_win; 206 void (*cfg_hpd)(bool external);
208 unsigned int bpp; 207 int (*get_hpd)(void);
209 unsigned int is_v13:1;
210}; 208};
211 209
212#endif /* __KERNEL__ */ 210#endif /* __KERNEL__ */