forked from OERV-BSP/u-boot
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>
26 lines
795 B
Plaintext
26 lines
795 B
Plaintext
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2023 Texas Instruments Incorporated - https://www.ti.com/
|
|
# Nikhil M Jain, n-jain1@ti.com
|
|
#
|
|
# based on the linux tidss driver, which is
|
|
#
|
|
# (C) Copyright 2018 Texas Instruments Incorporated - https://www.ti.com/
|
|
# Author: Tomi Valkeinen <tomi.valkeinen@ti.com>
|
|
|
|
menuconfig VIDEO_TIDSS
|
|
bool "Enable TIDSS video support"
|
|
depends on VIDEO
|
|
imply VIDEO_DAMAGE
|
|
help
|
|
TIDSS supports video output options LVDS and
|
|
DPI . This option enables these supports which can be used on
|
|
devices which have OLDI or HDMI display connected.
|
|
|
|
config SPL_VIDEO_TIDSS
|
|
bool "Enable TIDSS video support in SPL Stage"
|
|
depends on SPL_VIDEO
|
|
help
|
|
This options enables tidss driver in SPL stage. If
|
|
you need to use tidss at SPL stage use this config.
|