From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Thu, 8 Jan 2015 15:26:01 +0100 Subject: [U-Boot] [PATCH v2 01/11] videomodes: Add pixelclock_khz and refresh fields to ctfb_res_modes In-Reply-To: <1419009041-31057-2-git-send-email-hdegoede@redhat.com> References: <1419009041-31057-1-git-send-email-hdegoede@redhat.com> <1419009041-31057-2-git-send-email-hdegoede@redhat.com> Message-ID: <20150108152601.0a3f721c@crub> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 19 Dec 2014 18:10:31 +0100 Hans de Goede wrote: > 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