On Mon, 21 Aug 2023 at 07:51, Alper Nebi Yasak <[email protected]> wrote: > > From: Alexander Graf <[email protected]> > > Some drivers call video_set_flush_dcache() to indicate that they want to > have the dcache flushed for the frame buffer. These drivers benefit from > our new video damage control, because we can reduce the amount of memory > that gets flushed significantly. > > This patch enables video damage control for all device drivers that call > video_set_flush_dcache() to make sure they benefit from it. > > Signed-off-by: Alexander Graf <[email protected]> > [Alper: Add to VIDEO_TIDSS, imply instead of select] > Co-developed-by: Alper Nebi Yasak <[email protected]> > Signed-off-by: Alper Nebi Yasak <[email protected]> > --- > > Changes in v5: > - Imply VIDEO_DAMAGE for video drivers instead of selecting it > - Imply VIDEO_DAMAGE also for VIDEO_TIDSS > > Changes in v4: > - Add patch "video: Enable VIDEO_DAMAGE for drivers that need it" > > arch/arm/mach-omap2/omap3/Kconfig | 1 + > arch/arm/mach-sunxi/Kconfig | 1 + > drivers/video/Kconfig | 8 ++++++++ > drivers/video/exynos/Kconfig | 1 + > drivers/video/imx/Kconfig | 1 + > drivers/video/meson/Kconfig | 1 + > drivers/video/rockchip/Kconfig | 1 + > drivers/video/stm32/Kconfig | 1 + > drivers/video/tegra20/Kconfig | 1 + > drivers/video/tidss/Kconfig | 1 + > 10 files changed, 17 insertions(+)
Reviewed-by: Simon Glass <[email protected]>

