<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/gpu/drm/amd/powerplay, branch linux-5.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.2.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.2.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-10-05T11:13:58Z</updated>
<entry>
<title>drm/amd/powerplay/smu7: enforce minimal VBITimeout (v2)</title>
<updated>2019-10-05T11:13:58Z</updated>
<author>
<name>Ahzo</name>
</author>
<published>2019-08-05T19:14:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=06752109ced1e7c719d7dce9f12c9e67a93b62c7'/>
<id>urn:sha1:06752109ced1e7c719d7dce9f12c9e67a93b62c7</id>
<content type='text'>
[ Upstream commit f659bb6dae58c113805f92822e4c16ddd3156b79 ]

This fixes screen corruption/flickering on 75 Hz displays.

v2: make print statement debug only (Alex)

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102646
Reviewed-by: Evan Quan &lt;evan.quan@amd.com&gt;
Signed-off-by: Ahzo &lt;Ahzo@tutanota.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/amd/powerplay: correct Vega20 dpm level related settings</title>
<updated>2019-09-21T05:18:38Z</updated>
<author>
<name>Evan Quan</name>
</author>
<published>2019-08-19T05:17:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a8bf51b5c6f5b6ae443a3f1384c50d5e8e72a461'/>
<id>urn:sha1:a8bf51b5c6f5b6ae443a3f1384c50d5e8e72a461</id>
<content type='text'>
[ Upstream commit 83e09d5bddbee749fc83063890244397896a1971 ]

Correct the settings for auto mode and skip the unnecessary
settings for dcefclk and fclk.

Signed-off-by: Evan Quan &lt;evan.quan@amd.com&gt;
Acked-by: Alex Deucher &lt;alexander.deucher@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/amd/powerplay: fix null pointer dereference around dpm state relates</title>
<updated>2019-08-25T14:10:30Z</updated>
<author>
<name>Evan Quan</name>
</author>
<published>2019-07-25T04:10:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=08283dd59130956ec8ffd92b88e08db6476c97f2'/>
<id>urn:sha1:08283dd59130956ec8ffd92b88e08db6476c97f2</id>
<content type='text'>
[ Upstream commit 479156f2e5540077377a823eaf5a4263bd329063 ]

DPM state relates are not supported on the new SW SMU ASICs. But still
it's not OK to trigger null pointer dereference on accessing them.

Signed-off-by: Evan Quan &lt;evan.quan@amd.com&gt;
Reviewed-by: Alex Deucher &lt;alexander.deucher@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: Don't skip display settings in hwmgr_resume()</title>
<updated>2019-07-01T14:15:00Z</updated>
<author>
<name>Lyude Paul</name>
</author>
<published>2019-06-20T23:21:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=688f3d1ebedffa310b6591bd1b63fa0770d945fe'/>
<id>urn:sha1:688f3d1ebedffa310b6591bd1b63fa0770d945fe</id>
<content type='text'>
I'm not entirely sure why this is, but for some reason:

921935dc6404 ("drm/amd/powerplay: enforce display related settings only on needed")

Breaks runtime PM resume on the Radeon PRO WX 3100 (Lexa) in one the
pre-production laptops I have. The issue manifests as the following
messages in dmesg:

