<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/media/platform/qcom/iris, branch linux-6.15.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.15.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.15.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-08-20T16:36:19Z</updated>
<entry>
<title>media: iris: Add handling for corrupt and drop frames</title>
<updated>2025-08-20T16:36:19Z</updated>
<author>
<name>Dikshita Agarwal</name>
</author>
<published>2025-05-09T08:39:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=afc65c45afa22523531cb1824a8544567f2c4735'/>
<id>urn:sha1:afc65c45afa22523531cb1824a8544567f2c4735</id>
<content type='text'>
[ Upstream commit b791dcfcba3a0c46fb3e2decab31d2340c5dc313 ]

Firmware attach DATACORRUPT/DROP buffer flags for the frames which
needs to be dropped, handle it by setting VB2_BUF_STATE_ERROR for these
buffers before calling buf_done.

Reviewed-by: Bryan O'Donoghue &lt;bryan.odonoghue@linaro.org&gt;
Acked-by: Vikash Garodia &lt;quic_vgarodia@quicinc.com&gt;
Tested-by: Neil Armstrong &lt;neil.armstrong@linaro.org&gt; # on SM8550-QRD
Tested-by: Neil Armstrong &lt;neil.armstrong@linaro.org&gt; # on SM8550-HDK
Tested-by: Neil Armstrong &lt;neil.armstrong@linaro.org&gt; # on SM8650-QRD
Tested-by: Neil Armstrong &lt;neil.armstrong@linaro.org&gt; # on SM8650-HDK
Signed-off-by: Dikshita Agarwal &lt;quic_dikshita@quicinc.com&gt;
Tested-by: Vikash Garodia &lt;quic_vgarodia@quicinc.com&gt; # on sa8775p-ride
Signed-off-by: Bryan O'Donoghue &lt;bod@kernel.org&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: iris: fix error code in iris_load_fw_to_memory()</title>
<updated>2025-06-27T10:13:00Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2025-02-17T08:08:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0a64fb2f3ad1059c41ece95409980c2b26e0906d'/>
<id>urn:sha1:0a64fb2f3ad1059c41ece95409980c2b26e0906d</id>
<content type='text'>
commit e68c3c50a736490d9c07888fe525718d16ff9e9c upstream.

Return -ENOMEM if memremap() fails.  Don't return success.

Fixes: d19b163356b8 ("media: iris: implement video firmware load/unload")
Cc: stable@vger.kernel.org
Signed-off-by: Dan Carpenter &lt;dan.carpenter@linaro.org&gt;
Reviewed-by: Dikshita Agarwal &lt;quic_dikshita@quicinc.com&gt;
Signed-off-by: Bryan O'Donoghue &lt;bod@kernel.org&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>media: iris: rename module file</title>
<updated>2025-02-21T09:33:00Z</updated>
<author>
<name>Arnd Bergmann</name>
</author>
<published>2025-02-19T08:01:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a21766b51857cf42bda0c857349622335ed1efe8'/>
<id>urn:sha1:a21766b51857cf42bda0c857349622335ed1efe8</id>
<content type='text'>
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 &lt;Sebastien.Hinderer@ens-lyon.org&gt; # for x86 iris
Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>media: iris: enable video driver probe of SM8250 SoC</title>
<updated>2025-02-07T10:51:57Z</updated>
<author>
<name>Dikshita Agarwal</name>
</author>
<published>2025-02-07T07:55:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=79865252acb68b53473d8d81b722b0a82653e0d0'/>
<id>urn:sha1:79865252acb68b53473d8d81b722b0a82653e0d0</id>
<content type='text'>
Initialize the platform data and enable video driver probe of SM8250
SoC.

