• Archit Taneja's avatar
    OMAPDSS: DISPC: Get correct pixel clock for TV manager · c3dc6a7a
    Archit Taneja authored
    dispc_mgr_pclk_rate() is used to calculate minimum required functional clock for
    scaling in calc_fclk() and calc_fclk_five_taps(). This function returns the
    correct pixel clock for LCD and LCD2 managers, but not for TV manager. Extend
    this function so that it gets the correct pixel clock for TV manager.
    
    This also prevents the crash we get when we try to scale overlays connected to
    TV manager. The current code leads to a BUG() being executed if we call
    dispc_mgr_pclk_rate() for the TV manager.
    Signed-off-by: default avatarArchit Taneja <archit@ti.com>
    Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
    c3dc6a7a
dss.h 15.6 KB