[drm] UVD and UVD ENC initialized successfully.
amdgpu 0000:3b:00.0: [drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring vce1 test failed (-110)
[drm:amdgpu_device_ip_resume_phase2 [amdgpu]] *ERROR* resume of IP block &lt;vce_v3_0&gt; failed -110
[drm:amdgpu_device_resume [amdgpu]] *ERROR* amdgpu_device_ip_resume failed (-110).

And happens after about 6-10 runtime PM suspend/resume cycles (sometimes
sooner, if you're lucky!). Unfortunately I can't seem to pin down
precisely which part in psm_adjust_power_state_dynamic that is causing
the issue, but not skipping the display setting setup seems to fix it.
Hopefully if there is a better fix for this, this patch will spark
discussion around it.

Fixes: 921935dc6404 ("drm/amd/powerplay: enforce display related settings only on needed")
Cc: Evan Quan &lt;evan.quan@amd.com&gt;
Cc: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Cc: Huang Rui &lt;ray.huang@amd.com&gt;
Cc: Rex Zhu &lt;Rex.Zhu@amd.com&gt;
Cc: Likun Gao &lt;Likun.Gao@amd.com&gt;
Cc: &lt;stable@vger.kernel.org&gt; # v5.1+
Signed-off-by: Lyude Paul &lt;lyude@redhat.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amd/powerplay: use hardware fan control if no powerplay fan table</title>
<updated>2019-07-01T14:14:05Z</updated>
<author>
<name>Evan Quan</name>
</author>
<published>2019-06-27T03:01:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f78c581e22d4b33359ac3462e8d0504735df01f4'/>
<id>urn:sha1:f78c581e22d4b33359ac3462e8d0504735df01f4</id>
<content type='text'>
Otherwise, you may get divided-by-zero error or corrput the SMU fan
control feature.

Signed-off-by: Evan Quan &lt;evan.quan@amd.com&gt;
Reviewed-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Tested-by: Slava Abramov &lt;slava.abramov@amd.com&gt;
Acked-by: Slava Abramov &lt;slava.abramov@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Cc: stable@vger.kernel.org
</content>
</entry>
<entry>
<title>drm/amd/powerplay: add set_power_profile_mode for raven1_refresh</title>
<updated>2019-06-05T16:13:16Z</updated>
<author>
<name>Chengming Gui</name>
</author>
<published>2019-05-13T09:41:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1019fe047a483ecfdc82661802e56871f649c46e'/>
<id>urn:sha1:1019fe047a483ecfdc82661802e56871f649c46e</id>
<content type='text'>
add gfxoff_state_changed_by_workload to control gfxoff
when set power_profile_mode

Signed-off-by: Chengming Gui &lt;Jack.Gui@amd.com&gt;
Reviewed-by: Huang Rui &lt;ray.huang@amd.com&gt;
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/amd/powerplay: fix locking in smu_feature_set_supported()</title>
<updated>2019-05-20T17:56:05Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2019-05-15T09:51:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=029f41535ac5e07e1fa17ca963a9f9fd05fb665f'/>
<id>urn:sha1:029f41535ac5e07e1fa17ca963a9f9fd05fb665f</id>
<content type='text'>
There is a typo so the code unlocks twice instead of taking the lock and
then releasing it.

Fixes: f14a323db5b0 ("drm/amd/powerplay: implement update enabled feature state to smc for smu11")
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Reviewed-by: Huang Rui &lt;ray.huang@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'drm-next-5.2' of git://people.freedesktop.org/~agd5f/linux into drm-next</title>
<updated>2019-05-03T00:31:07Z</updated>
<author>
<name>Dave Airlie</name>
</author>
<published>2019-05-03T00:00:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=422449238e9853458283beffed77562d4b40a2fa'/>
<id>urn:sha1:422449238e9853458283beffed77562d4b40a2fa</id>
<content type='text'>
- SR-IOV fixes
- Raven flickering fix
- Misc spelling fixes
- Vega20 power fixes
- Freesync improvements
- DC fixes

Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
From: Alex Deucher &lt;alexdeucher@gmail.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20190502193020.3562-1-alexander.deucher@amd.com
</content>
</entry>
<entry>
<title>drm/amdgpu: power down the Vega20 VCE engine on request</title>
<updated>2019-04-29T19:59:58Z</updated>
<author>
<name>Evan Quan</name>
</author>
<published>2019-04-25T07:38:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b0fc850fd95f8ecceb601bbb40624da0a8c220a0'/>
<id>urn:sha1:b0fc850fd95f8ecceb601bbb40624da0a8c220a0</id>
<content type='text'>
Power down the engine also along with disabling its DPM
functionality.

Signed-off-by: Evan Quan &lt;evan.quan@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/powerplay: raven 4k@60hz dp monitor always flicking</title>
<updated>2019-04-29T19:56:57Z</updated>
<author>
<name>hersen wu</name>
</author>
<published>2019-04-03T20:14:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a66d186c888526ced3582e07ebc6e6fe818ea1f0'/>
<id>urn:sha1:a66d186c888526ced3582e07ebc6e6fe818ea1f0</id>
<content type='text'>
[WHY] clock unit mis-match between caller DC and SMU interface.
      dc pass lock in mhz. the same unit as smu. no covert is needed.

[HOW] remove covert_10k_to_mhz in smu interface
      this fixes corruption issue with 4k @60 display and stutter
      mode enable

Reviewed-by: Kenneth Feng &lt;kenneth.feng@amd.com&gt;
Signed-off-by: hersen wu &lt;hersenxs.wu@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
</feed>
