History log of /linux-6.15/drivers/media/platform/qcom/iris/ (Results 1 – 25 of 27)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
a21766b519-Feb-2025 Arnd Bergmann <[email protected]>

media: iris: rename module file

Build-testing on x86 showed two modules with conflicting "iris.ko"
names after the addition of the qualcomm driver:

error: the following would cause module name c

media: iris: rename module file

Build-testing on x86 showed two modules with conflicting "iris.ko"
names after the addition of the qualcomm driver:

error: the following would cause module name conflict:
arch/x86/platform/iris/iris.ko
drivers/media/platform/qcom/iris/iris.ko

Since this a new module, nothing should rely on the name yet, so
rename this one to a more specific "qcom-iris.ko".

Fixes: 38506cb7e8d2 ("media: iris: add platform driver for iris video device")
Cc: Shérab <[email protected]> # for x86 iris
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>

show more ...


/linux-6.15/Documentation/devicetree/bindings/media/qcom,sdm670-camss.yaml
/linux-6.15/Documentation/devicetree/bindings/media/st,stm32mp25-csi.yaml
/linux-6.15/Documentation/driver-api/media/tx-rx.rst
/linux-6.15/MAINTAINERS
/linux-6.15/drivers/media/i2c/Kconfig
/linux-6.15/drivers/media/i2c/adv7511-v4l2.c
/linux-6.15/drivers/media/i2c/ccs/ccs-core.c
/linux-6.15/drivers/media/i2c/dw9719.c
/linux-6.15/drivers/media/i2c/hi556.c
/linux-6.15/drivers/media/i2c/imx214.c
/linux-6.15/drivers/media/i2c/imx219.c
/linux-6.15/drivers/media/i2c/imx319.c
/linux-6.15/drivers/media/i2c/imx415.c
/linux-6.15/drivers/media/i2c/ov08x40.c
/linux-6.15/drivers/media/i2c/ov2740.c
/linux-6.15/drivers/media/i2c/ov7251.c
/linux-6.15/drivers/media/i2c/st-mipid02.c
/linux-6.15/drivers/media/i2c/tc358746.c
/linux-6.15/drivers/media/pci/intel/ipu3/ipu3-cio2.c
/linux-6.15/drivers/media/pci/intel/ipu6/ipu6-isys-csi2.c
/linux-6.15/drivers/media/pci/intel/ipu6/ipu6-isys-queue.c
/linux-6.15/drivers/media/pci/intel/ivsc/mei_csi.c
/linux-6.15/drivers/media/platform/cadence/cdns-csi2rx.c
/linux-6.15/drivers/media/platform/chips-media/wave5/wave5-hw.c
/linux-6.15/drivers/media/platform/chips-media/wave5/wave5-vpu-dec.c
/linux-6.15/drivers/media/platform/chips-media/wave5/wave5-vpu.c
/linux-6.15/drivers/media/platform/chips-media/wave5/wave5-vpuapi.c
/linux-6.15/drivers/media/platform/mediatek/vcodec/encoder/venc/venc_h264_if.c
/linux-6.15/drivers/media/platform/nxp/imx-mipi-csis.c
/linux-6.15/drivers/media/platform/nxp/imx8mq-mipi-csi2.c
/linux-6.15/drivers/media/platform/qcom/camss/camss-csid.c
/linux-6.15/drivers/media/platform/qcom/camss/camss-csid.h
/linux-6.15/drivers/media/platform/qcom/camss/camss-vfe-gen1.c
/linux-6.15/drivers/media/platform/qcom/camss/camss-vfe.c
/linux-6.15/drivers/media/platform/qcom/camss/camss.c
/linux-6.15/drivers/media/platform/qcom/camss/camss.h
Makefile
/linux-6.15/drivers/media/platform/raspberrypi/rp1-cfe/cfe.c
/linux-6.15/drivers/media/platform/st/stm32/stm32-csi.c
/linux-6.15/drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-core.c
/linux-6.15/drivers/media/platform/ti/cal/cal-camerarx.c
/linux-6.15/drivers/media/platform/ti/cal/cal.c
/linux-6.15/drivers/media/platform/ti/cal/cal.h
/linux-6.15/drivers/media/radio/radio-aztech.c
/linux-6.15/drivers/media/rc/keymaps/Makefile
/linux-6.15/drivers/media/rc/keymaps/rc-siemens-gigaset-rc20.c
/linux-6.15/drivers/media/rc/streamzap.c
/linux-6.15/drivers/media/test-drivers/vivid/vivid-kthread-cap.c
/linux-6.15/drivers/media/test-drivers/vivid/vivid-kthread-out.c
/linux-6.15/drivers/media/test-drivers/vivid/vivid-kthread-touch.c
/linux-6.15/drivers/media/test-drivers/vivid/vivid-sdr-cap.c
/linux-6.15/drivers/media/v4l2-core/v4l2-common.c
/linux-6.15/drivers/media/v4l2-core/v4l2-dv-timings.c
/linux-6.15/drivers/media/v4l2-core/v4l2-subdev.c
/linux-6.15/include/media/rc-map.h
/linux-6.15/include/media/v4l2-common.h
/linux-6.15/include/media/v4l2-dv-timings.h
/linux-6.15/include/media/v4l2-mediabus.h
/linux-6.15/include/media/v4l2-subdev.h
7986525207-Feb-2025 Dikshita Agarwal <[email protected]>

