<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/gpu/drm/amd/amdkfd, branch v4.8</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.8</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.8'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2016-08-09T07:02:02Z</updated>
<entry>
<title>drm/amdkfd: print doorbell offset as a hex value</title>
<updated>2016-08-09T07:02:02Z</updated>
<author>
<name>Colin Ian King</name>
<email>colin.king@canonical.com</email>
</author>
<published>2016-07-13T07:36:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6dae61627d1004895bfcee81d24482ec64cbecc5'/>
<id>urn:sha1:6dae61627d1004895bfcee81d24482ec64cbecc5</id>
<content type='text'>
The doorbell offset is formatted with a 0x prefix to suggest it is
a hexadecimal value, when in fact %d is being used and this is confusing.
Use %X instead to match the proceeding 0x prefix.

Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Signed-off-by: Oded Gabbay &lt;oded.gabbay@gmail.com&gt;
</content>
</entry>
<entry>
<title>drm/amdkfd: destroy mutex if process creation fails</title>
<updated>2016-07-03T05:05:45Z</updated>
<author>
<name>Oded Gabbay</name>
<email>oded.gabbay@gmail.com</email>
</author>
<published>2016-06-23T14:54:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7fd5e03ca6b41a591bd9fda083362b8a07cfb5f7'/>
<id>urn:sha1:7fd5e03ca6b41a591bd9fda083362b8a07cfb5f7</id>
<content type='text'>
Signed-off-by: Oded Gabbay &lt;oded.gabbay@gmail.com&gt;
</content>
</entry>
<entry>
<title>drm/amdkfd: Remove create_workqueue()</title>
<updated>2016-07-03T05:05:45Z</updated>
<author>
<name>Bhaktipriya Shridhar</name>
<email>bhaktipriya96@gmail.com</email>
</author>
<published>2016-05-29T15:44:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fd320bf69297c3e4dbbb03193ec0b9cb68f3488a'/>
<id>urn:sha1:fd320bf69297c3e4dbbb03193ec0b9cb68f3488a</id>
<content type='text'>
alloc_workqueue replaces deprecated create_workqueue().

create_workqueue has been replaced with alloc_workqueue with max_active
as 0 since there is no need for throttling the number of active work items.

WQ_MEM_RECLAIM has not been set to because kfd_process_wq will not be
used in memory reclaim path.

kfd_process_wq is used for delay destruction. A work item embedded in
kfd_process gets queued to kfd_process_wq and when it executes it
destroys and frees the containing kfd_process and thus itself.

This requires a dedicated workqueue because a work item once queued, may
get freed at any point of time and any external entity cannot
flush the work item. So, in order to wait for such a work item,
it needs to be put on a dedicated workqueue.

kfd_module_exit() calls kfd_process_destroy_wq which ensures that all
pending work items are finished before the module is removed.

flush_workqueue is unnecessary since destroy_workqueue() itself calls
drain_workqueue() which flushes repeatedly till the workqueue
becomes empty.

Hence flush_workqueue has been removed.

Signed-off-by: Bhaktipriya Shridhar &lt;bhaktipriya96@gmail.com&gt;
Acked-by: Tejun Heo &lt;tj@kernel.org&gt;
Signed-off-by: Oded Gabbay &lt;oded.gabbay@gmail.com&gt;
</content>
</entry>
<entry>
<title>Back-merge tag 'v4.7-rc5' into drm-next</title>
<updated>2016-07-02T05:56:01Z</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@redhat.com</email>
</author>
<published>2016-07-02T05:56:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=542d972221e024681b502033154f917c1455469f'/>
<id>urn:sha1:542d972221e024681b502033154f917c1455469f</id>
<content type='text'>
Linux 4.7-rc5

The fsl-dcu pull needs -rc3 so go to -rc5 for now.
</content>
</entry>
<entry>
<title>drm/amdkfd: Clean up inline handling</title>
<updated>2016-06-21T19:32:52Z</updated>
<author>
<name>Daniel Vetter</name>
<email>daniel.vetter@ffwll.ch</email>
</author>
<published>2016-06-21T09:10:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a104299b94bdb562c2ce9a4445bac24c147c25cd'/>
<id>urn:sha1:a104299b94bdb562c2ce9a4445bac24c147c25cd</id>
<content type='text'>
- inline functions need to be static inline, otherwise gcc can opt to
  not inline and the linker gets unhappy.
- no forward decls for inline functions, just include the right headers.

