|
Revision tags: v6.15, v6.15-rc7, v6.15-rc6, v6.15-rc5, v6.15-rc4, v6.15-rc3, v6.15-rc2, v6.15-rc1, v6.14, v6.14-rc7, v6.14-rc6, v6.14-rc5, v6.14-rc4 |
|
| #
a21766b5 |
| 19-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 ...
|
|
Revision tags: v6.14-rc3, v6.14-rc2 |
|
| #
79865252 |
| 07-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 ...
|
| #
ef0baf36 |
| 07-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 ...
|
| #
11712ce7 |
| 07-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 ...
|
| #
33be1dde |
| 07-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 ...
|
| #
38fc8bea |
| 07-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 ...
|
| #
bb8a95aa |
| 07-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 ...
|
| #
fb583a21 |
| 07-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 ...
|
| #
abf5bac6 |
| 07-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 ...
|
| #
d19b1633 |
| 07-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 ...
|
| #
d7378f84 |
| 07-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 ...
|
| #
fa186c97 |
| 07-Feb-2025 |
Dikshita Agarwal <[email protected]> |
media: iris: implement iris v4l2 file ops
Implement open, close and poll ops.
Open: Configure the vb2 queue and v4l2 file handler. Allocate a video instance and add the instance to core instance li
media: iris: implement iris v4l2 file ops
Implement open, close and poll ops.
Open: Configure the vb2 queue and v4l2 file handler. Allocate a video instance and add the instance to core instance list.
Close: Free the instance and remove it from core instance list.
Poll: Wait for an event on vb2 src and vb2 dst queues.
Reviewed-by: Bryan O'Donoghue <[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 ...
|
| #
38506cb7 |
| 07-Feb-2025 |
Dikshita Agarwal <[email protected]> |
media: iris: add platform driver for iris video device
In preparation for adding H264 decode functionality, add the probe and remove functions and platform data to initialize iris resources, which a
media: iris: add platform driver for iris video device
In preparation for adding H264 decode functionality, add the probe and remove functions and platform data to initialize iris resources, which are clocks, interconnects, power domains, reset clocks, and clock frequencies used for the iris hardware.
Reviewed-by: Bryan O'Donoghue <[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 ...
|