<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c, branch v6.17</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.17</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v6.17'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2025-08-06T20:54:04Z</updated>
<entry>
<title>drm/amdgpu/discovery: fix fw based ip discovery</title>
<updated>2025-08-06T20:54:04Z</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2025-07-30T15:16:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=514678da56da089b756b4d433efd964fa22b2079'/>
<id>urn:sha1:514678da56da089b756b4d433efd964fa22b2079</id>
<content type='text'>
We only need the fw based discovery table for sysfs.  No
need to parse it.  Additionally parsing some of the board
specific tables may result in incorrect data on some boards.
just load the binary and don't parse it on those boards.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4441
Fixes: 80a0e8282933 ("drm/amdgpu/discovery: optionally use fw based ip discovery")
Reviewed-by: Mario Limonciello (AMD) &lt;superm1@kernel.org&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
(cherry picked from commit 62eedd150fa11aefc2d377fc746633fdb1baeb55)
Cc: stable@vger.kernel.org
</content>
</entry>
<entry>
<title>amdgpu/amdgpu_discovery: increase timeout limit for IFWI init</title>
<updated>2025-08-06T20:51:26Z</updated>
<author>
<name>Xaver Hugl</name>
<email>xaver.hugl@kde.org</email>
</author>
<published>2025-07-31T22:49:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=928587381b54b1b6c62736486b1dc6cb16c568c2'/>
<id>urn:sha1:928587381b54b1b6c62736486b1dc6cb16c568c2</id>
<content type='text'>
With a timeout of only 1 second, my rx 5700XT fails to initialize,
so this increases the timeout to 2s.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3697
Signed-off-by: Xaver Hugl &lt;xaver.hugl@kde.org&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
(cherry picked from commit 9ed3d7bdf2dcdf1a1196630fab89a124526e9cc2)
Cc: stable@vger.kernel.org
</content>
</entry>
<entry>
<title>drm/amd: Adjust output for discovery error handling</title>
<updated>2025-06-24T13:58:35Z</updated>
<author>
<name>Mario Limonciello</name>
<email>mario.limonciello@amd.com</email>
</author>
<published>2025-06-17T18:30:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=49f1f9f6c3c9febf8ba93f94a8d9c8d03e1ea0a1'/>
<id>urn:sha1:49f1f9f6c3c9febf8ba93f94a8d9c8d03e1ea0a1</id>
<content type='text'>
commit 017fbb6690c2 ("drm/amdgpu/discovery: check ip_discovery fw file
available") added support for reading an amdgpu IP discovery bin file
for some specific products. If it's not found then it will fallback to
hardcoded values. However if it's not found there is also a lot of noise
about missing files and errors.

Adjust the error handling to decrease most messages to DEBUG and to show
users less about missing files.

Reviewed-by: Lijo Lazar &lt;lijo.lazar@amd.com&gt;
Reported-by: Marcus Seyfarth &lt;m.seyfarth@gmail.com&gt;
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4312
Tested-by: Marcus Seyfarth &lt;m.seyfarth@gmail.com&gt;
Fixes: 017fbb6690c2 ("drm/amdgpu/discovery: check ip_discovery fw file available")
Acked-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Link: https://lore.kernel.org/r/20250617183052.1692059-1-superm1@kernel.org
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 more checks to discovery fetch</title>
<updated>2025-06-03T19:02:58Z</updated>
<author>
<name>Lijo Lazar</name>
<email>lijo.lazar@amd.com</email>
</author>
<published>2025-05-29T10:27:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=719d84f8a812608fc0f7be18a96d7dee96eaf3ba'/>
<id>urn:sha1:719d84f8a812608fc0f7be18a96d7dee96eaf3ba</id>
<content type='text'>
Add more checks for valid vram size and log error, if any.

Signed-off-by: Lijo Lazar &lt;lijo.lazar@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/ip_discovery: add missing ip_discovery fw</title>
<updated>2025-04-07T18:32:20Z</updated>
<author>
<name>Flora Cui</name>
<email>flora.cui@amd.com</email>
</author>
<published>2025-03-26T12:06:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2f6dd741cdcdadb9e125cc66d4fcfbe5ab92d36a'/>
<id>urn:sha1:2f6dd741cdcdadb9e125cc66d4fcfbe5ab92d36a</id>
<content type='text'>
Signed-off-by: Flora Cui &lt;flora.cui@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/discovery: optionally use fw based ip discovery</title>
<updated>2025-03-21T16:16:36Z</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2025-03-11T22:00:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=80a0e828293389358f7db56adcdcb22b28df5e11'/>
<id>urn:sha1:80a0e828293389358f7db56adcdcb22b28df5e11</id>
<content type='text'>
On chips without native IP discovery support, use the fw binary
if available, otherwise we can continue without it.

Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Reviewed-by: Flora Cui &lt;flora.cui@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu/discovery: use specific ip_discovery.bin for legacy asics</title>
<updated>2025-03-21T16:16:35Z</updated>
<author>
<name>Flora Cui</name>
<email>flora.cui@amd.com</email>
</author>
<published>2025-03-11T05:44:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=25f602fbbcc8271f6e72211b54808ba21e677762'/>
<id>urn:sha1:25f602fbbcc8271f6e72211b54808ba21e677762</id>
<content type='text'>
vega10/vega12/vega20/raven/raven2/picasso/arcturus/aldebaran

Signed-off-by: Flora Cui &lt;flora.cui@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/discovery: check ip_discovery fw file available</title>
<updated>2025-03-21T16:16:35Z</updated>
<author>
<name>Flora Cui</name>
<email>flora.cui@amd.com</email>
</author>
<published>2025-02-27T02:39:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=017fbb6690c2245b1b4ef39b66c79d2990fe63dd'/>
<id>urn:sha1:017fbb6690c2245b1b4ef39b66c79d2990fe63dd</id>
<content type='text'>
Signed-off-by: Flora Cui &lt;flora.cui@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: Use wafl version for xgmi</title>
<updated>2025-03-18T18:03:47Z</updated>
<author>
<name>Lijo Lazar</name>
<email>lijo.lazar@amd.com</email>
</author>
<published>2025-02-25T05:59:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6c11d4a87d5258f784699274b732bb5fe288475a'/>
<id>urn:sha1:6c11d4a87d5258f784699274b732bb5fe288475a</id>
<content type='text'>
XGMI and WAFL share the same versions. Use WAFL version if XGMI version
is not present in discovery.

Signed-off-by: Lijo Lazar &lt;lijo.lazar@amd.com&gt;
Reviewed-by: Asad Kamal &lt;asad.kamal@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: Remove unsupported xgmi versions</title>
<updated>2025-03-14T03:10:08Z</updated>
<author>
<name>Lijo Lazar</name>
<email>lijo.lazar@amd.com</email>
</author>
<published>2025-02-06T12:03:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b9e75bcb2b39e1202364d958ee4f27fd8a6f1313'/>
<id>urn:sha1:b9e75bcb2b39e1202364d958ee4f27fd8a6f1313</id>
<content type='text'>
XGMI v4.8.0 is not used in any SOCs. Remove the associated functions.
Also, ensure get_xgmi_info callback pointer is not NULL before calling
the function.

Signed-off-by: Lijo Lazar &lt;lijo.lazar@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>
