diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-12-19 10:38:49 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-01-14 14:56:37 +0100 |
commit | 0c91d25767db292ad73b6567d52588178151709d (patch) | |
tree | 6755282104a7e5e4bd4a0cc35329e4d5cae9c0ce /MAKEALL | |
parent | 81ec10015181bcf19a190ae4bea94bb1ac8d1da6 (diff) | |
download | blackbird-obmc-uboot-0c91d25767db292ad73b6567d52588178151709d.tar.gz blackbird-obmc-uboot-0c91d25767db292ad73b6567d52588178151709d.zip |
videomodes: Add pixelclock_khz and refresh fields to ctfb_res_modes
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 <hdegoede@redhat.com>
Acked-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'MAKEALL')
0 files changed, 0 insertions, 0 deletions