14 Jan, 2015
5 commits
-
Add a video_edid_dtd_to_ctfb_res_modes helper function to convert an EDID
detailed timing to a struct ctfb_res_modes.Signed-off-by: Hans de Goede
Acked-by: Anatolij Gustschin -
Add 2 helper functions to get strings, respectively integers from the options
value returned by video_get_video_mode() / video_get_ctfb_res_modes().Signed-off-by: Hans de Goede
Acked-by: Anatolij Gustschin -
Add a video_get_ctfb_res_modes() helper function, which uses
video_get_video_mode() to parse the 'video-mode' environment variable and then
looks up the matching mode in res_mode_init and returns the matching mode.Signed-off-by: Hans de Goede
Acked-by: Anatolij Gustschin -
Add modes useful for hd-tvs and modern monitors.
Signed-off-by: Hans de Goede
Acked-by: Anatolij Gustschin -
Add pixelclock_khz and refresh fields to ctfb_res_modes:
1) pixelclocks are usually referred to in hz, not picoseconds, and e.g
pll-s are also typically programmed in hz, not ps. Converting between the
2 leads to rounding differences, add a pixelclock_khz field to directly
store the *exact* pixelclock for a mode, so that drivers do not need to
resort to rounding tricks to try and guess the exact pixelclock;2) The video-mode environment variable, as parsed by video_get_video_mode
also contains the vertical refresh rate, add a refresh field, so that
the refresh-rate can be matched when parsing the video-mode environment
variable.Signed-off-by: Hans de Goede
Acked-by: Anatolij Gustschin
15 Oct, 2013
1 commit
-
Signed-off-by: Wolfgang Denk
24 Jul, 2013
1 commit
-
Signed-off-by: Wolfgang Denk
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini
29 Apr, 2011
1 commit
-
Add function video_get_video_mode(), which parses the "video-mode" environment
variable and returns each of its components. The format matches the video=
command-line option used for Linux:video-mode=:x-@
The video driver, ignored by U-Boot
The X resolution (in pixels) to use.
The Y resolution (in pixels) to use.
The color depth (in bits) to use.
The frequency (in Hz) to use.
A comma-separated list of device-specific optionsSigned-off-by: Timur Tabi
19 Oct, 2008
1 commit
-
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
26 Nov, 2007
1 commit
-
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD