<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/gpu/drm/tegra/hdmi.c, branch linux-6.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.1.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.1.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2026-02-19T15:25:17Z</updated>
<entry>
<title>drm/tegra: hdmi: sor: Fix error: variable ‘j’ set but not used</title>
<updated>2026-02-19T15:25:17Z</updated>
<author>
<name>Brahmajit Das</name>
</author>
<published>2025-09-01T21:20:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ee05d704a5fb223dd63c405c121caff9eedaf846'/>
<id>urn:sha1:ee05d704a5fb223dd63c405c121caff9eedaf846</id>
<content type='text'>
[ Upstream commit 1beee8d0c263b3e239c8d6616e4f8bb700bed658 ]

The variable j is set, however never used in or outside the loop, thus
resulting in dead code.
Building with GCC 16 results in a build error due to
-Werror=unused-but-set-variable= enabled by default.
This patch clean up the dead code and fixes the build error.

Example build log:
drivers/gpu/drm/tegra/sor.c:1867:19: error: variable ‘j’ set but not used [-Werror=unused-but-set-variable=]
 1867 |         size_t i, j;
      |                   ^

Signed-off-by: Brahmajit Das &lt;listout@listout.xyz&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
Link: https://lore.kernel.org/r/20250901212020.3757519-1-listout@listout.xyz
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>drm/tegra: hdmi: Fix some error handling paths in tegra_hdmi_probe()</title>
<updated>2024-03-26T22:20:44Z</updated>
<author>
<name>Christophe JAILLET</name>
</author>
<published>2023-09-02T15:22:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bb459d437d179fc8cb1f3ab8745b6f5cbde6fc08'/>
<id>urn:sha1:bb459d437d179fc8cb1f3ab8745b6f5cbde6fc08</id>
<content type='text'>
[ Upstream commit 643ae131b8598fb2940c92c7d23fe62823a119c8 ]

If an error occurs after calling tegra_output_probe(),
tegra_output_remove() should be called as already done in the remove
function.

Fixes: 59d29c0ec93f ("drm/tegra: Allocate resources at probe time")
Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/9b7c564eb71977678b20abd73ee52001a51cf327.1693667005.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>drm/tegra: hdmi: Convert to devm_platform_ioremap_resource()</title>
<updated>2024-03-26T22:20:43Z</updated>
<author>
<name>Yangtao Li</name>
</author>
<published>2023-07-10T03:23:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8bc95d34408bf87b01d94edcc57a2ea5099f177d'/>
<id>urn:sha1:8bc95d34408bf87b01d94edcc57a2ea5099f177d</id>
<content type='text'>
[ Upstream commit faae5646c13f4697fd2ba29b10e38f9be5aa890a ]

Use devm_platform_ioremap_resource() to simplify code.

Signed-off-by: Yangtao Li &lt;frank.li@vivo.com&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20230710032355.72914-5-frank.li@vivo.com
Stable-dep-of: 643ae131b859 ("drm/tegra: hdmi: Fix some error handling paths in tegra_hdmi_probe()")
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>drm/tegra: Use dev_err_probe()</title>
<updated>2022-02-24T16:03:08Z</updated>
<author>
<name>Dmitry Osipenko</name>
</author>
<published>2022-02-07T21:29:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f07f04a51d92165e0ad711f1be1cc5bbbfcb4766'/>
<id>urn:sha1:f07f04a51d92165e0ad711f1be1cc5bbbfcb4766</id>
<content type='text'>
Replace dev_printk() with a generic dev_err_probe() helper which silences
noisy error messages about deferred probe and makes easy to debug failing
deferred probe by printing notification about the failure to KMSG in the
end of kernel booting process and by adding failing device and the reason
of deferred probe to devices_deferred of debugfs. This was proven to be
useful in the case of eDP driver regression by immediately showing why
display driver was failing when user asked for help, otherwise it would've
been much more difficult to debug such problems on a third party device
that doesn't have developer setup.

Signed-off-by: Dmitry Osipenko &lt;digetx@gmail.com&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
<entry>
<title>drm/tegra: hdmi: Add OPP support</title>
<updated>2021-12-16T13:07:07Z</updated>
<author>
<name>Dmitry Osipenko</name>
</author>
<published>2021-11-30T23:23:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6efdde0cd08b8fe79f20e2c150260f19e762e4d0'/>
<id>urn:sha1:6efdde0cd08b8fe79f20e2c150260f19e762e4d0</id>
<content type='text'>
The HDMI on Tegra belongs to the core power domain and we're going to
enable GENPD support for the core domain. Now HDMI driver must use
OPP API for driving the controller's clock rate because OPP API takes
care of reconfiguring the domain's performance state based on HDMI clock
rate. Add OPP support to the HDMI driver.

