• C
    OMAPDSS: DISPC: Update Scaling Clock Logic · 7282f1b7
    Chandrabhanu Mahapatra 提交于
    Clock requirements for scaling in OMAP2, OMAP3 and OMAP4 are different. In
    OMAP2 and OMAP3 the required clock rate is a function of pixel clock, vertical
    downscale ratio and horizontal downscale ratio whereas in OMAP4 it is a
    function of pixel clock and horizontal downscale ratio only. Selection of 3-tap
    vs 5-tap coefficients depends on clock rate line buffer width in OMAP3 whereas
    in OMAP4 it is independent of clock rate and line buffer width. In OMAP2 3-tap
    for vertical and 5-tap for horizontal scaling is used. In OMAP4 5-tap is used
    both for horizontal and vertical scaling for better performance. Also, the
    number and width of line buffers differs in OMAP3 and OMAP4.
    
    So, clock functions have been fined tuned for OMAP3 and support has been added
    added for OMAP4. This code has been tested on OMAP2, OMAP3 and OMAP4, and
    scaling issues due to clock errors have been resolved.
    Signed-off-by: NChandrabhanu Mahapatra <cmahapatra@ti.com>
    Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
    7282f1b7
dss_features.c 17.6 KB