[RFC PATCH v10 0/2] Add helper module to select video driver

Dikshita Agarwal
2025-01-28T08:05:28Z

This is a RFC patch series from the original iris driver [1].
The first patch introduces a helper module to select between venus and iris
driver for plarform supported by both drivers.
The second patch enables the probe of SM8250 with iris driver.

This is just a RFC series, will send a proper v10 of iris driver
including these two patches, once everyone is OK with the changes.

[1]: https://lore.kernel.org/linux-media/20241212-qcom-video-iris-v9-0-e8c2c6bd4041@quicinc.com/

Dikshita Agarwal (2):
media: iris: introduce helper module to select video driver
media: iris: enable video driver probe of SM8250 SoC

drivers/media/platform/qcom/Makefile | 1 +
drivers/media/platform/qcom/iris/Makefile | 1 +
drivers/media/platform/qcom/iris/iris_core.h | 1 +
.../platform/qcom/iris/iris_platform_common.h | 1 +
.../platform/qcom/iris/iris_platform_sm8250.c | 148 ++++++++++++++++++
drivers/media/platform/qcom/iris/iris_probe.c | 7 +
drivers/media/platform/qcom/venus/core.c | 5 +
.../platform/qcom/video_drv_helper/Makefile | 4 +
.../qcom/video_drv_helper/video_drv_helper.c | 70 +++++++++
.../qcom/video_drv_helper/video_drv_helper.h | 11 ++
10 files changed, 249 insertions(+)
create mode 100644 drivers/media/platform/qcom/iris/iris_platform_sm8250.c
create mode 100644 drivers/media/platform/qcom/video_drv_helper/Makefile
create mode 100644 drivers/media/platform/qcom/video_drv_helper/video_drv_helper.c
create mode 100644 drivers/media/platform/qcom/video_drv_helper/video_drv_helper.h

--
2.34.1