]> git.ipfire.org Git - thirdparty/linux.git/commit
media: qcom: iris: split firmware_data from raw platform data
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Sun, 29 Mar 2026 00:33:09 +0000 (02:33 +0200)
committerBryan O'Donoghue <bod@kernel.org>
Sun, 10 May 2026 10:16:56 +0000 (11:16 +0100)
commit95faed0b9f516b693860865fc54c2a708946a96d
treed71a870c0b9002697970da6d210a84c78359edf9
parent10175bca76e1497fd76fd662d33ab199f7160bb1
media: qcom: iris: split firmware_data from raw platform data

Having firmware-related fields in platform data results in the tying
platform data to the HFI firmware data rather than the actual hardware.
For example, SM8450 uses Gen2 firmware, so currently its platform data
should be placed next to the other gen2 platforms, although it has the
VPU2.0 core, similar to the one found on SM8250 and SC7280 and so the
hardware-specific platform data is also close to those devices.

Split firmware data to a separate struct, separating hardware-related
data from the firmware interfaces.

Reviewed-by: Dikshita Agarwal <dikshita.agarwal@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_buffer.c
drivers/media/platform/qcom/iris/iris_core.h
drivers/media/platform/qcom/iris/iris_ctrls.c
drivers/media/platform/qcom/iris/iris_hfi_gen1_command.c
drivers/media/platform/qcom/iris/iris_hfi_gen2_command.c
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_probe.c
drivers/media/platform/qcom/iris/iris_vidc.c
drivers/media/platform/qcom/iris/iris_vpu_common.c