• Dmitry Osipenko's avatar
    drm/tegra: dc: Support memory bandwidth management · 04d5d5df
    Dmitry Osipenko authored
    Display controller (DC) performs isochronous memory transfers, and thus,
    has a requirement for a minimum memory bandwidth that shall be fulfilled,
    otherwise framebuffer data can't be fetched fast enough and this results
    in a DC's data-FIFO underflow that follows by a visual corruption.
    
    The Memory Controller drivers provide facility for memory bandwidth
    management via interconnect API. Let's wire up the interconnect API
    support to the DC driver in order to fix the distorted display output
    on T30 Ouya, T124 TK1 and other Tegra devices.
    
    Tested-by: Peter Geis <pgwipeout@gmail.com> # Ouya T30
    Tested-by: Matt Merhar <mattmerhar@protonmail.com> # Ouya T30
    Tested-by: Nicolas Chauvet <kwizart@gmail.com> # PAZ00 T20 and TK1 T124
    Signed-off-by: default avatarDmitry Osipenko <digetx@gmail.com>
    [treding@nvidia.com: unbreak Tegra186+ display support]
    Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
    04d5d5df
plane.c 17.6 KB