<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-op-linux/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c, branch v4.17</title>
<subtitle>Talos™ II Linux sources for OpenPOWER</subtitle>
<id>https://git.raptorcs.com/git/talos-op-linux/atom?h=v4.17</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-op-linux/atom?h=v4.17'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/'/>
<updated>2018-03-21T20:04:42+00:00</updated>
<entry>
<title>drm/amdgpu: Fix NULL ptr on driver unload due to init failure.</title>
<updated>2018-03-21T20:04:42+00:00</updated>
<author>
<name>Andrey Grodzovsky</name>
<email>andrey.grodzovsky@amd.com</email>
</author>
<published>2018-03-21T18:17:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=b6356df3eb9ad9ae12efb4ec37d5615065e51d8b'/>
<id>urn:sha1:b6356df3eb9ad9ae12efb4ec37d5615065e51d8b</id>
<content type='text'>
Problem:
When unloading due to failure amdgpu_device_fini was called twice
which was leading to NULL ptr in amdgpu_irq_disable_all.

Fix:
Call amdgpu_device_fini only once from amdgpu_driver_unload_kms.

Reviewed-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Andrey Grodzovsky &lt;andrey.grodzovsky@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: add vega12 to dc support check</title>
<updated>2018-03-21T19:24:51+00:00</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2017-09-02T06:05:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=dca7b4015cb0d7a038e4bd9b903bad132b1badee'/>
<id>urn:sha1:dca7b4015cb0d7a038e4bd9b903bad132b1badee</id>
<content type='text'>
DC is used for modesetting on vega12.

Acked-by: Christian König &lt;christian.koenig@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Reviewed-by: Feifei Xu &lt;Feifei.Xu@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: set asic family and ip blocks for vega12</title>
<updated>2018-03-21T19:23:55+00:00</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2017-09-01T20:22:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=e48a3cd9cbb707e5f3531c1cd6e6fe6ee3a18212'/>
<id>urn:sha1:e48a3cd9cbb707e5f3531c1cd6e6fe6ee3a18212</id>
<content type='text'>
soc15 just like vega10 and raven.

Acked-by: Christian König &lt;christian.koenig@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Reviewed-by: Feifei Xu &lt;Feifei.Xu@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: add gpu_info firmware for vega12</title>
<updated>2018-03-21T19:23:49+00:00</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2017-09-01T20:20:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=3f76dcedb30383b63e60d720990e8de29b7e611a'/>
<id>urn:sha1:3f76dcedb30383b63e60d720990e8de29b7e611a</id>
<content type='text'>
Stores gpu configuration details.

Acked-by: Christian König &lt;christian.koenig@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Reviewed-by: Feifei Xu &lt;Feifei.Xu@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: add vega12 to asic_type enum</title>
<updated>2018-03-21T19:23:39+00:00</updated>
<author>
<name>Feifei Xu</name>
<email>Feifei.Xu@amd.com</email>
</author>
<published>2017-10-19T09:04:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=8fab806ad1f5a3a2d15712cc5a2dbb73daaa7261'/>
<id>urn:sha1:8fab806ad1f5a3a2d15712cc5a2dbb73daaa7261</id>
<content type='text'>
Add vega12 to amd_asic_type enum and amdgpu_asic_name[].

Acked-by: Christian König &lt;christian.koenig@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Hawking Zhang &lt;Hawking.Zhang@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: Fix kernel NULL pointer dereference when amdgpu fini</title>
<updated>2018-03-21T04:44:21+00:00</updated>
<author>
<name>Rex Zhu</name>
<email>Rex.Zhu@amd.com</email>
</author>
<published>2018-03-20T08:28:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=81ce8bea035befed2ae7670bf9f9404fa3f46f71'/>
<id>urn:sha1:81ce8bea035befed2ae7670bf9f9404fa3f46f71</id>
<content type='text'>
Reviewed-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Rex Zhu &lt;Rex.Zhu@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu - Disable all irqs before disabling all CRTCs</title>
<updated>2018-03-21T04:44:12+00:00</updated>
<author>
<name>Mikita Lipski</name>
<email>mikita.lipski@amd.com</email>
</author>
<published>2018-03-15T20:53:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=e5b03032e34da84ee765ffbe4e36d344fdd04108'/>
<id>urn:sha1:e5b03032e34da84ee765ffbe4e36d344fdd04108</id>
<content type='text'>
By moving amdgpu_irq_disable_all earlier in the sequence
fixes an issue with disabling pflip interrupts:

*ERROR* dal_irq_service_dummy_ack: called for non-implemented irq source

Earlier patch fixed a memory corruption and revealed irq
warnings.This way it seems to be there no obvious issues
with unloading the module.

Signed-off-by: Mikita Lipski &lt;mikita.lipski@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/amdgpu: Disable irq on device before destroying it</title>
<updated>2018-03-21T04:44:03+00:00</updated>
<author>
<name>Mikita Lipski</name>
<email>mikita.lipski@amd.com</email>
</author>
<published>2018-03-15T13:37:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=088e7c16170645f1e2298ec6e0029079ef603635'/>
<id>urn:sha1:088e7c16170645f1e2298ec6e0029079ef603635</id>
<content type='text'>
Disable irq on devices before destroying them. That prevents
use-after-free memory access when unloading the driver.

Signed-off-by: Mikita Lipski &lt;mikita.lipski@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/amdgpu: Use atomic function to disable crtcs with dc enabled</title>
<updated>2018-03-21T04:43:42+00:00</updated>
<author>
<name>Mikita Lipski</name>
<email>mikita.lipski@amd.com</email>
</author>
<published>2018-03-14T17:41:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=ff97cba8c1b24f6017e16ca6facca3c3f32d2c00'/>
<id>urn:sha1:ff97cba8c1b24f6017e16ca6facca3c3f32d2c00</id>
<content type='text'>
This change fixes the deadlock when unloading the driver with displays
connected.

Signed-off-by: Mikita Lipski &lt;mikita.lipski@amd.com&gt;
Reviewed-by: Andrey Grodzovsky &lt;andrey.grodzovsky@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: add documentation for amdgpu_device.c</title>
<updated>2018-03-21T04:43:05+00:00</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2018-03-15T22:39:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=e3ecdffac9ccdbb201a6daf158faae1060e1b565'/>
<id>urn:sha1:e3ecdffac9ccdbb201a6daf158faae1060e1b565</id>
<content type='text'>
Add kernel doc for the functions in amdgpu_device.c

Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
</feed>
