<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c, branch linux-6.14.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.14.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.14.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-05-29T09:13:29Z</updated>
<entry>
<title>drm/amdgpu: enlarge the VBIOS binary size limit</title>
<updated>2025-05-29T09:13:29Z</updated>
<author>
<name>Shiwu Zhang</name>
</author>
<published>2024-11-19T07:58:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=915bee70975da74469dc5e2567cd3f24a5a8b894'/>
<id>urn:sha1:915bee70975da74469dc5e2567cd3f24a5a8b894</id>
<content type='text'>
[ Upstream commit 667b96134c9e206aebe40985650bf478935cbe04 ]

Some chips have a larger VBIOS file so raise the size limit to support
the flashing tool.

Signed-off-by: Shiwu Zhang &lt;shiwu.zhang@amd.com&gt;
Reviewed-by: Hawking Zhang &lt;Hawking.Zhang@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: reset psp-&gt;cmd to NULL after releasing the buffer</title>
<updated>2025-05-29T09:13:26Z</updated>
<author>
<name>Jiang Liu</name>
</author>
<published>2025-02-07T06:28:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=baa4ad1ae99ef4a5b03e3a8b06f4694e98e93f25'/>
<id>urn:sha1:baa4ad1ae99ef4a5b03e3a8b06f4694e98e93f25</id>
<content type='text'>
[ Upstream commit e92f3f94cad24154fd3baae30c6dfb918492278d ]

Reset psp-&gt;cmd to NULL after releasing the buffer in function psp_sw_fini().

Reviewed-by: Lijo Lazar &lt;lijo.lazar@amd.com&gt;
Signed-off-by: Jiang Liu &lt;gerry@linux.alibaba.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: bail out when failed to load fw in psp_init_cap_microcode()</title>
<updated>2025-02-13T00:47:15Z</updated>
<author>
<name>Jiang Liu</name>
</author>
<published>2025-02-07T06:28:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a0a455b4bc7483ad60e8b8a50330c1e05bb7bfcf'/>
<id>urn:sha1:a0a455b4bc7483ad60e8b8a50330c1e05bb7bfcf</id>
<content type='text'>
In function psp_init_cap_microcode(), it should bail out when failed to
load firmware, otherwise it may cause invalid memory access.

Fixes: 07dbfc6b102e ("drm/amd: Use `amdgpu_ucode_*` helpers for PSP")
Reviewed-by: Lijo Lazar &lt;lijo.lazar@amd.com&gt;
Signed-off-by: Jiang Liu &lt;gerry@linux.alibaba.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: fill the ucode bo during psp resume for SRIOV</title>
<updated>2025-01-09T21:02:57Z</updated>
<author>
<name>Victor Zhao</name>
</author>
<published>2025-01-06T10:42:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=85b73415fde558549491f03218a907261c0f11fc'/>
<id>urn:sha1:85b73415fde558549491f03218a907261c0f11fc</id>
<content type='text'>
refill the ucode bo during psp resume for SRIOV, otherwise ucode load
will fail after VM hibernation and fb clean.

Signed-off-by: Victor Zhao &lt;Victor.Zhao@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: wrong array index to get ip block for PSP</title>
<updated>2025-01-09T21:02:56Z</updated>
<author>
<name>Jiang Liu</name>
</author>
<published>2025-01-08T13:59:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=edec9b0690906f37024b0dc74a0a924006a2ff07'/>
<id>urn:sha1:edec9b0690906f37024b0dc74a0a924006a2ff07</id>
<content type='text'>
The adev-&gt;ip_blocks array is not indexed by AMD_IP_BLOCK_TYPE_xxx,
instead we should call amdgpu_device_ip_get_ip_block() to get the
corresponding IP block oject.

Fix some checkpatch issues (Alex)

