mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
QCOM_UBWC_CONFIG is about to depend on QCOM_SMEM. Guard the
VIDEO_QCOM_IRIS select with 'if ARCH_QCOM && QCOM_SMEM', and add
'depends on QCOM_SMEM || QCOM_SMEM=n' so a built-in driver is never
selected against a missing or modular SMEM.
Fixes: c432075538 ("media: iris: retrieve UBWC platform configuration")
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Tested-by: Nathan Chancellor <nathan@kernel.org> # build
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
17 lines
526 B
Plaintext
17 lines
526 B
Plaintext
config VIDEO_QCOM_IRIS
|
|
tristate "Qualcomm iris V4L2 decoder driver"
|
|
depends on VIDEO_DEV
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
|
depends on QCOM_SMEM || QCOM_SMEM=n
|
|
select V4L2_MEM2MEM_DEV
|
|
select QCOM_MDT_LOADER
|
|
select QCOM_SCM
|
|
select QCOM_PAS
|
|
select QCOM_UBWC_CONFIG if ARCH_QCOM && QCOM_SMEM
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
help
|
|
This is a V4L2 driver for Qualcomm iris video accelerator
|
|
hardware. It accelerates decoding operations on various
|
|
Qualcomm SoCs.
|
|
To compile this driver as a module choose m here.
|