Cc: Oded Gabbay &lt;oded.gabbay@gmail.com&gt;
Cc: Ben Goz &lt;ben.goz@amd.com&gt;
Reviewed-by: Oded Gabbay &lt;oded.gabbay@gmail.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/1466500235-21282-2-git-send-email-daniel.vetter@ffwll.ch
</content>
</entry>
<entry>
<title>drm/amdkfd: print once about mem_banks truncation</title>
<updated>2016-06-03T05:50:40Z</updated>
<author>
<name>Oded Gabbay</name>
<email>oded.gabbay@gmail.com</email>
</author>
<published>2016-05-29T05:21:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0fbbbf8b599ff840ff1a3c0cc00dd67ba8a52c9c'/>
<id>urn:sha1:0fbbbf8b599ff840ff1a3c0cc00dd67ba8a52c9c</id>
<content type='text'>
This print can really spam the kernel log in case we are truncating
mem_banks, so just print this info once. It should also not be classified
as warning.

Signed-off-by: Oded Gabbay &lt;oded.gabbay@gmail.com&gt;
</content>
</entry>
<entry>
<title>drm/amdkfd: destroy dbgmgr in notifier release</title>
<updated>2016-06-03T05:50:40Z</updated>
<author>
<name>Oded Gabbay</name>
<email>oded.gabbay@gmail.com</email>
</author>
<published>2016-05-26T05:41:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=bc4755a4bd1845ef6e88ac8c62f12e05bb530256'/>
<id>urn:sha1:bc4755a4bd1845ef6e88ac8c62f12e05bb530256</id>
<content type='text'>
amdkfd need to destroy the debug manager in case amdkfd's notifier
function is called before the unbind function, because in that case,
the unbind function will exit without destroying debug manager.

Signed-off-by: Oded Gabbay &lt;oded.gabbay@gmail.com&gt;
CC: Stable &lt;stable@vger.kernel.org&gt;
</content>
</entry>
<entry>
<title>drm/amdkfd: unbind only existing processes</title>
<updated>2016-06-03T05:50:40Z</updated>
<author>
<name>Oded Gabbay</name>
<email>oded.gabbay@gmail.com</email>
</author>
<published>2016-05-26T05:41:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=121b78e679ee3ffab780115e260b2775d0cc1f73'/>
<id>urn:sha1:121b78e679ee3ffab780115e260b2775d0cc1f73</id>
<content type='text'>
When unbinding a process from a device (initiated by amd_iommu_v2), the
driver needs to make sure that process still exists in the process table.
There is a possibility that amdkfd's own notifier handler -
kfd_process_notifier_release() - was called before the unbind function
and it already removed the process from the process table.

v2:
Because there can be only one process with the specified pasid, and
because *p can't be NULL inside the hash_for_each_rcu macro, it is more
reasonable to just put the whole code inside the if statement that
compares the pasid value. That way, when we exit hash_for_each_rcu, we
simply exit the function as well.

Signed-off-by: Oded Gabbay &lt;oded.gabbay@gmail.com&gt;
CC: Stable &lt;stable@vger.kernel.org&gt;
</content>
</entry>
<entry>
<title>amdkfd: Trim unnescessary intermediate err var in kfd_chardev.c</title>
<updated>2016-04-30T14:06:29Z</updated>
<author>
<name>Edward O'Callaghan</name>
<email>eocallaghan@alterapraxis.com</email>
</author>
<published>2016-04-30T14:06:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=eb026024c24bbeb18e08d973e950f76c0d97a3c0'/>
<id>urn:sha1:eb026024c24bbeb18e08d973e950f76c0d97a3c0</id>
<content type='text'>
Found-By: Coccinelle
Signed-off-by: Edward O'Callaghan &lt;eocallaghan@alterapraxis.com&gt;
Signed-off-by: Oded Gabbay &lt;oded.gabbay@gmail.com&gt;
</content>
</entry>
<entry>
<title>amdkfd: Trim off unnescessary semicolon from kfd_packet_manager.c</title>
<updated>2016-04-30T14:06:28Z</updated>
<author>
<name>Edward O'Callaghan</name>
<email>eocallaghan@alterapraxis.com</email>
</author>
<published>2016-04-30T14:06:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=371d5b653f2005267cc482477bcab21cd155aacf'/>
<id>urn:sha1:371d5b653f2005267cc482477bcab21cd155aacf</id>
<content type='text'>
Found-By: Coccinelle
Signed-off-by: Edward O'Callaghan &lt;eocallaghan@alterapraxis.com&gt;
Signed-off-by: Oded Gabbay &lt;oded.gabbay@gmail.com&gt;
</content>
</entry>
</feed>