media: iris: enable video driver probe of SM8250 SoC

Initialize the platform data and enable video driver probe of SM8250
SoC.

Tested-by: Stefan Schmidt <[email protected]> # x1e80100 (Dell

media: iris: enable video driver probe of SM8250 SoC

Initialize the platform data and enable video driver probe of SM8250
SoC.

Tested-by: Stefan Schmidt <[email protected]> # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt <[email protected]>
Tested-by: Neil Armstrong <[email protected]> # on SM8550-QRD
Tested-by: Neil Armstrong <[email protected]> # on SM8550-HDK
Signed-off-by: Dikshita Agarwal <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>

show more ...

547f7b8c07-Feb-2025 Vedang Nagar <[email protected]>

media: iris: add check to allow sub states transitions

Based on the design of the state machine, add checks whether the
transition from one sub-state to another is allowed.

Signed-off-by: Vedang Na

media: iris: add check to allow sub states transitions

Based on the design of the state machine, add checks whether the
transition from one sub-state to another is allowed.

Signed-off-by: Vedang Nagar <[email protected]>
Tested-by: Stefan Schmidt <[email protected]> # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt <[email protected]>
Tested-by: Neil Armstrong <[email protected]> # on SM8550-QRD
Tested-by: Neil Armstrong <[email protected]> # on SM8550-HDK
Signed-off-by: Dikshita Agarwal <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>

show more ...

ef0baf3607-Feb-2025 Vedang Nagar <[email protected]>

media: iris: implement power scaling for vpu2 and vpu3

Implement power scaling including a specific vpu2 and vpu3 calculation
for clock and bus bandwidth, which depends on the hardware
configuration

media: iris: implement power scaling for vpu2 and vpu3

Implement power scaling including a specific vpu2 and vpu3 calculation
for clock and bus bandwidth, which depends on the hardware
configuration, codec format, resolution and frame rate.

Signed-off-by: Vedang Nagar <[email protected]>
Tested-by: Stefan Schmidt <[email protected]> # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt <[email protected]>
Tested-by: Neil Armstrong <[email protected]> # on SM8550-QRD
Tested-by: Neil Armstrong <[email protected]> # on SM8550-HDK
Signed-off-by: Dikshita Agarwal <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>

show more ...

bdbe1cac07-Feb-2025 Vedang Nagar <[email protected]>

media: iris: add check whether the video session is supported or not

Based on the hardware capabilities, add a check during start_streaming
and queue_setup, whether the video session is supported by

