<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c, branch v6.14</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v6.14</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v6.14'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2024-12-10T15:29:50Z</updated>
<entry>
<title>drm/amdgpu: Enable VCN_5_0_1 IP block</title>
<updated>2024-12-10T15:29:50Z</updated>
<author>
<name>Sonny Jiang</name>
<email>sonjiang@amd.com</email>
</author>
<published>2024-10-13T04:16:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=178ad3a9d1502439e750cca90dbbbf7478d29e63'/>
<id>urn:sha1:178ad3a9d1502439e750cca90dbbbf7478d29e63</id>
<content type='text'>
Add VCN_5_0_1 IP block to kernel boot

Signed-off-by: Sonny Jiang &lt;sonjiang@amd.com&gt;
Acked-by: Leo Liu &lt;leo.liu@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: enable JPEG5_0_1 ip block</title>
<updated>2024-12-10T15:29:42Z</updated>
<author>
<name>Sathishkumar S</name>
<email>sathishkumar.sundararaju@amd.com</email>
</author>
<published>2024-08-08T13:11:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c406fca4b5f86ffc5b5c06bc86b60ad6ae555d15'/>
<id>urn:sha1:c406fca4b5f86ffc5b5c06bc86b60ad6ae555d15</id>
<content type='text'>
enable JPEG5_0_1 ip block

Signed-off-by: Sathishkumar S &lt;sathishkumar.sundararaju@amd.com&gt;
Reviewed-by: Sonny Jiang &lt;sonny.jiang@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>
<email>le.ma@amd.com</email>
</author>
<published>2024-05-16T06:46:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/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/amdgpu: add initial support for sdma444</title>
<updated>2024-12-10T15:26:51Z</updated>
<author>
<name>Le Ma</name>
<email>le.ma@amd.com</email>
</author>
<published>2024-11-08T19:43:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=968e3811c3e87d49bd644bb05cdffac2dbd89394'/>
<id>urn:sha1:968e3811c3e87d49bd644bb05cdffac2dbd89394</id>
<content type='text'>
add sdma444 basic support

Signed-off-by: Le Ma &lt;le.ma@amd.com&gt;
Reviewed-by: Hawking Zhang &lt;Hawking.Zhang@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: add initial support for gfx950</title>
<updated>2024-12-10T15:26:50Z</updated>
<author>
<name>Le Ma</name>
<email>le.ma@amd.com</email>
</author>
<published>2024-11-08T19:40:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0b58a55af5d48ce1a4c045853e7d5cd49a4b4e6b'/>
<id>urn:sha1:0b58a55af5d48ce1a4c045853e7d5cd49a4b4e6b</id>
<content type='text'>
add gfx950 basic support

Signed-off-by: Le Ma &lt;le.ma@amd.com&gt;
Reviewed-by: Hawking Zhang &lt;Hawking.Zhang@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: move per inst variables to amdgpu_vcn_inst</title>
<updated>2024-12-10T15:26:47Z</updated>
<author>
<name>Boyuan Zhang</name>
<email>boyuan.zhang@amd.com</email>
</author>
<published>2024-10-07T17:35:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=cf1aa9ffd42f1c26706f6c705c9dde63a0f44da8'/>
<id>urn:sha1:cf1aa9ffd42f1c26706f6c705c9dde63a0f44da8</id>
<content type='text'>
Move all per instance variables from amdgpu_vcn to amdgpu_vcn_inst.

Move adev-&gt;vcn.fw[i] from amdgpu_vcn to amdgpu_vcn_inst.
Move adev-&gt;vcn.vcn_config[i] from amdgpu_vcn to amdgpu_vcn_inst.
Move adev-&gt;vcn.vcn_codec_disable_mask[i] from amdgpu_vcn to amdgpu_vcn_inst.

Signed-off-by: Boyuan Zhang &lt;boyuan.zhang@amd.com&gt;
Reviewed-by: Christian König &lt;christian.koenig@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: Fix the memory allocation issue in amdgpu_discovery_get_nps_info()</title>
<updated>2024-11-04T16:30:28Z</updated>
<author>
<name>Li Huafei</name>
<email>lihuafei1@huawei.com</email>
</author>
<published>2024-10-29T20:27:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a1144da794adedb9447437c57d69add56494309d'/>
<id>urn:sha1:a1144da794adedb9447437c57d69add56494309d</id>
<content type='text'>
Fix two issues with memory allocation in amdgpu_discovery_get_nps_info()
for mem_ranges:

 - Add a check for allocation failure to avoid dereferencing a null
   pointer.

 - As suggested by Christophe, use kvcalloc() for memory allocation,
   which checks for multiplication overflow.

Additionally, assign the output parameters nps_type and range_cnt after
the kvcalloc() call to prevent modifying the output parameters in case
of an error return.

Fixes: b194d21b9bcc ("drm/amdgpu: Use NPS ranges from discovery table")
Suggested-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Reviewed-by: Lijo Lazar &lt;lijo.lazar@amd.com&gt;
Signed-off-by: Li Huafei &lt;lihuafei1@huawei.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu/discovery: add ISP discovery entries for old APUs</title>
<updated>2024-10-22T21:49:30Z</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2024-09-25T03:09:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d2f57b6d8913df979a8cf719164c372b8e52c709'/>
<id>urn:sha1:d2f57b6d8913df979a8cf719164c372b8e52c709</id>
<content type='text'>
Raven1/2 and Picasso have ISP 2.0.0, however their ISP blocks
are not in the IP discovery table yet.

This commit fixes this issue by adding new ISP entries for
Raven and Picasso in the IP discovery table.

Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Zhu Lingshan &lt;lingshan.zhu@amd.com&gt;
Acked-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: Add option to refresh NPS data</title>
<updated>2024-10-01T21:40:07Z</updated>
<author>
<name>Lijo Lazar</name>
<email>lijo.lazar@amd.com</email>
</author>
<published>2024-09-18T10:27:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fcd91a95df7ff5965d8b0532b8799eaf3e58633d'/>
<id>urn:sha1:fcd91a95df7ff5965d8b0532b8799eaf3e58633d</id>
<content type='text'>
In certain use cases, NPS data needs to be refreshed again from
discovery table. Add API parameter to refresh NPS data from discovery
table.

Signed-off-by: Lijo Lazar &lt;lijo.lazar@amd.com&gt;
Reviewed-by: Rajneesh Bhardwaj &lt;rajneesh.bhardwaj@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: support for gc_info table v1.3</title>
<updated>2024-08-23T14:54:57Z</updated>
<author>
<name>Likun Gao</name>
<email>Likun.Gao@amd.com</email>
</author>
<published>2024-08-22T03:44:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=875ff9a7ee8824200885384effa7743892a34ed6'/>
<id>urn:sha1:875ff9a7ee8824200885384effa7743892a34ed6</id>
<content type='text'>
Add gc_info table v1.3 for IP discovery.

Signed-off-by: Likun Gao &lt;Likun.Gao@amd.com&gt;
Reviewed-by: Hawking Zhang &lt;Hawking.Zhang@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
</feed>
