[PATCH v5 13/13] video: Enable VIDEO_DAMAGE for drivers that need it
Simon Glass
sjg at chromium.org
Mon Aug 21 21:11:54 CEST 2023
On Mon, 21 Aug 2023 at 07:51, Alper Nebi Yasak <alpernebiyasak at gmail.com> wrote:
>
> From: Alexander Graf <agraf at csgraf.de>
>
> 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 at csgraf.de>
> [Alper: Add to VIDEO_TIDSS, imply instead of select]
> Co-developed-by: Alper Nebi Yasak <alpernebiyasak at gmail.com>
> Signed-off-by: Alper Nebi Yasak <alpernebiyasak at gmail.com>
> ---
>
> 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 <sjg at chromium.org>
More information about the U-Boot
mailing list