Signed-off-by: Jiang Liu &lt;gerry@linux.alibaba.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: Load spdm_drv for psp v13_0_12</title>
<updated>2024-12-10T15:27:23Z</updated>
<author>
<name>Hawking Zhang</name>
</author>
<published>2024-08-08T08:25:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=98230feb55124802832985e1d75c309f0d680f5d'/>
<id>urn:sha1:98230feb55124802832985e1d75c309f0d680f5d</id>
<content type='text'>
spdm_drv is a firmware that needs to be loaded
in driver initialization phase.

Signed-off-by: Hawking Zhang &lt;Hawking.Zhang@amd.com&gt;
Reviewed-by: Lijo Lazar &lt;lijo.lazar@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: add psp 13_0_12 version support</title>
<updated>2024-12-10T15:27:08Z</updated>
<author>
<name>Le Ma</name>
</author>
<published>2024-05-16T06:46:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2d2f1622c82a93239dac53240bc3570e84e13129'/>
<id>urn:sha1:2d2f1622c82a93239dac53240bc3570e84e13129</id>
<content type='text'>
Add support for new psp 13_0_12 version

Signed-off-by: Le Ma &lt;le.ma@amd.com&gt;
Reviewed-by: Lijo Lazar &lt;lijo.lazar@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd: Add the capability to mark certain firmware as "required"</title>
<updated>2024-12-10T15:26:51Z</updated>
<author>
<name>Mario Limonciello</name>
</author>
<published>2024-12-03T17:28:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ea5d49349894a7a74ce8dba242e3a487d24b6c0e'/>
<id>urn:sha1:ea5d49349894a7a74ce8dba242e3a487d24b6c0e</id>
<content type='text'>
Some of the firmware that is loaded by amdgpu is not actually required.
For example the ISP firmware on some SoCs is optional, and if it's not
present the ISP IP block just won't be initialized.

The firmware loader core however will show a warning when this happens
like this:
```
Direct firmware load for amdgpu/isp_4_1_0.bin failed with error -2
```

To avoid confusion for non-required firmware, adjust the amd-ucode helper
to take an extra argument indicating if the firmware is required or
optional.

On optional firmware use firmware_request_nowarn() instead of
request_firmware() to avoid the warnings.

Reviewed-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Link: https://lore.kernel.org/amd-gfx/df71d375-7abd-4b32-97ce-15e57846eed8@amd.com/T/#t
Signed-off-by: Mario Limonciello &lt;mario.limonciello@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: Add secure display v2 command</title>
<updated>2024-12-10T15:26:49Z</updated>
<author>
<name>Jinzhou Su</name>
</author>
<published>2024-11-28T02:58:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e1a34ed9176edddb3b472a977c8a02ee7d67fefb'/>
<id>urn:sha1:e1a34ed9176edddb3b472a977c8a02ee7d67fefb</id>
<content type='text'>
Add secure display v2 command to support multiple ROI instances per
display.

v2: fix typo and coding style issue

Signed-off-by: Wayne Lin &lt;Wayne.Lin@amd.com&gt;
Signed-off-by: Jinzhou Su &lt;jinzhou.su@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: pass ip_block in set_clockgating_state</title>
<updated>2024-12-10T15:26:47Z</updated>
<author>
<name>Boyuan Zhang</name>
</author>
<published>2024-10-07T23:43:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f2ba8c3d510695c68ede786b3a37a9aa170ddfae'/>
<id>urn:sha1:f2ba8c3d510695c68ede786b3a37a9aa170ddfae</id>
<content type='text'>
Pass ip_block instead of adev in set_clockgating_state() callback
functions. Modify set_clockgating_state()for all correspoding ip blocks.

v2: remove all changes for is_idle(), remove type casting

Signed-off-by: Boyuan Zhang &lt;boyuan.zhang@amd.com&gt;
Acked-by: Christian König &lt;christian.koenig@amd.com&gt;
Reviewed-by: Sunil Khatri &lt;sunil.khatri@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
</feed>
