kernel_samsung_a53x/drivers/gpu/drm/samsung/dpu/Kconfig
2024-06-15 16:02:09 -03:00

149 lines
4 KiB
Text
Executable file

config DRM_SAMSUNG_DPU
tristate "DRM Support for Samsung EXYNOS Series"
depends on OF && DRM && (SOC_S5E8825 || SOC_S5E9925 || UML)
select DRM_KMS_HELPER
select VIDEOMODE_HELPERS
help
Choose this option if you have a Samsung EXYNOS SoC chipset.
If M is selected the module will be called exynosdrm. It will
control various panel drivers and display hardware on Samsung
Exynos SoC chipset.
if DRM_SAMSUNG_DPU
config DRM_SAMSUNG_DPP
bool "DPP on Exynos"
default DRM_SAMSUNG_DPU
depends on DRM_SAMSUNG_DPU
help
This enables support for DPP(Display Pre Processor) device on
Samsung Exynos SoC. It will support scaling, rotation, compression
and so on.
comment "CRTCs"
config DRM_SAMSUNG_DECON
bool "DECON on Exynos"
depends on !FB_S3C && !DRM_EXYNOS
default DRM_SAMSUNG_DPU
help
Choose this option if you want to use Exynos DECON for DRM. It
will control DECON hardware. It can blend all windows connected
to DPP.
comment "Encoders and Bridges"
config DRM_SAMSUNG_DSI
bool "MIPI-DSI host"
depends on DRM_SAMSUNG_DECON
select DRM_MIPI_DSI
select DRM_PANEL
default DRM_SAMSUNG_DPU
help
This enables support for Exynos MIPI-DSI device. It will encode
data as mipi standard and transfer to the mipi panel. It also
supports to read and write mipi command to and from the mipi panel.
So, this driver can use various panel feature.
config DRM_SAMSUNG_WB
bool "WB on Exynos"
depends on DRM_SAMSUNG_DECON
default DRM_SAMSUNG_DPU
help
This enables support for Exynos Concurrent Writeback device.
It can be attached writeback at runtime. It will dump blended
output buffer which is displaying on LCD.
This means that both writeback and LCD display can be operated
simultaneously.
config DRM_SAMSUNG_DP
bool "DP on Exynos"
depends on DRM_SAMSUNG_DECON
default n
help
This enables support for Exynos DisplayPort device. It will encode
data as DP standard and transfer to the DP Dongle(USB type C to DP) or monitor.
config DRM_SAMSUNG_HIBERNATION
bool "Support Display Hibernation"
depends on DRM_SAMSUNG_DECON
default DRM_SAMSUNG_DPU
help
This enables support for Exynos Display Hibernation
config DRM_SAMSUNG_HIBERNATION_EARLY_WAKEUP
bool "Support Hibernation Early Wakeup"
depends on DRM_SAMSUNG_DECON && DRM_SAMSUNG_HIBERNATION
default n
help
This enables support for Exynos Hibernation Early Wakeup.
Hibernation Early Wakeup will be performed through sysfs.
config EXYNOS_FREQ_HOP
tristate "Support DPHY PLL Frequency Hopping"
depends on DRM_SAMSUNG_DECON
default n
config DRM_SAMSUNG_EWR
bool "Support early wake up"
depends on DRM_SAMSUNG_DECON
default DRM_SAMSUNG_DPU
config EXYNOS_DMA_DSIMFC
bool "Support DSIM Fast Command"
depends on DRM_SAMSUNG_DECON
default n
config DRM_SAMSUNG_DOZE
bool "Support Doze, Doze_suspend"
depends on DRM_SAMSUNG_DECON
default n
help
This enables support for Exynos Display Doze
config EXYNOS_PLL_SLEEP
bool "Support DPHY PLL Sleep"
depends on DRM_SAMSUNG_DECON
default n
config EXYNOS_CMD_SVSYNC
bool "Support Command Mode Samsung Variable Sync"
depends on DRM_SAMSUNG_DECON
default n
config EXYNOS_DRM_BUFFER_SANITY_CHECK
bool "Support DMA Buffer Sanity Check for Debugging"
depends on DRM_SAMSUNG_DECON
default n
config SEC_DISPLAYPORT
bool "Enable featuring of CONFIG_SEC_DISPLAYPORT"
default n
help
Enable SEC DISPLAYPORT config to check if DP support.
config USE_DISPLAYPORT_PDIC_EVENT_QUEUE
bool "use queue for PDIC notifications"
depends on DRM_SAMSUNG_DP
default n
help
Enable PDIC event queue
config SEC_DISPLAYPORT_DBG
bool "SEC_DISPLAYPORT_DBG feature"
depends on SEC_DISPLAYPORT
help
Samsung specific debug code for displayport
config DRM_DPU_EVENT_LOG_FOR_USER
bool "Support DRM DPU Event log for user"
depends on DRM_SAMSUNG_DECON
default DRM_SAMSUNG_DPU
help
This enables support for DRM DPU Event log for user
source "drivers/gpu/drm/samsung/dpu/panel/Kconfig"
source "drivers/gpu/drm/samsung/dpu/dp_ext_func/Kconfig"
source "drivers/gpu/drm/samsung/dpu/mcd_cal/Kconfig"
endif