Tested-by: Stefan Schmidt &lt;stefan.schmidt@linaro.org&gt; # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt &lt;stefan.schmidt@linaro.org&gt;
Tested-by: Neil Armstrong &lt;neil.armstrong@linaro.org&gt; # on SM8550-QRD
Tested-by: Neil Armstrong &lt;neil.armstrong@linaro.org&gt; # on SM8550-HDK
Signed-off-by: Dikshita Agarwal &lt;quic_dikshita@quicinc.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>media: iris: add check to allow sub states transitions</title>
<updated>2025-02-07T10:51:55Z</updated>
<author>
<name>Vedang Nagar</name>
</author>
<published>2025-02-07T07:55:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=547f7b8c5090bd2dbafa384bdbba6b6b675ea8ba'/>
<id>urn:sha1:547f7b8c5090bd2dbafa384bdbba6b6b675ea8ba</id>
<content type='text'>
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 &lt;quic_vnagar@quicinc.com&gt;
Tested-by: Stefan Schmidt &lt;stefan.schmidt@linaro.org&gt; # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt &lt;stefan.schmidt@linaro.org&gt;
Tested-by: Neil Armstrong &lt;neil.armstrong@linaro.org&gt; # on SM8550-QRD
Tested-by: Neil Armstrong &lt;neil.armstrong@linaro.org&gt; # on SM8550-HDK
Signed-off-by: Dikshita Agarwal &lt;quic_dikshita@quicinc.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>media: iris: implement power scaling for vpu2 and vpu3</title>
<updated>2025-02-07T10:51:55Z</updated>
<author>
<name>Vedang Nagar</name>
</author>
<published>2025-02-07T07:55:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ef0baf36f72e84684666846544a513966442c1e4'/>
<id>urn:sha1:ef0baf36f72e84684666846544a513966442c1e4</id>
<content type='text'>
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 &lt;quic_vnagar@quicinc.com&gt;
Tested-by: Stefan Schmidt &lt;stefan.schmidt@linaro.org&gt; # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt &lt;stefan.schmidt@linaro.org&gt;
Tested-by: Neil Armstrong &lt;neil.armstrong@linaro.org&gt; # on SM8550-QRD
Tested-by: Neil Armstrong &lt;neil.armstrong@linaro.org&gt; # on SM8550-HDK
Signed-off-by: Dikshita Agarwal &lt;quic_dikshita@quicinc.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>media: iris: add check whether the video session is supported or not</title>
<updated>2025-02-07T10:51:52Z</updated>
<author>
<name>Vedang Nagar</name>
</author>
<published>2025-02-07T07:55:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bdbe1cac0c10a50eaf5ba1472429f6d721dffba4'/>
<id>urn:sha1:bdbe1cac0c10a50eaf5ba1472429f6d721dffba4</id>
<content type='text'>
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 &lt;quic_vnagar@quicinc.com&gt;
Tested-by: Stefan Schmidt &lt;stefan.schmidt@linaro.org&gt; # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt &lt;stefan.schmidt@linaro.org&gt;
Tested-by: Neil Armstrong &lt;neil.armstrong@linaro.org&gt; # on SM8550-QRD
Tested-by: Neil Armstrong &lt;neil.armstrong@linaro.org&gt; # on SM8550-HDK
Signed-off-by: Dikshita Agarwal &lt;quic_dikshita@quicinc.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>media: iris: add support for drain sequence</title>
<updated>2025-02-07T10:51:51Z</updated>
<author>
<name>Dikshita Agarwal</name>
</author>
<published>2025-02-07T07:55:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d09100763bed654bda2f4f02efd156394d436bcb'/>
<id>urn:sha1:d09100763bed654bda2f4f02efd156394d436bcb</id>
<content type='text'>
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 &lt;stefan.schmidt@linaro.org&gt; # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt &lt;stefan.schmidt@linaro.org&gt;
Tested-by: Neil Armstrong &lt;neil.armstrong@linaro.org&gt; # on SM8550-QRD
Tested-by: Neil Armstrong &lt;neil.armstrong@linaro.org&gt; # on SM8550-HDK
Signed-off-by: Dikshita Agarwal &lt;quic_dikshita@quicinc.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>media: iris: handle streamoff/on from client in dynamic resolution change</title>
<updated>2025-02-07T10:51:49Z</updated>
<author>
<name>Dikshita Agarwal</name>
</author>
<published>2025-02-07T07:55:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c1f8b2cc72ecda300894da679cde3a217e5b4411'/>
<id>urn:sha1:c1f8b2cc72ecda300894da679cde3a217e5b4411</id>
<content type='text'>
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 &lt;stefan.schmidt@linaro.org&gt; # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt &lt;stefan.schmidt@linaro.org&gt;
Tested-by: Neil Armstrong &lt;neil.armstrong@linaro.org&gt; # on SM8550-QRD
Tested-by: Neil Armstrong &lt;neil.armstrong@linaro.org&gt; # on SM8550-HDK
Signed-off-by: Dikshita Agarwal &lt;quic_dikshita@quicinc.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>media: iris: add support for dynamic resolution change</title>
<updated>2025-02-07T10:51:47Z</updated>
<author>
<name>Dikshita Agarwal</name>
</author>
<published>2025-02-07T07:55:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=84e17adae3e333dc4706f7d0be7370990b91c4dc'/>
<id>urn:sha1:84e17adae3e333dc4706f7d0be7370990b91c4dc</id>
<content type='text'>
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 &lt;hverkuil@xs4all.nl&gt;
Tested-by: Stefan Schmidt &lt;stefan.schmidt@linaro.org&gt; # x1e80100 (Dell XPS 13 9345)
Reviewed-by: Stefan Schmidt &lt;stefan.schmidt@linaro.org&gt;
Tested-by: Neil Armstrong &lt;neil.armstrong@linaro.org&gt; # on SM8550-QRD
Tested-by: Neil Armstrong &lt;neil.armstrong@linaro.org&gt; # on SM8550-HDK
Signed-off-by: Dikshita Agarwal &lt;quic_dikshita@quicinc.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
</content>
</entry>
</feed>
