<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c, branch linux-6.15.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.15.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.15.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-07-06T09:04:22Z</updated>
<entry>
<title>drm/amdgpu: disable workload profile switching when OD is enabled</title>
<updated>2025-07-06T09:04:22Z</updated>
<author>
<name>Alex Deucher</name>
</author>
<published>2025-05-27T14:13:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1928feb197f2d7c4a45c16d58dff0d40673f66e7'/>
<id>urn:sha1:1928feb197f2d7c4a45c16d58dff0d40673f66e7</id>
<content type='text'>
commit 5cccf10f652122a17b40df9d672ccf2ed69cd82f upstream.

Users have reported that they have to reduce the level of undervolting
to acheive stability when dynamic workload profiles are enabled on
GC 10.3.x. Disable dynamic workload profiles if the user has enabled
OD.

Fixes: b9467983b774 ("drm/amdgpu: add dynamic workload profile switching for gfx10")
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4262
Reviewed-by: Kenneth Feng &lt;kenneth.feng@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Cc: stable@vger.kernel.org # 6.15.x
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: Disallow partition query during reset</title>
<updated>2025-06-27T10:13:18Z</updated>
<author>
<name>Lijo Lazar</name>
</author>
<published>2025-04-16T06:53:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1c16a901a43a7fdddedcb3907e5d27fe95eee991'/>
<id>urn:sha1:1c16a901a43a7fdddedcb3907e5d27fe95eee991</id>
<content type='text'>
[ Upstream commit 75f138db48c5c493f0ac198c2579d52fc6a4c4a0 ]

Reject queries to get current partition modes during reset. Also, don't
accept sysfs interface requests to switch compute partition mode while
in reset.

Signed-off-by: Lijo Lazar &lt;lijo.lazar@amd.com&gt;
Reviewed-by: Hawking Zhang &lt;Hawking.Zhang@amd.com&gt;
Reviewed-by: Asad Kamal &lt;asad.kamal@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: use a dummy owner for sysfs triggered cleaner shaders v4</title>
<updated>2025-04-16T19:51:47Z</updated>
<author>
<name>Christian König</name>
</author>
<published>2025-03-28T17:58:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=447fab30955cf7dba7dd563f42b67c02284860c8'/>
<id>urn:sha1:447fab30955cf7dba7dd563f42b67c02284860c8</id>
<content type='text'>
Otherwise triggering sysfs multiple times without other submissions in
between only runs the shader once.

v2: add some comment
v3: re-add missing cast
v4: squash in semicolon fix

Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
Reviewed-by: Srinivasan Shanmugam &lt;srinivasan.shanmugam@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
(cherry picked from commit 8b2ae7d492675e8af8902f103364bef59382b935)
</content>
</entry>
<entry>
<title>drm/amdgpu: stop reserving VMIDs to enforce isolation</title>
<updated>2025-03-21T16:16:34Z</updated>
<author>
<name>Christian König</name>
</author>
<published>2025-01-27T15:27:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=db1e58ec86c6e533f983abdbd43145f2ec16bbb8'/>
<id>urn:sha1:db1e58ec86c6e533f983abdbd43145f2ec16bbb8</id>
<content type='text'>
That was quite troublesome for gang submit. Completely drop this
approach and enforce the isolation separately.

Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
Acked-by: Srinivasan Shanmugam &lt;srinivasan.shanmugam@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu/gfx: adjust workload profile handling</title>
<updated>2025-03-19T19:56:04Z</updated>
<author>
<name>Alex Deucher</name>
</author>
<published>2025-03-14T13:29:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9e34d8d1a1abe693a77f8a1083e4ab97ca0362a0'/>
<id>urn:sha1:9e34d8d1a1abe693a77f8a1083e4ab97ca0362a0</id>
<content type='text'>
No need to make the workload profile setup dependent
on the results of cancelling the delayed work thread.
We have all of the necessary checking in place for the
workload profile reference counting, so separate the
two.  As it is now, we can theoretically end up with
the call from begin_use happening while the worker
thread is executing which would result in the profile
not getting set for that submission.  It should not
affect the reference counting.

