summaryrefslogtreecommitdiff
path: root/include/drm/exynos_drm.h
diff options
context:
space:
mode:
authorEun-Chul Kim <chulspro.kim@samsung.com>2012-02-14 15:59:46 +0900
committerInki Dae <inki.dae@samsung.com>2012-02-15 10:29:12 +0900
commit607c50d429371797f198ffc34afb239eadd1c655 (patch)
tree15181419de7494dcd94f3173e18ca29cee58e33f /include/drm/exynos_drm.h
parent1f72dde1455b6c0082d3d57223b7545ea6916eb3 (diff)
downloadlinux-stable-607c50d429371797f198ffc34afb239eadd1c655.tar.gz
linux-stable-607c50d429371797f198ffc34afb239eadd1c655.tar.bz2
linux-stable-607c50d429371797f198ffc34afb239eadd1c655.zip
drm/exynos: added panel physical size.
Signed-off-by: Eun-Chul Kim <chulspro.kim@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'include/drm/exynos_drm.h')
-rw-r--r--include/drm/exynos_drm.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/include/drm/exynos_drm.h b/include/drm/exynos_drm.h
index 5e120f1c5cd9..308575ea7c00 100644
--- a/include/drm/exynos_drm.h
+++ b/include/drm/exynos_drm.h
@@ -98,14 +98,27 @@ struct drm_exynos_plane_set_zpos {
DRM_EXYNOS_PLANE_SET_ZPOS, struct drm_exynos_plane_set_zpos)
/**
- * Platform Specific Structure for DRM based FIMD.
+ * A structure for lcd panel information.
*
* @timing: default video mode for initializing
+ * @width_mm: physical size of lcd width.
+ * @height_mm: physical size of lcd height.
+ */
+struct exynos_drm_panel_info {
+ struct fb_videomode timing;
+ u32 width_mm;
+ u32 height_mm;
+};
+
+/**
+ * Platform Specific Structure for DRM based FIMD.
+ *
+ * @panel: default panel info for initializing
* @default_win: default window layer number to be used for UI.
* @bpp: default bit per pixel.
*/
struct exynos_drm_fimd_pdata {
- struct fb_videomode timing;
+ struct exynos_drm_panel_info panel;
u32 vidcon0;
u32 vidcon1;
unsigned int default_win;