<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/gpu/drm/amd, branch v5.2</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.2</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v5.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2019-07-01T17:16:26Z</updated>
<entry>
<title>drm/amdgpu/gfx9: use reset default for PA_SC_FIFO_SIZE</title>
<updated>2019-07-01T17:16:26Z</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2019-07-01T13:38:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=25f09f858835b0e9a06213811031190a17d8ab78'/>
<id>urn:sha1:25f09f858835b0e9a06213811031190a17d8ab78</id>
<content type='text'>
Recommended by the hw team.

Reviewed-and-Tested-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>
<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>
<email>lyude@redhat.com</email>
</author>
<published>2019-06-20T23:21:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/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>
<email>evan.quan@amd.com</email>
</author>
<published>2019-06-27T03:01:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/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/amdgpu: return 0 by default in amdgpu_pm_load_smu_firmware</title>
<updated>2019-06-13T01:39:49Z</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2019-06-11T14:45:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f3a5231c8f14acd42845e9e60f506b4e948f0e68'/>
<id>urn:sha1:f3a5231c8f14acd42845e9e60f506b4e948f0e68</id>
<content type='text'>
Fixes SI cards running on amdgpu.

Fixes: 1929059893022 ("drm/amd/amdgpu: add RLC firmware to support raven1 refresh")
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=110883
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 bounds checking in amdgpu_ras_is_supported()</title>
<updated>2019-06-13T01:39:48Z</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2019-06-08T09:23:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=99f304beb82a86713dc4bc1fd65b8dfda25b1f5e'/>
<id>urn:sha1:99f304beb82a86713dc4bc1fd65b8dfda25b1f5e</id>
<content type='text'>
The "block" variable can be set by the user through debugfs, so it can
be quite large which leads to shift wrapping here.  This means we report
a "block" as supported when it's not, and that leads to array overflows
later on.

This bug is not really a security issue in real life, because debugfs is
generally root only.

Fixes: 36ea1bd2d084 ("drm/amdgpu: add debugfs ctrl node")
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu/{uvd,vcn}: fetch ring's read_ptr after alloc</title>
<updated>2019-06-11T18:33:08Z</updated>
<author>
<name>Shirish S</name>
<email>shirish.s@amd.com</email>
</author>
<published>2019-06-04T15:55:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=517b91f4cde3043d77b2178548473e8545ef07cb'/>
<id>urn:sha1:517b91f4cde3043d77b2178548473e8545ef07cb</id>
<content type='text'>
[What]
readptr read always returns zero, since most likely
these blocks are either power or clock gated.

[How]
fetch rptr after amdgpu_ring_alloc() which informs
the power management code that the block is about to be
used and hence the gating is turned off.

Signed-off-by: Louis Li &lt;Ching-shih.Li@amd.com&gt;
Signed-off-by: Shirish S &lt;shirish.s@amd.com&gt;
Reviewed-by: Christian König &lt;christian.koenig@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Cc: stable@vger.kernel.org
</content>
</entry>
<entry>
<title>Merge tag 'drm-misc-fixes-2019-06-05' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes</title>
<updated>2019-06-06T01:57:13Z</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@redhat.com</email>
</author>
<published>2019-06-06T01:56:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=dbd9f78ed23746e9708f773224eec2c8b33206e7'/>
<id>urn:sha1:dbd9f78ed23746e9708f773224eec2c8b33206e7</id>
<content type='text'>
- Allow fb changes in async commits (fixes igt failures) (Helen)
- Actually unmap the scatterlist when unmapping udmabuf (Lucas)

Cc: Lucas Stach &lt;l.stach@pengutronix.de&gt;
Cc: Helen Koike &lt;helen.koike@collabora.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;

From: Sean Paul &lt;sean@poorly.run&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20190605210335.GA35431@art_vandelay
</content>
</entry>
<entry>
<title>Merge branch 'drm-fixes-5.2' of git://people.freedesktop.org/~agd5f/linux into drm-fixes</title>
<updated>2019-06-06T01:53:36Z</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@redhat.com</email>
</author>
<published>2019-06-06T01:53:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=75cb3776fdffa94b424406aeb0efb76b122990f5'/>
<id>urn:sha1:75cb3776fdffa94b424406aeb0efb76b122990f5</id>
<content type='text'>
- A fix to make VCE resume more reliable
- Updates for new raven variants

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/20190605182332.4073-1-alexander.deucher@amd.com
</content>
</entry>
<entry>
<title>drm/amd/amdgpu: add RLC firmware to support raven1 refresh</title>
<updated>2019-06-05T16:14:15Z</updated>
<author>
<name>Prike Liang</name>
<email>Prike.Liang@amd.com</email>
</author>
<published>2019-05-27T08:05:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1929059893022a3bbed43934c7313e66aad7346b'/>
<id>urn:sha1:1929059893022a3bbed43934c7313e66aad7346b</id>
<content type='text'>
Use SMU firmware version to indentify the raven1 refresh device and
then load homologous RLC FW.

Signed-off-by: Prike Liang &lt;Prike.Liang@amd.com&gt;
Suggested-by: Huang Rui&lt;Ray.Huang@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: add set_power_profile_mode for raven1_refresh</title>
<updated>2019-06-05T16:13:16Z</updated>
<author>
<name>Chengming Gui</name>
<email>Jack.Gui@amd.com</email>
</author>
<published>2019-05-13T09:41:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/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>
</feed>