media: iris: add check whether the video session is supported or not

Based on the hardware capabilities, add a check during start_streaming
and queue_setup, whether the video session is supported by the hardware.

Signed-off-by: Vedang Nagar <[email protected]>
Tested-by: Stefan Schmidt <[email protected]> # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt <[email protected]>
Tested-by: Neil Armstrong <[email protected]> # on SM8550-QRD
Tested-by: Neil Armstrong <[email protected]> # on SM8550-HDK
Signed-off-by: Dikshita Agarwal <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>

show more ...

d091007607-Feb-2025 Dikshita Agarwal <[email protected]>

media: iris: add support for drain sequence

handle the V4L2_DEC_CMD_STOP by initiating a drain sequence on the
firmware. Process and decode all OUTPUT buffers, that are queued by the
client, before

media: iris: add support for drain sequence

handle the V4L2_DEC_CMD_STOP by initiating a drain sequence on the
firmware. Process and decode all OUTPUT buffers, that are queued by the
client, before the VIDIOC_DECODER_CMD() was issued and mark the last
buffer with the V4L2_BUF_FLAG_LAST flag. The decoder is stopped, after
processing the last buffer.

Resume the decoder when one of these operations are issued by the client:
- V4L2_DEC_CMD_START
- pair of VIDIOC_STREAMOFF() and VIDIOC_STREAMON() on the CAPTURE queue
- pair of VIDIOC_STREAMOFF() and VIDIOC_STREAMON() on the OUTPUT queue

Add the handling to resume decoding when client issues
V4L2_DEC_CMD_START to resume decoding after a source change is detected.

Tested-by: Stefan Schmidt <[email protected]> # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt <[email protected]>
Tested-by: Neil Armstrong <[email protected]> # on SM8550-QRD
Tested-by: Neil Armstrong <[email protected]> # on SM8550-HDK
Signed-off-by: Dikshita Agarwal <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>

show more ...

c1f8b2cc07-Feb-2025 Dikshita Agarwal <[email protected]>

media: iris: handle streamoff/on from client in dynamic resolution change

The decoder is stopped after it completes the dynamic resolution change
sequence. Handle VIDIOC_STREAMOFF() and VIDIOC_STREA

media: iris: handle streamoff/on from client in dynamic resolution change

The decoder is stopped after it completes the dynamic resolution change
sequence. Handle VIDIOC_STREAMOFF() and VIDIOC_STREAMON() on the CAPTURE
queue to resume the decoding process.

Tested-by: Stefan Schmidt <[email protected]> # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt <[email protected]>
Tested-by: Neil Armstrong <[email protected]> # on SM8550-QRD
Tested-by: Neil Armstrong <[email protected]> # on SM8550-HDK
Signed-off-by: Dikshita Agarwal <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>

show more ...

84e17ada07-Feb-2025 Dikshita Agarwal <[email protected]>

media: iris: add support for dynamic resolution change

Handle the response sent by the firmware, when a source change is
detected. Read the subscribed parameter to get the changed values. Raise
the

media: iris: add support for dynamic resolution change

Handle the response sent by the firmware, when a source change is
detected. Read the subscribed parameter to get the changed values. Raise
the source change event to the client and update the instance sub-state.

Mark the last buffer from before the source change with the
V4L2_BUF_FLAG_LAST flag and return to the client.

Reviewed-by: Hans Verkuil <[email protected]>
Tested-by: Stefan Schmidt <[email protected]> # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt <[email protected]>
Tested-by: Neil Armstrong <[email protected]> # on SM8550-QRD
Tested-by: Neil Armstrong <[email protected]> # on SM8550-HDK
Signed-off-by: Dikshita Agarwal <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>

show more ...

17f2a48507-Feb-2025 Dikshita Agarwal <[email protected]>

media: iris: implement vb2 ops for buf_queue and firmware response

Implement the vb2 ops for the buf queue. These are the different buffer
attributes:
BUF_ATTR_DEFERRED - buffer queued by the client

