The patch replaces all occurrences of struct fb_videomode by more accurate struct videomode. The change allows to remove mode conversion function and simplifies clock divider calculation. Clock configuration is moved to separate function.
Showing the changes to include/drm (1 of 3 files). Show all
Unified · Split
| @@ -15,6 +15,7 @@ · 14 unmodified lines | ||
| 15 | 15 | #define _EXYNOS_DRM_H_ |
| 16 | 16 | |
| 17 | 17 | #include <uapi/drm/exynos_drm.h> |
| 18 | +#include <video/videomode.h> | |
| 18 | 19 | |
| 19 | 20 | /** |
| 20 | 21 | * A structure for lcd panel information. |
| @@ -24,7 +25,7 @@ · 3 unmodified lines | ||
| 24 | 25 | * @height_mm: physical size of lcd height. |
| 25 | 26 | */ |
| 26 | 27 | struct exynos_drm_panel_info { |
| 27 | − struct fb_videomode timing; | |
| 28 | + struct videomode vm; | |
| 28 | 29 | u32 width_mm; |
| 29 | 30 | u32 height_mm; |
| 30 | 31 | }; |