<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c, branch v6.12.80</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v6.12.80</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v6.12.80'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2025-11-13T20:34:00+00:00</updated>
<entry>
<title>drm/amd: Check that VPE has reached DPM0 in idle handler</title>
<updated>2025-11-13T20:34:00+00:00</updated>
<author>
<name>Mario Limonciello</name>
<email>mario.limonciello@amd.com</email>
</author>
<published>2025-10-16T18:55:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=3daad56d20db357e9c5c1b4b09b323141cd546f5'/>
<id>urn:sha1:3daad56d20db357e9c5c1b4b09b323141cd546f5</id>
<content type='text'>
commit ba10f8d92a2c026b1052b4c0fa2cd7538838c965 upstream.

[Why]
Newer VPE microcode has functionality that will decrease DPM level
only when a workload has run for 2 or more seconds.  If VPE is turned
off before this DPM decrease and the PMFW doesn't reset it when
power gating VPE, the SOC can get stuck with a higher DPM level.

This can happen from amdgpu's ring buffer test because it's a short
quick workload for VPE and VPE is turned off after 1s.

[How]
In idle handler besides checking fences are drained check PMFW version
to determine if it will reset DPM when power gating VPE.  If PMFW will
not do this, then check VPE DPM level. If it is not DPM0 reschedule
delayed work again until it is.

v2: squash in return fix (Alex)

Cc: Peyton.Lee@amd.com
Reported-by: Sultan Alsawaf &lt;sultan@kerneltoast.com&gt;
Reviewed-by: Sultan Alsawaf &lt;sultan@kerneltoast.com&gt;
Tested-by: Sultan Alsawaf &lt;sultan@kerneltoast.com&gt;
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4615
Reviewed-by: Lijo Lazar &lt;lijo.lazar@amd.com&gt;
Signed-off-by: Mario Limonciello &lt;mario.limonciello@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
(cherry picked from commit 3ac635367eb589bee8edcc722f812a89970e14b7)
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: add VPE IP v6.1.3 support</title>
<updated>2024-07-02T22:06:13+00:00</updated>
<author>
<name>Tim Huang</name>
<email>Tim.Huang@amd.com</email>
</author>
<published>2024-05-15T08:27:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=f3e2a425c6b212d88d26c7d194e09508e520a5e8'/>
<id>urn:sha1:f3e2a425c6b212d88d26c7d194e09508e520a5e8</id>
<content type='text'>
This patch is to add VPE 6.1.3 support.

Signed-off-by: Tim Huang &lt;Tim.Huang@amd.com&gt;
Reviewed-by: Yifan Zhang &lt;yifan1.zhang@amd.com&gt;
Reviewed-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: refine vpe firmware loading</title>
<updated>2024-06-14T20:17:12+00:00</updated>
<author>
<name>Yang Wang</name>
<email>kevinyang.wang@amd.com</email>
</author>
<published>2024-05-30T15:34:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=8d7ff60f36b0a9c1767141f0315d6df190a8312f'/>
<id>urn:sha1:8d7ff60f36b0a9c1767141f0315d6df190a8312f</id>
<content type='text'>
refine vpe firmware loading

Signed-off-by: Yang Wang &lt;kevinyang.wang@amd.com&gt;
Reviewed-by: Christian König &lt;christian.koenig@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu/vpe: fix vpe dpm clk ratio setup failed</title>
<updated>2024-05-02T19:43:48+00:00</updated>
<author>
<name>Peyton Lee</name>
<email>peytolee@amd.com</email>
</author>
<published>2024-04-30T14:09:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=3f19cffde93585b25a007b108cc4b5bd149226c1'/>
<id>urn:sha1:3f19cffde93585b25a007b108cc4b5bd149226c1</id>
<content type='text'>
Some version of BIOS does not enable all clock levels,
resulting in high level clock frequency of 0.
The number of valid CLKs must be confirmed in advance.