media: iris: implement vb2 ops for buf_queue and firmware response

Implement the vb2 ops for the buf queue. These are the different buffer
attributes:
BUF_ATTR_DEFERRED - buffer queued by the client but not submitted to
firmware.
BUF_ATTR_PENDING_RELEASE - buffers requested to be released from
the firmware.
BUF_ATTR_QUEUED - buffers submitted to the firmware.
BUF_ATTR_DEQUEUED - buffers received from the firmware.
BUF_ATTR_BUFFER_DONE - buffers sent back to vb2.

Reviewed-by: Hans Verkuil <[email protected]>
Tested-by: Stefan Schmidt <[email protected]> # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt <[email protected]>
Tested-by: Neil Armstrong <[email protected]> # on SM8550-QRD
Tested-by: Neil Armstrong <[email protected]> # on SM8550-HDK
Signed-off-by: Dikshita Agarwal <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>

show more ...

73702f4507-Feb-2025 Dikshita Agarwal <[email protected]>

media: iris: allocate, initialize and queue internal buffers

Implement the functions for creating, queueing, releasing and destroying
the buffers for internal usage.

Tested-by: Stefan Schmidt <stef

media: iris: allocate, initialize and queue internal buffers

Implement the functions for creating, queueing, releasing and destroying
the buffers for internal usage.

Tested-by: Stefan Schmidt <[email protected]> # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt <[email protected]>
Tested-by: Neil Armstrong <[email protected]> # on SM8550-QRD
Tested-by: Neil Armstrong <[email protected]> # on SM8550-HDK
Signed-off-by: Dikshita Agarwal <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>

show more ...

025398e907-Feb-2025 Vedang Nagar <[email protected]>

media: iris: subscribe parameters and properties to firmware for hfi_gen2

For hfi_gen2, subscribe different bitstream parameters on to firmware,
to get notified of a change in any of the subscribed

media: iris: subscribe parameters and properties to firmware for hfi_gen2

For hfi_gen2, subscribe different bitstream parameters on to firmware,
to get notified of a change in any of the subscribed parameters.

Signed-off-by: Vedang Nagar <[email protected]>
Tested-by: Stefan Schmidt <[email protected]> # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt <[email protected]>
Tested-by: Neil Armstrong <[email protected]> # on SM8550-QRD
Tested-by: Neil Armstrong <[email protected]> # on SM8550-HDK
Signed-off-by: Dikshita Agarwal <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>

show more ...

3a19d7b907-Feb-2025 Vedang Nagar <[email protected]>

media: iris: implement set properties to firmware during streamon

During the stream on operation, set some mandatory properties on the
firmware to start a session. Set all v4l2 properties, which are

media: iris: implement set properties to firmware during streamon

During the stream on operation, set some mandatory properties on the
firmware to start a session. Set all v4l2 properties, which are set by
the client, on to firmware, which is prepared with the dependency graph.

Signed-off-by: Vedang Nagar <[email protected]>
Tested-by: Stefan Schmidt <[email protected]> # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt <[email protected]>
Tested-by: Neil Armstrong <[email protected]> # on SM8550-QRD
Tested-by: Neil Armstrong <[email protected]> # on SM8550-HDK
Signed-off-by: Dikshita Agarwal <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>

show more ...

11712ce707-Feb-2025 Dikshita Agarwal <[email protected]>

media: iris: implement vb2 streaming ops

During the stream on operation, send HFI_CMD_START on the capture and
output planes to start processing on the respective planes.

During the stream off oper

media: iris: implement vb2 streaming ops

During the stream on operation, send HFI_CMD_START on the capture and
output planes to start processing on the respective planes.

During the stream off operation, send HFI_CMD_STOP to the firmware,
which is a synchronous command. After the response is received by the
firmware, the session is closed on the firmware.

Introduce different states for the instance and state transitions.

