<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/media/platform/qcom, branch linux-5.7.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.7.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.7.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2020-08-26T09:42:13Z</updated>
<entry>
<title>media: camss: fix memory leaks on error handling paths in probe</title>
<updated>2020-08-26T09:42:13Z</updated>
<author>
<name>Evgeny Novikov</name>
</author>
<published>2020-07-23T17:46:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=eefcd6cd4e65a55aaadb801c027773a22d6430ec'/>
<id>urn:sha1:eefcd6cd4e65a55aaadb801c027773a22d6430ec</id>
<content type='text'>
[ Upstream commit f45882cfb152f5d3a421fd58f177f227e44843b9 ]

camss_probe() does not free camss on error handling paths. The patch
introduces an additional error label for this purpose. Besides, it
removes call of v4l2_async_notifier_cleanup() from
camss_of_parse_ports() since its caller, camss_probe(), cleans up all
its resources itself.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Evgeny Novikov &lt;novikov@ispras.ru&gt;
Co-developed-by: Anton Vasilyev &lt;vasilyev@ispras.ru&gt;
Signed-off-by: Anton Vasilyev &lt;vasilyev@ispras.ru&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: venus: fix multiple encoder crash</title>
<updated>2020-08-21T11:07:24Z</updated>
<author>
<name>Mansur Alisha Shaik</name>
</author>
<published>2020-05-01T06:28:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=68bc36fc3f8907be647513444d62c6fff7aa474f'/>
<id>urn:sha1:68bc36fc3f8907be647513444d62c6fff7aa474f</id>
<content type='text'>
commit e0eb34810113dbbf1ace57440cf48d514312a373 upstream.

Currently we are considering the instances which are available
in core-&gt;inst list for load calculation in min_loaded_core()
function, but this is incorrect because by the time we call
decide_core() for second instance, the third instance not
filled yet codec_freq_data pointer.

Solve this by considering the instances whose session has started.

Cc: stable@vger.kernel.org # v5.7+
Fixes: 4ebf969375bc ("media: venus: introduce core selection")
Tested-by: Douglas Anderson &lt;dianders@chromium.org&gt;
Signed-off-by: Mansur Alisha Shaik &lt;mansur@codeaurora.org&gt;
Signed-off-by: Stanimir Varbanov &lt;stanimir.varbanov@linaro.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>media: venus: core: remove CNOC voting while device suspend</title>
<updated>2020-06-22T07:32:29Z</updated>
<author>
<name>Mansur Alisha Shaik</name>
</author>
<published>2020-04-10T07:17:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=17875d99e7a48e164663a0a2dcda7532a0a77fd8'/>
<id>urn:sha1:17875d99e7a48e164663a0a2dcda7532a0a77fd8</id>
<content type='text'>
[ Upstream commit 07f8f22a33a9e3e9955e24a84e2f856dcc8c31c4 ]

The Venus driver is voting Configuration NoC during .probe but not clear
voting in .suspend. Because of this NoC is up during shutdown also. As a
consequence the whole device could leak energy while in .suspend.

So correct this by moving voting in .resume and unvoting
in .suspend

Signed-off-by: Mansur Alisha Shaik &lt;mansur@codeaurora.org&gt;
Signed-off-by: Stanimir Varbanov &lt;stanimir.varbanov@linaro.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: venus: firmware: Ignore secure call error on first resume</title>
<updated>2020-03-30T09:28:18Z</updated>
<author>
<name>Stanimir Varbanov</name>
</author>
<published>2020-03-04T10:09:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2632e7b618a7730969f9782593c29ca53553aa22'/>
<id>urn:sha1:2632e7b618a7730969f9782593c29ca53553aa22</id>
<content type='text'>
With the latest cleanup in qcom scm driver the secure monitor
call for setting the remote processor state returns EINVAL when
it is called for the first time and after another scm call
auth_and_reset. The error returned from scm call could be ignored
because the state transition is already done in auth_and_reset.

Acked-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;
Signed-off-by: Stanimir Varbanov &lt;stanimir.varbanov@linaro.org&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: venus: support frame rate control</title>
<updated>2020-03-12T12:59:02Z</updated>
<author>
<name>Jeffrey Kardatzke</name>
</author>
<published>2020-02-22T00:33:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6f704b2fbbde0c9893ea59d54d76195d72ac63a1'/>
<id>urn:sha1:6f704b2fbbde0c9893ea59d54d76195d72ac63a1</id>
<content type='text'>
Add encoder control for enabling/disabling frame rate control via
V4L2_CID_MPEG_VIDEO_FRAME_RC_ENABLE. It is enabled by default.

