drm/exynos: fimd: replace struct fb_videomode with videomode
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. Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
#define _EXYNOS_DRM_H_
|
||||
|
||||
#include <uapi/drm/exynos_drm.h>
|
||||
#include <video/videomode.h>
|
||||
|
||||
/**
|
||||
* A structure for lcd panel information.
|
||||
@@ -24,7 +25,7 @@
|
||||
* @height_mm: physical size of lcd height.
|
||||
*/
|
||||
struct exynos_drm_panel_info {
|
||||
struct fb_videomode timing;
|
||||
struct videomode vm;
|
||||
u32 width_mm;
|
||||
u32 height_mm;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user