IRIS_INST_INIT - video instance is opened.
IRIS_INST_INPUT_STREAMING - stream on is completed on output plane.
IRIS_INST_OUTPUT_STREAMING - stream on is completed on capture plane.
IRIS_INST_STREAMING - stream on is completed on both output and capture
planes.
IRIS_INST_DEINIT - video instance is closed.
IRIS_INST_ERROR - error state.

|
v
-------------
+---------| INIT |--------- +
| ------------- |
| ^ ^ |
| / \ |
| / \ |
| v v |
| ----------- ----------- |
| | INPUT OUTPUT | |
|---| STREAMING STREAMING |---|
| ----------- ----------- |
| ^ ^ |
| \ / |
| \ / |
| v v |
| ------------- |
|--------| STREAMING |-----------|
| ------------- |
| | |
| | |
| v |
| ----------- |
+-------->| DEINIT |<----------+
| ----------- |
| | |
| | |
| v |
| ---------- |
+-------->| ERROR |<-----------+
----------.

Reviewed-by: Hans Verkuil <[email protected]>
Tested-by: Stefan Schmidt <[email protected]> # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt <[email protected]>
Tested-by: Neil Armstrong <[email protected]> # on SM8550-QRD
Tested-by: Neil Armstrong <[email protected]> # on SM8550-HDK
Signed-off-by: Dikshita Agarwal <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>

show more ...

1dc5c97007-Feb-2025 Vedang Nagar <[email protected]>

media: iris: implement query_cap ioctl

Implement the query_cap ioctl with the necessary hooks.

Signed-off-by: Vedang Nagar <[email protected]>
Reviewed-by: Hans Verkuil <[email protected]>
T

media: iris: implement query_cap ioctl

Implement the query_cap ioctl with the necessary hooks.

Signed-off-by: Vedang Nagar <[email protected]>
Reviewed-by: Hans Verkuil <[email protected]>
Tested-by: Stefan Schmidt <[email protected]> # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt <[email protected]>
Tested-by: Neil Armstrong <[email protected]> # on SM8550-QRD
Tested-by: Neil Armstrong <[email protected]> # on SM8550-HDK
Signed-off-by: Dikshita Agarwal <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>

show more ...

33be1dde07-Feb-2025 Dikshita Agarwal <[email protected]>

media: iris: implement iris v4l2_ctrl_ops

Initialize the control handler by reading the platform specific firmware
capabilities. Capabilities are features, which are supported by a
specific platform

media: iris: implement iris v4l2_ctrl_ops

Initialize the control handler by reading the platform specific firmware
capabilities. Capabilities are features, which are supported by a
specific platform (SOC). Each capability is defined with a min, max,
range and default value and a corresponding HFI. Implement s_ctrl and
g_volatile_ctrl ctrl ops.

Co-developed-by: Vedang Nagar <[email protected]>
Signed-off-by: Vedang Nagar <[email protected]>
Reviewed-by: Hans Verkuil <[email protected]>
Tested-by: Stefan Schmidt <[email protected]> # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt <[email protected]>
Tested-by: Neil Armstrong <[email protected]> # on SM8550-QRD
Tested-by: Neil Armstrong <[email protected]> # on SM8550-HDK
Signed-off-by: Dikshita Agarwal <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>

show more ...

5c1418b807-Feb-2025 Vedang Nagar <[email protected]>

media: iris: implement subscribe_event and unsubscribe_event ioctls

Implement the subscribe_event and unsubscribe_event iocts with the
necessary hooks.

Signed-off-by: Vedang Nagar <quic_vnagar@quic

media: iris: implement subscribe_event and unsubscribe_event ioctls

Implement the subscribe_event and unsubscribe_event iocts with the
necessary hooks.

Signed-off-by: Vedang Nagar <[email protected]>
Reviewed-by: Hans Verkuil <[email protected]>
Tested-by: Stefan Schmidt <[email protected]> # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt <[email protected]>
Tested-by: Neil Armstrong <[email protected]> # on SM8550-QRD
Tested-by: Neil Armstrong <[email protected]> # on SM8550-HDK
Signed-off-by: Dikshita Agarwal <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>

