]> git.ipfire.org Git - thirdparty/linux.git/commit
media: qcom: iris: use common set_preset_registers function
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Sun, 29 Mar 2026 00:33:03 +0000 (02:33 +0200)
committerBryan O'Donoghue <bod@kernel.org>
Sun, 10 May 2026 10:16:55 +0000 (11:16 +0100)
commit8550eebfca38d3232fcb8c6641ea8543c78bee3c
tree0c917058d85fe5c5598ec5e2a6caa8f5b7deffcc
parent335cdc4c43a03c43b8a0073478e7dac4055aaa15
media: qcom: iris: use common set_preset_registers function

The set_preset_registers is (currently) common to all supported devices.
Extract it to a iris_vpu_common.c and call it directly from
iris_vpu_power_on(). Later, if any of the devices requires special
handling, it can be sorted out separately.

Reviewed-by: Dikshita Agarwal <dikshita.agarwal@oss.qualcomm.com>
Reviewed-by: Vikash Garodia <vikash.garodia@oss.qualcomm.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
drivers/media/platform/qcom/iris/iris_platform_common.h
drivers/media/platform/qcom/iris/iris_platform_gen1.c
drivers/media/platform/qcom/iris/iris_platform_gen2.c
drivers/media/platform/qcom/iris/iris_vpu_common.c
drivers/media/platform/qcom/iris/iris_vpu_common.h