<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c, branch v4.12.9</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v4.12.9</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v4.12.9'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2017-05-24T20:49:09+00:00</updated>
<entry>
<title>drm/amdgpu: fix NULL pointer panic of emit_gds_switch</title>
<updated>2017-05-24T20:49:09+00:00</updated>
<author>
<name>Chunming Zhou</name>
<email>David1.Zhou@amd.com</email>
</author>
<published>2017-05-11T10:22:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=7c4378f4523d4af05b5941ea906e7032631eb753'/>
<id>urn:sha1:7c4378f4523d4af05b5941ea906e7032631eb753</id>
<content type='text'>
[  338.384770] BUG: unable to handle kernel NULL pointer dereference at           (null)
[  338.384817] IP: [&lt;          (null)&gt;]           (null)
[  338.385505] RIP: 0010:[&lt;0000000000000000&gt;]  [&lt;          (null)&gt;]           (null)
[  338.385950] Call Trace:
[  338.385993]  [&lt;ffffffffa05d2313&gt;] ? amdgpu_vm_flush+0x283/0x400 [amdgpu]
[  338.386025]  [&lt;ffffffff811818d3&gt;] ? printk+0x4d/0x4f
[  338.386074]  [&lt;ffffffffa05d4906&gt;] amdgpu_ib_schedule+0x4a6/0x4d0 [amdgpu]
[  338.386140]  [&lt;ffffffffa0673e54&gt;] amdgpu_job_run+0x64/0x180 [amdgpu]
[  338.386203]  [&lt;ffffffffa0672e09&gt;] amd_sched_main+0x2e9/0x4a0 [amdgpu]
[  338.386232]  [&lt;ffffffff810bfce0&gt;] ? prepare_to_wait_event+0x110/0x110
[  338.386295]  [&lt;ffffffffa0672b20&gt;] ? amd_sched_select_entity+0xe0/0xe0 [amdgpu]
[  338.386327]  [&lt;ffffffff8109b423&gt;] kthread+0xd3/0xf0
[  338.386349]  [&lt;ffffffff8109b350&gt;] ? kthread_park+0x60/0x60
[  338.386376]  [&lt;ffffffff817e1ee5&gt;] ret_from_fork+0x25/0x30
[  338.386401] Code:  Bad RIP value.
[  338.386420] RIP  [&lt;          (null)&gt;]           (null)
[  338.386443]  RSP &lt;ffffc90001bd7d40&gt;
[  338.386458] CR2: 0000000000000000
[  338.398508] ---[ end trace 4c66fcdc74b9a0a2 ]---

Signed-off-by: Chunming Zhou &lt;David1.Zhou@amd.com&gt;
Reviewed-by: Christian König &lt;christian.koenig@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: fix fundamental suspend/resume issue</title>
<updated>2017-05-24T19:49:24+00:00</updated>
<author>
<name>Christian König</name>
<email>christian.koenig@amd.com</email>
</author>
<published>2017-05-10T18:06:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=b3c85a0fb2c79f2c945fa1305b39974d0acf3105'/>
<id>urn:sha1:b3c85a0fb2c79f2c945fa1305b39974d0acf3105</id>
<content type='text'>
Reinitializing the VM manager during suspend/resume is a very very bad
idea since all the VMs are still active and kicking.

This can lead to random VM faults after resume when new processes
become the same client ID assigned.

Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
Reviewed-by: Alex Deucher &lt;alexander.deucher@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: fix dependency issue</title>
<updated>2017-05-10T17:23:53+00:00</updated>
<author>
<name>Chunming Zhou</name>
<email>David1.Zhou@amd.com</email>
</author>
<published>2017-05-09T05:39:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=30514decb27d45b98599612cb5d3e6a20ba733a5'/>
<id>urn:sha1:30514decb27d45b98599612cb5d3e6a20ba733a5</id>
<content type='text'>
The problem is that executing the jobs in the right order doesn't give you the right result
because consecutive jobs executed on the same engine are pipelined.
In other words job B does it buffer read before job A has written it's result.