show more ...

fb1417ed07-Feb-2025 Vedang Nagar <[email protected]>

media: iris: implement enum_fmt and enum_framesizes ioctls

Implement the enum_fmt and enum_framesizes ioctls with the necessary
hooks.

Signed-off-by: Vedang Nagar <[email protected]>
Reviewed

media: iris: implement enum_fmt and enum_framesizes ioctls

Implement the enum_fmt and enum_framesizes ioctls with the necessary
hooks.

Signed-off-by: Vedang Nagar <[email protected]>
Reviewed-by: Hans Verkuil <[email protected]>
Tested-by: Stefan Schmidt <[email protected]> # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt <[email protected]>
Tested-by: Neil Armstrong <[email protected]> # on SM8550-QRD
Tested-by: Neil Armstrong <[email protected]> # on SM8550-HDK
Signed-off-by: Dikshita Agarwal <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>

show more ...

402109e007-Feb-2025 Vedang Nagar <[email protected]>

media: iris: implement g_selection ioctl

Implement the g_selection ioctl op in the driver with the necessary
hooks.

Signed-off-by: Vedang Nagar <[email protected]>
Reviewed-by: Hans Verkuil <

media: iris: implement g_selection ioctl

Implement the g_selection ioctl op in the driver with the necessary
hooks.

Signed-off-by: Vedang Nagar <[email protected]>
Reviewed-by: Hans Verkuil <[email protected]>
Tested-by: Stefan Schmidt <[email protected]> # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt <[email protected]>
Tested-by: Neil Armstrong <[email protected]> # on SM8550-QRD
Tested-by: Neil Armstrong <[email protected]> # on SM8550-HDK
Signed-off-by: Dikshita Agarwal <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>

show more ...

b530b95d07-Feb-2025 Vedang Nagar <[email protected]>

media: iris: implement s_fmt, g_fmt and try_fmt ioctls

Implement the s_fmt, g_fmt and try_fmt ioctl ops with the necessary
hooks.

Signed-off-by: Vedang Nagar <[email protected]>
Reviewed-by:

media: iris: implement s_fmt, g_fmt and try_fmt ioctls

Implement the s_fmt, g_fmt and try_fmt ioctl ops with the necessary
hooks.

Signed-off-by: Vedang Nagar <[email protected]>
Reviewed-by: Hans Verkuil <[email protected]>
Tested-by: Stefan Schmidt <[email protected]> # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt <[email protected]>
Tested-by: Neil Armstrong <[email protected]> # on SM8550-QRD
Tested-by: Neil Armstrong <[email protected]> # on SM8550-HDK
Signed-off-by: Dikshita Agarwal <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>

show more ...

38fc8bea07-Feb-2025 Dikshita Agarwal <[email protected]>

media: iris: implement reqbuf ioctl with vb2_queue_setup

Implement the reqbuf IOCTL op and the vb2_queue_setup vb2 op in the
driver with necessary hooks.

Reviewed-by: Hans Verkuil <hverkuil@xs4all.

media: iris: implement reqbuf ioctl with vb2_queue_setup

Implement the reqbuf IOCTL op and the vb2_queue_setup vb2 op in the
driver with necessary hooks.

Reviewed-by: Hans Verkuil <[email protected]>
Tested-by: Stefan Schmidt <[email protected]> # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt <[email protected]>
Tested-by: Neil Armstrong <[email protected]> # on SM8550-QRD
Tested-by: Neil Armstrong <[email protected]> # on SM8550-HDK
Signed-off-by: Dikshita Agarwal <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>

show more ...

bb8a95aa07-Feb-2025 Dikshita Agarwal <[email protected]>

media: iris: implement power management

Implement runtime power management for iris, including a platform
specific power on/off sequence.

Tested-by: Stefan Schmidt <[email protected]> # x1e

media: iris: implement power management

Implement runtime power management for iris, including a platform
specific power on/off sequence.

