video: Enable VIDEO_DAMAGE for drivers that need it
authorAlexander Graf <agraf@csgraf.de>
Mon, 21 Aug 2023 13:51:10 +0000 (16:51 +0300)
committerSimon Glass <sjg@chromium.org>
Thu, 1 May 2025 10:33:30 +0000 (04:33 -0600)
commit2a61f40d4a9f7eacce67a80ce79f916996c4196d
treeda9d435f0e0e3705dc048195802fea80445b8e00
parent369c6a6c35ea22e3ff60fac45664962d6350adcc
video: Enable VIDEO_DAMAGE for drivers that need it

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 <agraf@csgraf.de>
[Alper: Add to VIDEO_TIDSS, imply instead of select]
Co-developed-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-omap2/omap3/Kconfig
arch/arm/mach-sunxi/Kconfig
drivers/video/Kconfig
drivers/video/exynos/Kconfig
drivers/video/imx/Kconfig
drivers/video/meson/Kconfig
drivers/video/rockchip/Kconfig
drivers/video/stm32/Kconfig
drivers/video/tegra/Kconfig
drivers/video/tidss/Kconfig