• Tomi Valkeinen's avatar
    OMAPDSS: HDMI: make hdmi pclk check more permissive · f236b892
    Tomi Valkeinen authored
    
    
    The hdmi driver tries to find the given video timings from its static
    list of timings, to find the required ID for the mode. The check tries
    to find exact match for the pixel clock, among other checks.
    
    with omapfb driver there can be some amount of error in the give pixel
    clock, as the pixel clock is converted between Hz and ps, thus the
    hdmi's check fails to find the mode.
    
    This patch makes the check more allowing, by rounding the pixel clocks
    to nearest MHz.
    Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
    Cc: Ricardo Neri <ricardo.neri@ti.com>
    f236b892
hdmi.c 24.7 KB