v2: bail early if the the profile is already active (Lijo)

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/gfx: fix ref counting for ring based profile handling</title>
<updated>2025-03-19T19:52:56Z</updated>
<author>
<name>Alex Deucher</name>
</author>
<published>2025-03-12T13:44:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=553673a3e1bc0abbb994d9884f772189c739e3a0'/>
<id>urn:sha1:553673a3e1bc0abbb994d9884f772189c739e3a0</id>
<content type='text'>
We need to make sure the workload profile ref counts are
balanced.  This isn't currently the case because we can
increment the count on submissions, but the decrement may
be delayed as work comes in.  Track when we enable the
workload profile so the references are balanced.

v2: switch to a mutex and active flag
v3: fix mutex init

Fixes: 8fdb3958e396 ("drm/amdgpu/gfx: add ring helpers for setting workload profile")
Cc: Yang Wang &lt;kevinyang.wang@amd.com&gt;
Cc: Kenneth Feng &lt;kenneth.feng@amd.com&gt;
Tested-by: Kenneth Feng &lt;kenneth.feng@amd.com&gt;
Reviewed-by: Kenneth Feng &lt;kenneth.feng@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu/gfx: delete stray tabs</title>
<updated>2025-03-11T16:36:29Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2025-03-10T10:47:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0ee560d71f9ab3af61ffc07eadc55c5a36f09843'/>
<id>urn:sha1:0ee560d71f9ab3af61ffc07eadc55c5a36f09843</id>
<content type='text'>
These lines are indented one tab too far.  Delete the extra tabs.

Reviewed-by: Srinivasan Shanmugam &lt;srinivasan.shanmugam@amd.com&gt;
Signed-off-by: Dan Carpenter &lt;dan.carpenter@linaro.org&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu/mes: keep enforce isolation up to date</title>
<updated>2025-02-25T16:44:00Z</updated>
<author>
<name>Alex Deucher</name>
</author>
<published>2025-02-14T17:32:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=27b791514789844e80da990c456c2465325e0851'/>
<id>urn:sha1:27b791514789844e80da990c456c2465325e0851</id>
<content type='text'>
Re-send the mes message on resume to make sure the
mes state is up to date.

Fixes: 8521e3c5f058 ("drm/amd/amdgpu: limit single process inside MES")
Acked-by: Srinivasan Shanmugam &lt;srinivasan.shanmugam@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Cc: Shaoyun Liu &lt;shaoyun.liu@amd.com&gt;
Cc: Srinivasan Shanmugam &lt;srinivasan.shanmugam@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu/gfx: only call mes for enforce isolation if supported</title>
<updated>2025-02-17T19:08:28Z</updated>
<author>
<name>Alex Deucher</name>
</author>
<published>2025-02-13T18:37:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=80513e389765c8f9543b26d8fa4bbdf0e59ff8bc'/>
<id>urn:sha1:80513e389765c8f9543b26d8fa4bbdf0e59ff8bc</id>
<content type='text'>
This should not be called on chips without MES so check if
MES is enabled and if the cleaner shader is supported.

Fixes: 8521e3c5f058 ("drm/amd/amdgpu: limit single process inside MES")
Reviewed-by: Srinivasan Shanmugam &lt;srinivasan.shanmugam@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Cc: Shaoyun Liu &lt;shaoyun.liu@amd.com&gt;
Cc: Srinivasan Shanmugam &lt;srinivasan.shanmugam@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu/gfx: add amdgpu_gfx_off_ctrl_immediate()</title>
<updated>2025-02-13T02:04:07Z</updated>
<author>
<name>Alex Deucher</name>
</author>
<published>2025-01-31T02:20:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=250d9769eeee6cfebbafaca3e4f34a907b5b166f'/>
<id>urn:sha1:250d9769eeee6cfebbafaca3e4f34a907b5b166f</id>
<content type='text'>
Same as amdgpu_gfx_off_ctrl(), but without the delay
for gfxoff disallow.

Reviewed-by: Lijo Lazar &lt;lijo.lazar@amd.com&gt;
Suggested-by: Błażej Szczygieł &lt;mumei6102@gmail.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
</feed>
