<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c, branch v4.6</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=v4.6</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.6'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2016-03-21T15:52:14Z</updated>
<entry>
<title>drm/amdgpu: add invalidate_page callback for userptrs</title>
<updated>2016-03-21T15:52:14Z</updated>
<author>
<name>Christian König</name>
<email>christian.koenig@amd.com</email>
</author>
<published>2016-03-18T18:29:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ae20f12d2de6629ee6f679ccf22f9b7b209c464d'/>
<id>urn:sha1:ae20f12d2de6629ee6f679ccf22f9b7b209c464d</id>
<content type='text'>
Otherwise we can run into problems with the writeback code.

Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: Revert "remove the userptr rmn-&gt;lock"</title>
<updated>2016-03-21T15:52:14Z</updated>
<author>
<name>Christian König</name>
<email>christian.koenig@amd.com</email>
</author>
<published>2016-03-18T18:29:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0d2b42b0bdba45c82d29d794ea30a4c90e3f4098'/>
<id>urn:sha1:0d2b42b0bdba45c82d29d794ea30a4c90e3f4098</id>
<content type='text'>
This reverts commit c02196834456f2d5fad334088b70e98ce4967c34.

In the meantime we moved get_user_pages() outside of the reservation lock,
so that shouldn't be an issue any more

Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: Don't call interval_tree_remove in amdgpu_mn_destroy</title>
<updated>2016-02-17T21:10:56Z</updated>
<author>
<name>Felix Kuehling</name>
<email>Felix.Kuehling@amd.com</email>
</author>
<published>2016-02-16T20:31:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=390be2824fa4211c2e973c69b72e04000559bba3'/>
<id>urn:sha1:390be2824fa4211c2e973c69b72e04000559bba3</id>
<content type='text'>
rbtree_postorder_for_each_entry_safe can skip over some entries if
the tree is rebalanced in interval_tree_remove. interval_tree_remove
is also redundant when the tree is just about to be freed.

Signed-off-by: Felix Kuehling &lt;Felix.Kuehling@amd.com&gt;
Reviewed-by: Christian König &lt;christian.koenig@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: Fix race condition in amdgpu_mn_unregister</title>
<updated>2016-02-17T21:10:42Z</updated>
<author>
<name>Felix Kuehling</name>
<email>Felix.Kuehling@amd.com</email>
</author>
<published>2016-02-16T20:29:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b8ea3783467586246d0b2b08f2e3f42853219d94'/>
<id>urn:sha1:b8ea3783467586246d0b2b08f2e3f42853219d94</id>
<content type='text'>
Exchange locking order of adev-&gt;mn_lock and mm_sem, so that
rmn-&gt;mm-&gt;mmap_sem can be taken safely, protected by adev-&gt;mn_lock,
when amdgpu_mn_destroy runs concurrently.

Signed-off-by: Felix Kuehling &lt;Felix.Kuehling@amd.com&gt;
Reviewed-by: Christian König &lt;christian.koenig@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: Fix race condition in MMU notifier release</title>
<updated>2016-02-16T22:17:14Z</updated>
<author>
<name>Felix Kuehling</name>
<email>Felix.Kuehling@amd.com</email>
</author>
<published>2016-01-14T05:35:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fa5b5000308136ad61a33126d8ad380cf1fef016'/>
<id>urn:sha1:fa5b5000308136ad61a33126d8ad380cf1fef016</id>
<content type='text'>
The release notifier can get called a second time from
mmu_notifier_unregister depending on a race between
__mmu_notifier_release and amdgpu_mn_destroy. Use
mmu_notifier_unregister_no_release to avoid this.

Signed-off-by: Felix Kuehling &lt;Felix.Kuehling@amd.com&gt;
Reviewed-by: Christian König &lt;christian.koenig@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: remove the userptr rmn-&gt;lock</title>
<updated>2016-02-12T20:32:07Z</updated>
<author>
<name>Christian König</name>
<email>christian.koenig@amd.com</email>
</author>
<published>2016-02-09T15:13:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c41d271d751ea023f67f1ea755e144b49079b6d5'/>
<id>urn:sha1:c41d271d751ea023f67f1ea755e144b49079b6d5</id>
<content type='text'>
Avoid a lock inversion problem by just using the mmap_sem to
protect the entries of the intervall tree.

Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
Reviewed-by: Felix Kuehling &lt;Felix.Kuehling@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: fix issue with overlapping userptrs</title>
<updated>2016-02-10T19:16:43Z</updated>
<author>
<name>Christian König</name>
<email>christian.koenig@amd.com</email>
</author>
<published>2016-02-08T09:57:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d7006964d46d76930a44e14f1aae401ccb1797da'/>
<id>urn:sha1:d7006964d46d76930a44e14f1aae401ccb1797da</id>
<content type='text'>
Otherwise we could try to evict overlapping userptr BOs in get_user_pages(),
leading to a possible circular locking dependency.

Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
Acked-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: fix userptr lockup</title>
<updated>2015-06-04T01:03:26Z</updated>
<author>
<name>Christian König</name>
<email>christian.koenig@amd.com</email>
</author>
<published>2015-05-04T11:20:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a961ea7349d08d5962b6a619f2c2cca670da41ed'/>
<id>urn:sha1:a961ea7349d08d5962b6a619f2c2cca670da41ed</id>
<content type='text'>
Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
Reviewed-by: Jammy Zhou &lt;Jammy.Zhou@amd.com&gt;
Reviewed-by: Monk Liu &lt;monk.liu@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: fix error check issue in amdgpu_mn_invalidate_range_start</title>
<updated>2015-06-04T01:03:20Z</updated>
<author>
<name>Jack Xiao</name>
<email>Jack.Xiao@amd.com</email>
</author>
<published>2015-04-27T05:45:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7ab7e8a4096d2af80613113ae4bea497b4f0baf5'/>
<id>urn:sha1:7ab7e8a4096d2af80613113ae4bea497b4f0baf5</id>
<content type='text'>
Signed-off-by: Jack Xiao &lt;Jack.Xiao@amd.com&gt;
Reviewed-by: Monk Liu &lt;monk.liu@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;
</content>
</entry>
<entry>
<title>drm/amdgpu: add core driver (v4)</title>
<updated>2015-06-04T01:03:15Z</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2015-04-20T20:55:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d38ceaf99ed015f2a0b9af3499791bd3a3daae21'/>
<id>urn:sha1:d38ceaf99ed015f2a0b9af3499791bd3a3daae21</id>
<content type='text'>
This adds the non-asic specific core driver code.

v2: remove extra kconfig option
v3: implement minor fixes from Fengguang Wu
v4: fix cast in amdgpu_ucode.c

Acked-by: Christian König &lt;christian.koenig@amd.com&gt;
Acked-by: Jammy Zhou &lt;Jammy.Zhou@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
</feed>
