diff options
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/exynos_drm.h | 17 |
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 { | |||
98 | DRM_EXYNOS_PLANE_SET_ZPOS, struct drm_exynos_plane_set_zpos) | 98 | DRM_EXYNOS_PLANE_SET_ZPOS, struct drm_exynos_plane_set_zpos) |
99 | 99 | ||
100 | /** | 100 | /** |
101 | * Platform Specific Structure for DRM based FIMD. | 101 | * A structure for lcd panel information. |
102 | * | 102 | * |
103 | * @timing: default video mode for initializing | 103 | * @timing: default video mode for initializing |
104 | * @width_mm: physical size of lcd width. | ||
105 | * @height_mm: physical size of lcd height. | ||
106 | */ | ||
107 | struct exynos_drm_panel_info { | ||
108 | struct fb_videomode timing; | ||
109 | u32 width_mm; | ||
110 | u32 height_mm; | ||
111 | }; | ||
112 | |||
113 | /** | ||
114 | * Platform Specific Structure for DRM based FIMD. | ||
115 | * | ||
116 | * @panel: default panel info for initializing | ||
104 | * @default_win: default window layer number to be used for UI. | 117 | * @default_win: default window layer number to be used for UI. |
105 | * @bpp: default bit per pixel. | 118 | * @bpp: default bit per pixel. |
106 | */ | 119 | */ |
107 | struct exynos_drm_fimd_pdata { | 120 | struct exynos_drm_fimd_pdata { |
108 | struct fb_videomode timing; | 121 | struct exynos_drm_panel_info panel; |
109 | u32 vidcon0; | 122 | u32 vidcon0; |
110 | u32 vidcon1; | 123 | u32 vidcon1; |
111 | unsigned int default_win; | 124 | unsigned int default_win; |