Signed-off-by: Jeffrey Kardatzke &lt;jkardatzke@google.com&gt;
Signed-off-by: Stanimir Varbanov &lt;stanimir.varbanov@linaro.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: venus: vdec: Fix forgotten mutex unlock in start streaming</title>
<updated>2020-03-12T10:50:20Z</updated>
<author>
<name>Stanimir Varbanov</name>
</author>
<published>2020-03-03T11:15:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=808431d6deacdbb34fdd1b59b622bc54cc444485'/>
<id>urn:sha1:808431d6deacdbb34fdd1b59b622bc54cc444485</id>
<content type='text'>
This fixes the following smatch warning in the error path:

drivers/media/platform/qcom/venus/vdec.c:968 vdec_start_streaming()
 warn: inconsistent returns 'mutex:&amp;inst-&gt;lock'.
  Locked on:   line 952
  Unlocked on: line 963
               line 968

by goto mutex unlock.

Signed-off-by: Stanimir Varbanov &lt;stanimir.varbanov@linaro.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: Split v4l2_pipeline_pm_use into v4l2_pipeline_pm_{get, put}</title>
<updated>2020-03-02T14:11:40Z</updated>
<author>
<name>Ezequiel Garcia</name>
</author>
<published>2020-01-24T20:35:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8fd390b89cc8ca786bc1b66d8a76512a6068b081'/>
<id>urn:sha1:8fd390b89cc8ca786bc1b66d8a76512a6068b081</id>
<content type='text'>
Currently, v4l2_pipeline_pm_use() prototype is:

  int v4l2_pipeline_pm_use(struct media_entity *entity, int use)

Where the 'use' argument shall only be set to '1' for enable/power-on,
or to '0' for disable/power-off. The integer return is specified
as only meaningful when 'use' is set to '1'.

Let's enforce this semantic by splitting the function in two:
v4l2_pipeline_pm_get and v4l2_pipeline_pm_put. This is done
for several reasons.

It makes the API easier to use (or harder to misuse).
It removes the constraint on the values the 'use' argument
shall take. Also, it removes the need to constraint
the return value, by making v4l2_pipeline_pm_put void return.

And last, it's more consistent with other kernel APIs, such
as the runtime pm APIs, which makes the code more symmetric.

Signed-off-by: Ezequiel Garcia &lt;ezequiel@collabora.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil-cisco@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: venus: core: add sc7180 DT compatible and resource struct</title>
<updated>2020-02-27T15:56:45Z</updated>
<author>
<name>Dikshita Agarwal</name>
</author>
<published>2020-01-14T12:53:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ea93e2f94c277890eca513d35897e61589ecc81a'/>
<id>urn:sha1:ea93e2f94c277890eca513d35897e61589ecc81a</id>
<content type='text'>
This add DT compatible string and resource structure for sc7180.

Signed-off-by: Dikshita Agarwal &lt;dikshita@codeaurora.org&gt;
Signed-off-by: Stanimir Varbanov &lt;stanimir.varbanov@linaro.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: venus: core: add sdm845-v2 DT compatible and resource struct</title>
<updated>2020-02-27T15:54:14Z</updated>
<author>
<name>Stanimir Varbanov</name>
</author>
<published>2019-12-18T10:46:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=799e4bc2914214b76ff97d3978b36353d1feaff7'/>
<id>urn:sha1:799e4bc2914214b76ff97d3978b36353d1feaff7</id>
<content type='text'>
In order to use dynamic video codec assignment add a new sdm845-v2
DT compatible and new venus_resource structure to cover the binding
where all pmdomains and clocks are under the venus_core control.

Signed-off-by: Stanimir Varbanov &lt;stanimir.varbanov@linaro.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: venus: vdec: handle 10bit bitstreams</title>
<updated>2020-02-27T15:49:02Z</updated>
<author>
<name>Aniket Masule</name>
</author>
<published>2019-12-04T10:18:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ab1eda449c6eef5067538b034c7561eb9e053362'/>
<id>urn:sha1:ab1eda449c6eef5067538b034c7561eb9e053362</id>
<content type='text'>
Handle 10bit video streams in the decoder by using dithering, i.e
the decoder output buffers will be in 8bit format.

The runtime handling is implemented by sending v4l2 event to
userspace application, then the application should stop the
streaming on capture queue and initiate format negotiation, and
start streaming again.

Signed-off-by: Aniket Masule &lt;amasule@codeaurora.org&gt;
Co-developed-by: Stanimir Varbanov &lt;stanimir.varbanov@linaro.org&gt;
Signed-off-by: Stanimir Varbanov &lt;stanimir.varbanov@linaro.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
</content>
</entry>
</feed>
