<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/gpu/drm/amd/pm, branch master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/gpu/drm/amd/pm?h=master</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/gpu/drm/amd/pm?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2022-11-09T23:06:16Z</updated>
<entry>
<title>drm/amdgpu: disable BACO on special BEIGE_GOBY card</title>
<updated>2022-11-09T23:06:16Z</updated>
<author>
<name>Guchun Chen</name>
<email>guchun.chen@amd.com</email>
</author>
<published>2022-11-07T08:46:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=0c85c067c9d9d7a1b2cc2e01a236d5d0d4a872b5'/>
<id>urn:sha1:0c85c067c9d9d7a1b2cc2e01a236d5d0d4a872b5</id>
<content type='text'>
Still avoid intermittent failure.

Signed-off-by: Guchun Chen &lt;guchun.chen@amd.com&gt;
Reviewed-by: Lijo Lazar &lt;lijo.lazar@amd.com&gt;
Acked-by: Evan Quan &lt;evan.quan@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Cc: stable@vger.kernel.org
</content>
</entry>
<entry>
<title>Revert "drm/amdgpu: Revert "drm/amdgpu: getting fan speed pwm for vega10 properly""</title>
<updated>2022-11-09T23:04:52Z</updated>
<author>
<name>Asher Song</name>
<email>Asher.Song@amd.com</email>
</author>
<published>2022-11-03T10:28:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=30b8e7b8ee3be003e0df85c857c5cd0e0bd58b82'/>
<id>urn:sha1:30b8e7b8ee3be003e0df85c857c5cd0e0bd58b82</id>
<content type='text'>
This reverts commit 4545ae2ed3f2f7c3f615a53399c9c8460ee5bca7.

The origin patch "drm/amdgpu: getting fan speed pwm for vega10 properly" works fine.
Test failure is caused by test case self.

Signed-off-by: Asher Song &lt;Asher.Song@amd.com&gt;
Reviewed-by: Guchun Chen &lt;guchun.chen@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/pm: update SMU IP v13.0.4 msg interface header</title>
<updated>2022-11-09T22:56:27Z</updated>
<author>
<name>Tim Huang</name>
<email>tim.huang@amd.com</email>
</author>
<published>2022-11-03T03:05:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=bc66c9ab162d2a633ee3eb864d7bc2369e79c1e4'/>
<id>urn:sha1:bc66c9ab162d2a633ee3eb864d7bc2369e79c1e4</id>
<content type='text'>
Some of the unused messages that were used earlier in development have
been freed up as spare messages, no intended functional changes.

Signed-off-by: Mario Limonciello &lt;mario.limonciello@amd.com&gt;
Signed-off-by: Tim Huang &lt;tim.huang@amd.com&gt;
Acked-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Reviewed-by: Yifan Zhang &lt;yifan1.zhang@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Cc: stable@vger.kernel.org # 6.0.x
</content>
</entry>
<entry>
<title>drm/amd/pm: allow gfxoff on gc_11_0_3</title>
<updated>2022-10-24T18:44:03Z</updated>
<author>
<name>Kenneth Feng</name>
<email>kenneth.feng@amd.com</email>
</author>
<published>2022-10-20T07:25:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=08841950db932dc3ba8bbd4c0f1f7f27ccfbae42'/>
<id>urn:sha1:08841950db932dc3ba8bbd4c0f1f7f27ccfbae42</id>
<content type='text'>
allow gfxoff on gc_11_0_3

Signed-off-by: Kenneth Feng &lt;kenneth.feng@amd.com&gt;
Reviewed-by: Yang Wang &lt;kevinyang.wang@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/pm: update driver-if header for smu_v13_0_10</title>
<updated>2022-10-21T20:12:59Z</updated>
<author>
<name>Kenneth Feng</name>
<email>kenneth.feng@amd.com</email>
</author>
<published>2022-10-19T03:24:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=09aef0258a327409bb2279a5ba8f82ad2ca099ca'/>
<id>urn:sha1:09aef0258a327409bb2279a5ba8f82ad2ca099ca</id>
<content type='text'>
update driver-if header for smu_v13_0_10 and merge with smu_v13_0_0

