]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: qcom: venus: flip the venus/iris switch
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Fri, 27 Mar 2026 20:19:56 +0000 (22:19 +0200)
committerBryan O'Donoghue <bod@kernel.org>
Sun, 10 May 2026 10:16:55 +0000 (11:16 +0100)
commit8f100f5896e1ccec3802dafd0f719627733c8183
tree3de919f150b33640f373c801b5237af81ae5f9ed
parentcc59dbb862ac3bb07f4b3f77a423569a9153fe7b
media: qcom: venus: flip the venus/iris switch

With the Iris and Venus driver having more or less feature parity for
"HFI 6xx" platforms and with Iris gaining support for SC7280, flip the
switch. Use Iris by default for SM8250 and SC7280, the platforms which
are supported by both drivers, and use Venus only if Iris is not
compiled at all. Use IS_ENABLED to strip out the code and data
structures which are used by the disabled platforms.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Vikash Garodia <vikash.garodia@oss.qualcomm.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
[bod: Moved two conditional compats inside of one ifdef for ci]
[bod: Changed IS_V6(core) (0) to ((void)(core), 0) for ci]
Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
drivers/media/platform/qcom/iris/Makefile
drivers/media/platform/qcom/iris/iris_probe.c
drivers/media/platform/qcom/venus/core.c
drivers/media/platform/qcom/venus/core.h