Signed-off-by: Chunming Zhou &lt;David1.Zhou@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: PRT support for gfx9 (v3)</title>
<updated>2017-04-28T21:32:47+00:00</updated>
<author>
<name>Zhang, Jerry</name>
<email>Jerry.Zhang@amd.com</email>
</author>
<published>2017-04-19T01:53:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d0766e981b36608f9fe9b29985d4cd696099c3f8'/>
<id>urn:sha1:d0766e981b36608f9fe9b29985d4cd696099c3f8</id>
<content type='text'>
Fix PRT handling on gfx9

v2: unify PRT bit for all ASICs
v3: move PRT flag checking in amdgpu_vm_bo_split_mapping()

Signed-off-by: Junwei Zhang &lt;Jerry.Zhang@amd.com&gt;
Acked-by: David Zhou &lt;david1.zhou@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: fix amdgpu_vm_clear_freed v2</title>
<updated>2017-04-28T21:32:47+00:00</updated>
<author>
<name>Christian König</name>
<email>christian.koenig@amd.com</email>
</author>
<published>2017-04-19T12:41:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=fc6aa33da4b1043ad1b337d051770993418256d2'/>
<id>urn:sha1:fc6aa33da4b1043ad1b337d051770993418256d2</id>
<content type='text'>
Use amdgpu_vm_bo_update_mapping() instead of amdgpu_vm_bo_split_mapping() here.

We don't want any flags set in the cleared areas and splitting
shouldn't be necessary.

v2: fix typo in commit message

Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
Reviewed-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Reviewed-by: Junwei Zhang &lt;Jerry.Zhang@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: trace vm hub during flush as well v2</title>
<updated>2017-04-28T21:32:21+00:00</updated>
<author>
<name>Christian König</name>
<email>christian.koenig@amd.com</email>
</author>
<published>2017-04-07T15:43:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=5f1bcf511f6e5f54fffa6365286af1e88b18f54c'/>
<id>urn:sha1:5f1bcf511f6e5f54fffa6365286af1e88b18f54c</id>
<content type='text'>
Trace on which hub we are doing the flush.

v2: fix typo in commit message

Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
Reviewed-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Reviewed-by: Andres Rodriguez &lt;andresx7@gmail.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: trace the vmhub in grab_id as well</title>
<updated>2017-04-28T21:32:20+00:00</updated>
<author>
<name>Christian König</name>
<email>christian.koenig@amd.com</email>
</author>
<published>2017-04-07T13:31:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=c5296d1401fb01ceb3a3cf781cc572b1847953c6'/>
<id>urn:sha1:c5296d1401fb01ceb3a3cf781cc572b1847953c6</id>
<content type='text'>
Trace on which VMHUB we assigned an VMID.

Signed-off-by: Christian König &lt;christian.koenig@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: allow concurrent VM flushes</title>
<updated>2017-04-28T21:32:19+00:00</updated>
<author>
<name>Christian König</name>
<email>christian.koenig@amd.com</email>
</author>
<published>2017-03-30T14:56:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=87c910d806295df26069d0325f517ed72ce29d32'/>
<id>urn:sha1:87c910d806295df26069d0325f517ed72ce29d32</id>
<content type='text'>
Enable concurrent VM flushes for Vega10.

Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
Acked-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Reviewed-by: Andres Rodriguez &lt;andresx7@gmail.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: invalidate only the currently needed VMHUB v2</title>
<updated>2017-04-28T21:32:18+00:00</updated>
<author>
<name>Christian König</name>
<email>christian.koenig@amd.com</email>
</author>
<published>2017-03-30T14:50:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2e81984988adf8de92b7d3a14ba0fe8310d0bcf8'/>
<id>urn:sha1:2e81984988adf8de92b7d3a14ba0fe8310d0bcf8</id>
<content type='text'>
Drop invalidating both hubs from each engine.

v2: don't use hardcoded values

Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
Reviewed-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Reviewed-by: Andres Rodriguez &lt;andresx7@gmail.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: split VMID management by VMHUB</title>
<updated>2017-04-28T21:32:18+00:00</updated>
<author>
<name>Christian König</name>
<email>christian.koenig@amd.com</email>
</author>
<published>2017-04-06T15:52:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=7645670decdb677e2f415ff91609d31e5d4777d8'/>
<id>urn:sha1:7645670decdb677e2f415ff91609d31e5d4777d8</id>
<content type='text'>
This way GFX and MM won't fight for VMIDs any more.

Initially disabled since we need to stop flushing all HUBS
at the same time as well.

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