Reviewed-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
Signed-off-by: Dmitry Osipenko &lt;digetx@gmail.com&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
<entry>
<title>drm/tegra: hdmi: Register audio CODEC on Tegra20</title>
<updated>2021-12-16T13:07:07Z</updated>
<author>
<name>Dmitry Osipenko</name>
</author>
<published>2021-12-04T14:37:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=20c5a613185c98068e9ee5b011fb556dabd86e6e'/>
<id>urn:sha1:20c5a613185c98068e9ee5b011fb556dabd86e6e</id>
<content type='text'>
Tegra20 SoC supports only S/PDIF source for HDMI audio. Register ASoC HDMI
S/PDIF CODEC for Tegra20, it will be linked with the S/PDIF CPU DAI.

Signed-off-by: Dmitry Osipenko &lt;digetx@gmail.com&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
<entry>
<title>drm/tegra: hdmi: Unwind tegra_hdmi_init() errors</title>
<updated>2021-12-16T13:07:07Z</updated>
<author>
<name>Dmitry Osipenko</name>
</author>
<published>2021-12-04T14:37:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7e67e986194a3648bf471e16f89cb5f61377bb4f'/>
<id>urn:sha1:7e67e986194a3648bf471e16f89cb5f61377bb4f</id>
<content type='text'>
Add missing error unwinding to tegra_hdmi_init(), for consistency.

Signed-off-by: Dmitry Osipenko &lt;digetx@gmail.com&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
<entry>
<title>drm/tegra: Fix reference leak when pm_runtime_get_sync() fails</title>
<updated>2021-01-15T16:24:51Z</updated>
<author>
<name>Qinglang Miao</name>
</author>
<published>2020-12-01T12:56:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dcdfe2712b68f1e9dbf4f1a96ad59b80e5cc0ef7'/>
<id>urn:sha1:dcdfe2712b68f1e9dbf4f1a96ad59b80e5cc0ef7</id>
<content type='text'>
The PM reference count is not expected to be incremented on return in
these Tegra functions.

However, pm_runtime_get_sync() will increment the PM reference count
even on failure. Forgetting to put the reference again will result in
a leak.

Replace it with pm_runtime_resume_and_get() to keep the usage counter
balanced.

Fixes: fd67e9c6ed5a ("drm/tegra: Do not implement runtime PM")
Reported-by: Hulk Robot &lt;hulkci@huawei.com&gt;
Signed-off-by: Qinglang Miao &lt;miaoqinglang@huawei.com&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
<entry>
<title>drm/tegra: Clean up GPIO includes</title>
<updated>2020-04-17T15:16:22Z</updated>
<author>
<name>Linus Walleij</name>
</author>
<published>2020-04-15T12:24:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ac2caae61e566dc0a45ac264f5484e619366ce42'/>
<id>urn:sha1:ac2caae61e566dc0a45ac264f5484e619366ce42</id>
<content type='text'>
The Tegra DRM drivers includes the legacy GPIO headers
&lt;linux/gpio.h&gt; and &lt;linux/of_gpio.h&gt; but what it really
uses is &lt;linux/gpio/consumer.h&gt; since only gpio_desc
structs are ever referenced.

Include the right header on the top level tegra/drm.h
file and drop all the surplus includes.

Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Acked-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20200415122427.111769-1-linus.walleij@linaro.org
</content>
</entry>
<entry>
<title>drm/tegra: Use simple encoder</title>
<updated>2020-04-02T12:16:45Z</updated>
<author>
<name>Thomas Zimmermann</name>
</author>
<published>2020-03-05T15:59:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4d0e95e0e5679936b45848826aa080ced1ba40c8'/>
<id>urn:sha1:4d0e95e0e5679936b45848826aa080ced1ba40c8</id>
<content type='text'>
The tegra driver uses empty implementations for its encoders. Replace
the code with the generic simple encoder.

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Acked-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20200305155950.2705-16-tzimmermann@suse.de
</content>
</entry>
</feed>