Signed-off-by: Kenneth Feng &lt;kenneth.feng@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/amd/pm: enable thermal alert on smu_v13_0_10</title>
<updated>2022-10-19T02:13:34Z</updated>
<author>
<name>Kenneth Feng</name>
<email>kenneth.feng@amd.com</email>
</author>
<published>2022-10-14T07:19:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=5ce4726a1376bd0673d7b8edd243e76fbb4476d1'/>
<id>urn:sha1:5ce4726a1376bd0673d7b8edd243e76fbb4476d1</id>
<content type='text'>
enable thermal alert on smu_v13_0_10

Signed-off-by: Kenneth Feng &lt;kenneth.feng@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/amd/pm: add SMU IP v13.0.4 IF version define to V7</title>
<updated>2022-10-19T02:12:51Z</updated>
<author>
<name>Tim Huang</name>
<email>tim.huang@amd.com</email>
</author>
<published>2022-09-29T07:06:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=31c261a7ffb8d5bba8144e2d43db304f2bc7e81a'/>
<id>urn:sha1:31c261a7ffb8d5bba8144e2d43db304f2bc7e81a</id>
<content type='text'>
The pmfw has changed the driver interface version, so keep same with the
fw.

Signed-off-by: Tim Huang &lt;tim.huang@amd.com&gt;
Reviewed-by: Mario Limonciello &lt;mario.limonciello@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Cc: stable@vger.kernel.org # 6.0.x
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/pm: update SMU IP v13.0.4 driver interface version</title>
<updated>2022-10-19T02:12:44Z</updated>
<author>
<name>Tim Huang</name>
<email>tim.huang@amd.com</email>
</author>
<published>2022-09-29T06:39:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=853fdb49160e9c30674fd8e4a2eabc06bf70b13a'/>
<id>urn:sha1:853fdb49160e9c30674fd8e4a2eabc06bf70b13a</id>
<content type='text'>
Update the SMU driver interface version to V7.

Signed-off-by: Tim Huang &lt;tim.huang@amd.com&gt;
Reviewed-by: Mario Limonciello &lt;mario.limonciello@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Cc: stable@vger.kernel.org # 6.0.x
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/pm: Init pm_attr_list when dpm is disabled</title>
<updated>2022-10-19T02:12:36Z</updated>
<author>
<name>ZhenGuo Yin</name>
<email>zhenguo.yin@amd.com</email>
</author>
<published>2022-10-12T08:54:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=5fa993737b29bffe931cc5d0feb87ebc34cd5bb3'/>
<id>urn:sha1:5fa993737b29bffe931cc5d0feb87ebc34cd5bb3</id>
<content type='text'>
[Why]
In SRIOV multi-vf, dpm is always disabled, and pm_attr_list won't
be initialized. There will be a NULL pointer call trace after
removing the dpm check condition in amdgpu_pm_sysfs_fini.
BUG: kernel NULL pointer dereference, address: 0000000000000000
RIP: 0010:amdgpu_device_attr_remove_groups+0x20/0x90 [amdgpu]
Call Trace:
  &lt;TASK&gt;
  amdgpu_pm_sysfs_fini+0x2f/0x40 [amdgpu]
  amdgpu_device_fini_hw+0xdf/0x290 [amdgpu]

[How]
List pm_attr_list should be initialized when dpm is disabled.

Fixes: a6ad27cec585fe ("drm/amd/pm: Remove redundant check condition")
Signed-off-by: ZhenGuo Yin &lt;zhenguo.yin@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/amd/pm: disable cstate feature for gpu reset scenario</title>
<updated>2022-10-19T02:12:20Z</updated>
<author>
<name>Evan Quan</name>
<email>evan.quan@amd.com</email>
</author>
<published>2022-09-29T02:50:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=3059cd8c5f797ad83d2b194ae66339f5c007ca43'/>
<id>urn:sha1:3059cd8c5f797ad83d2b194ae66339f5c007ca43</id>
<content type='text'>
Suggested by PMFW team and same as what did for gfxoff feature.
This can address some Mode1Reset failures observed on SMU13.0.0.

Signed-off-by: Evan Quan &lt;evan.quan@amd.com&gt;
Reviewed-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;
Cc: stable@vger.kernel.org # 6.0.x
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
</feed>
