<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c, branch v5.12</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=v5.12</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v5.12'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2021-03-22T19:28:20Z</updated>
<entry>
<title>drm/amdgpu: skip kfd suspend/resume for S0ix</title>
<updated>2021-03-22T19:28:20Z</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2021-03-17T02:02:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ac5789ef927006a8449ea235a866922b2d8f8290'/>
<id>urn:sha1:ac5789ef927006a8449ea235a866922b2d8f8290</id>
<content type='text'>
GFX is in gfxoff mode during s0ix so we shouldn't need to
actually tear anything down and restore it.

Acked-by: Evan Quan &lt;evan.quan@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: drop S0ix checks around CG/PG in suspend</title>
<updated>2021-03-22T19:28:10Z</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2021-03-16T18:18:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=264705005e6bc7f484652c1d7aee798034c82e12'/>
<id>urn:sha1:264705005e6bc7f484652c1d7aee798034c82e12</id>
<content type='text'>
We handle it properly within the CG/PG functions directly
now.

Acked-by: Evan Quan &lt;evan.quan@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: skip CG/PG for gfx during S0ix</title>
<updated>2021-03-22T19:27:59Z</updated>
<author>
<name>Pratik Vishwakarma</name>
<email>Pratik.Vishwakarma@amd.com</email>
</author>
<published>2021-03-16T18:15:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=10cb67eb8a1b21419a7cd8e12f002a36bfef12fd'/>
<id>urn:sha1:10cb67eb8a1b21419a7cd8e12f002a36bfef12fd</id>
<content type='text'>
Not needed as the device is in gfxoff state so the CG/PG state
is handled just like it would be for gfxoff during runtime gfxoff.

This should also prevent delays on resume.

Reworked from Pratik's original patch (Alex)

Acked-by: Evan Quan &lt;evan.quan@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Pratik Vishwakarma &lt;Pratik.Vishwakarma@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: update comments about s0ix suspend/resume</title>
<updated>2021-03-22T19:27:42Z</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2021-03-16T18:00:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9bb735abcbd83ec0b75cb2edf8885cff841fc096'/>
<id>urn:sha1:9bb735abcbd83ec0b75cb2edf8885cff841fc096</id>
<content type='text'>
Provide and explanation as to why we skip GFX and PSP for
S0ix.  GFX goes into gfxoff, same as runtime, so no need
to tear down and re-init.  PSP is part of the always on
state, so no need to touch it.

Acked-by: Evan Quan &lt;evan.quan@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu/swsmu: skip gfx cgpg on s0ix suspend</title>
<updated>2021-03-22T19:26:42Z</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2021-03-12T21:00:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4021229e32bd9e35f2813715e056f59bb3739e7d'/>
<id>urn:sha1:4021229e32bd9e35f2813715e056f59bb3739e7d</id>
<content type='text'>
The SMU expects CGPG to be enabled when entering S0ix.
with this we can re-enable SMU suspend.

Acked-by: Evan Quan &lt;evan.quan@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: re-enable suspend phase 2 for S0ix</title>
<updated>2021-03-22T19:26:11Z</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2021-03-12T20:36:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9adb125dde699ffcf5d3e64d2c1476efce00a6f3'/>
<id>urn:sha1:9adb125dde699ffcf5d3e64d2c1476efce00a6f3</id>
<content type='text'>
This really needs to be done to properly tear down
the device.  SMC, PSP, and GFX are still problematic,
need to dig deeper into what aspect of them that is
problematic.

Acked-by: Evan Quan &lt;evan.quan@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: move s0ix check into amdgpu_device_ip_suspend_phase2 (v3)</title>
<updated>2021-03-22T19:24:45Z</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2021-03-12T20:33:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3aa2cacf79b37f703d6b8f7bd0252c8fe8c3f420'/>
<id>urn:sha1:3aa2cacf79b37f703d6b8f7bd0252c8fe8c3f420</id>
<content type='text'>
No functional change.

v2: use correct dev
v3: rework

Reviewed-by: Evan Quan &lt;evan.quan@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: clean up non-DC suspend/resume handling</title>
<updated>2021-03-22T19:24:23Z</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2021-03-19T20:34:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ca8ee26d616b5e1818a0c69285d8f01feec35af9'/>
<id>urn:sha1:ca8ee26d616b5e1818a0c69285d8f01feec35af9</id>
<content type='text'>
Move the non-DC specific code into the DCE IP blocks similar
to how we handle DC.  This cleans up the common suspend
and resume pathes.

Reviewed-by: Evan Quan &lt;evan.quan@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: rework S3/S4/S0ix state handling</title>
<updated>2021-03-22T19:24:02Z</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2021-03-12T20:22:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8914089a205be1042f99d49d2087663efc6fafa3'/>
<id>urn:sha1:8914089a205be1042f99d49d2087663efc6fafa3</id>
<content type='text'>
Set flags at the top level pmops callbacks to track
state.  This cleans up the current set of flags and
properly handles S4 on S0ix capable systems.

Reviewed-by: Evan Quan &lt;evan.quan@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: fix the hibernation suspend with s0ix</title>
<updated>2021-03-22T19:18:58Z</updated>
<author>
<name>Prike Liang</name>
<email>Prike.Liang@amd.com</email>
</author>
<published>2021-03-09T01:34:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9aa26019c1a60013ea866d460de6392acb1712ee'/>
<id>urn:sha1:9aa26019c1a60013ea866d460de6392acb1712ee</id>
<content type='text'>
During system hibernation suspend still need un-gate gfx CG/PG firstly to handle HW
status check before HW resource destory.

Signed-off-by: Prike Liang &lt;Prike.Liang@amd.com&gt;
Acked-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Acked-by: Huang Rui &lt;ray.huang@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Cc: stable@vger.kernel.org
</content>
</entry>
</feed>