Signed-off-by: Peyton Lee &lt;peytolee@amd.com&gt;
Reviewed-by: Lang Yu &lt;lang.yu@amd.com&gt;
Acked-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu/vpe: fix vpe dpm setup failed</title>
<updated>2024-04-23T16:08:30+00:00</updated>
<author>
<name>Peyton Lee</name>
<email>peytolee@amd.com</email>
</author>
<published>2024-04-19T06:07:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2476c6bd950e696558145a5f41344b000e1af01f'/>
<id>urn:sha1:2476c6bd950e696558145a5f41344b000e1af01f</id>
<content type='text'>
The vpe dpm settings should be done before firmware is loaded.
Otherwise, the frequency cannot be successfully raised.

Signed-off-by: Peyton Lee &lt;peytolee@amd.com&gt;
Reviewed-by: Lang Yu &lt;lang.yu@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu/vpe: power on vpe when hw_init</title>
<updated>2024-03-27T12:50:20+00:00</updated>
<author>
<name>Peyton Lee</name>
<email>peytolee@amd.com</email>
</author>
<published>2024-03-13T08:53:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=eed14eb48ee176fe0144c6a999d00c855d0b199b'/>
<id>urn:sha1:eed14eb48ee176fe0144c6a999d00c855d0b199b</id>
<content type='text'>
To fix mode2 reset failure.
Should power on VPE when hw_init.

Signed-off-by: Peyton Lee &lt;peytolee@amd.com&gt;
Reviewed-by: Lang Yu &lt;lang.yu@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>Revert "drm/amdgpu/vpe: don't emit cond exec command under collaborate mode"</title>
<updated>2024-03-20T17:12:59+00:00</updated>
<author>
<name>Lang Yu</name>
<email>Lang.Yu@amd.com</email>
</author>
<published>2024-03-18T10:31:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=1b7eec6bf360145bbca959a6c036e885dc5cf8f5'/>
<id>urn:sha1:1b7eec6bf360145bbca959a6c036e885dc5cf8f5</id>
<content type='text'>
Ready now. Remove this workaround.
This reverts commit d40f6213b52c161fd4634933acbc32103a283363.

Signed-off-by: Lang Yu &lt;Lang.Yu@amd.com&gt;
Tested-by: Alan Liu &lt;haoping.liu@amd.com&gt;
Acked-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu/vpe: add VPE 6.1.1 support</title>
<updated>2024-03-07T20:33:10+00:00</updated>
<author>
<name>Lang Yu</name>
<email>Lang.Yu@amd.com</email>
</author>
<published>2023-11-15T03:56:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=f9070b0f2f9edb503b20b12782d4d601cafc6d5e'/>
<id>urn:sha1:f9070b0f2f9edb503b20b12782d4d601cafc6d5e</id>
<content type='text'>
Add initial support for VPE 6.1.1.

v2: squash in updates (Alex)

Signed-off-by: Lang Yu &lt;Lang.Yu@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu/vpe: don't emit cond exec command under collaborate mode</title>
<updated>2024-03-07T20:33:04+00:00</updated>
<author>
<name>Lang Yu</name>
<email>Lang.Yu@amd.com</email>
</author>
<published>2024-01-31T07:40:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d40f6213b52c161fd4634933acbc32103a283363'/>
<id>urn:sha1:d40f6213b52c161fd4634933acbc32103a283363</id>
<content type='text'>
Not ready now.

Signed-off-by: Lang Yu &lt;Lang.Yu@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu/vpe: add collaborate mode support for VPE</title>
<updated>2024-03-07T20:33:01+00:00</updated>
<author>
<name>Lang Yu</name>
<email>Lang.Yu@amd.com</email>
</author>
<published>2023-01-16T05:11:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=26f5f34e6e44f995d97b8917484373c22715fd8d'/>
<id>urn:sha1:26f5f34e6e44f995d97b8917484373c22715fd8d</id>
<content type='text'>
Under clollaborate mode, multiple VPE instances share a ring buferr
and work together to finish a job.

Signed-off-by: Lang Yu &lt;Lang.Yu@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
</feed>
