summaryrefslogtreecommitdiff
path: root/drivers/video/videomodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/videomodes.h')
-rw-r--r--drivers/video/videomodes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/video/videomodes.h b/drivers/video/videomodes.h
index 047b8a9..82190a2 100644
--- a/drivers/video/videomodes.h
+++ b/drivers/video/videomodes.h
@@ -5,6 +5,7 @@
* SPDX-License-Identifier: GPL-2.0+
*/
+#include <edid.h>
#ifndef CONFIG_SYS_DEFAULT_VIDEO_MODE
#define CONFIG_SYS_DEFAULT_VIDEO_MODE 0x301
@@ -89,3 +90,6 @@ void video_get_option_string(const char *options, const char *name,
char *dest, int dest_len, const char *def);
int video_get_option_int(const char *options, const char *name, int def);
+
+int video_edid_dtd_to_ctfb_res_modes(struct edid_detailed_timing *t,
+ struct ctfb_res_modes *mode);