Tested-by: Stefan Schmidt <[email protected]> # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt <[email protected]>
Tested-by: Neil Armstrong <[email protected]> # on SM8550-QRD
Tested-by: Neil Armstrong <[email protected]> # on SM8550-HDK
Signed-off-by: Dikshita Agarwal <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>

show more ...

fb583a2107-Feb-2025 Dikshita Agarwal <[email protected]>

media: iris: introduce host firmware interface with necessary hooks

The Host firmware interface (HFI) is a well defined set of interfaces
for the communication between the host driver and the firmwa

media: iris: introduce host firmware interface with necessary hooks

The Host firmware interface (HFI) is a well defined set of interfaces
for the communication between the host driver and the firmware. The
commands and responses are exchanged in form of packets. One or multiple
packets are grouped under the packet header. Each packet has a packet
type which describes the specific HFI and the payload, which holds the
corresponding value for that HFI.

Tested-by: Stefan Schmidt <[email protected]> # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt <[email protected]>
Tested-by: Neil Armstrong <[email protected]> # on SM8550-QRD
Tested-by: Neil Armstrong <[email protected]> # on SM8550-HDK
Signed-off-by: Dikshita Agarwal <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>

show more ...

abf5bac607-Feb-2025 Dikshita Agarwal <[email protected]>

media: iris: implement the boot sequence of the firmware

Set the memory region on the firmware and implement the boot sequence.

Tested-by: Stefan Schmidt <[email protected]> # x1e80100 (Del

media: iris: implement the boot sequence of the firmware

Set the memory region on the firmware and implement the boot sequence.

Tested-by: Stefan Schmidt <[email protected]> # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt <[email protected]>
Tested-by: Neil Armstrong <[email protected]> # on SM8550-QRD
Tested-by: Neil Armstrong <[email protected]> # on SM8550-HDK
Signed-off-by: Dikshita Agarwal <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>

show more ...

d19b163307-Feb-2025 Dikshita Agarwal <[email protected]>

media: iris: implement video firmware load/unload

Load/unload the firmware into/from memory via the MDT loader.
The firmware is loaded as part of core initialization and unloaded as
part of core de

media: iris: implement video firmware load/unload

Load/unload the firmware into/from memory via the MDT loader.
The firmware is loaded as part of core initialization and unloaded as
part of core de-initialization.

Tested-by: Stefan Schmidt <[email protected]> # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt <[email protected]>
Tested-by: Neil Armstrong <[email protected]> # on SM8550-QRD
Tested-by: Neil Armstrong <[email protected]> # on SM8550-HDK
Signed-off-by: Dikshita Agarwal <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>

show more ...

d7378f8407-Feb-2025 Dikshita Agarwal <[email protected]>

media: iris: introduce iris core state management with shared queues

Introduce a core state management for iris driver with the necessary
queues needed for the host firmware communication.

There ar

media: iris: introduce iris core state management with shared queues

Introduce a core state management for iris driver with the necessary
queues needed for the host firmware communication.

There are 3 types of queues:
Command queue - driver to write any command to firmware.
Message queue - firmware to send any response to the driver.
Debug queue - for the firmware to write debug messages.
Initialize and configure the shared queues during probe.

Different states for core:
IRIS_CORE_DEINIT - default state.
IRIS_CORE_INIT - core state with core initialized. FW loaded and HW
brought out of reset, shared queues established
between host driver and firmware.
IRIS_CORE_ERROR - error state.
-----------
|
V
-----------
| DEINIT |
-----------
^
/ \
/ \
/ \
/ \
v v
----------- ----------.
| INIT |-->| ERROR |
----------- ----------.

Tested-by: Stefan Schmidt <[email protected]> # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt <[email protected]>
Tested-by: Neil Armstrong <[email protected]> # on SM8550-QRD
Tested-by: Neil Armstrong <[email protected]> # on SM8550-HDK
Signed-off-by: Dikshita Agarwal <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>

show more ...

12