[RFC] Improve on using delays greater than a few milliseconds

2018-07-28 Thread Paul Menzel
Dear Linux folks, Trying to decrease the boot time, mostly with ftrace by using [1], I noticed a lot of delays. Out of curiosity I searched for all calls of `mdelay()` in the driver *amdgpu*. $ git grep mdelay drivers/gpu/drm/amd/amdgpu drivers/gpu/drm/amd/amdgpu/atom.c: mdelay

[git pull] amdkfd next 4.19

2018-07-28 Thread Oded Gabbay
Hi Dave, This is amdkfd pull for 4.19. The major changes are: - Add Raven support. Raven refers to Ryzen APUs with integrated GFXv9 GPU. - Integrate GPU reset support In addition, there are a couple of small fixes and improvements, such as: - Better handling and reporting to user of VM faults -

Re: [PATCH 2/2] drm/amdkfd: Call kfd2kgd.set_compute_idle

2018-07-28 Thread Oded Gabbay
Hi Felix, Both patches applied to -next. Oded On Tue, Jul 17, 2018 at 7:14 PM Alex Deucher wrote: > > On Mon, Jul 16, 2018 at 7:10 PM, Felix Kuehling > wrote: > > User mode queue submissions don't go through KFD. Therefore we don't > > know exactly when compute is idle or not idle. We use the ex

Re: [PATCH 2/2] drm/amdkfd: Add CU-masking ioctl to KFD

2018-07-28 Thread Oded Gabbay
On Sun, Jul 15, 2018 at 2:06 AM Felix Kuehling wrote: > > CU-masking allows a KFD client to control the set of CUs used by a > user mode queue for executing compute dispatches. This can be used > for optimizing the partitioning of the GPU and minimize conflicts > between concurrent tasks. > > Sign

Re: [PATCH 1/2] drm/amd: Add CU-masking ioctl definition to kfd_ioctl.h

2018-07-28 Thread Oded Gabbay
On Sun, Jul 15, 2018 at 2:06 AM Felix Kuehling wrote: > > Signed-off-by: Felix Kuehling > --- > include/uapi/linux/kfd_ioctl.h | 11 ++- > 1 file changed, 10 insertions(+), 1 deletion(-) > > diff --git a/include/uapi/linux/kfd_ioctl.h b/include/uapi/linux/kfd_ioctl.h > index 88d17c3..016

Re: [PATCH 0/6] Raven support for KFD v2

2018-07-28 Thread Oded Gabbay
Hi Felix, Thanks for the patch-set. Applied to -next. Oded On Fri, Jul 13, 2018 at 11:24 PM Alex Deucher wrote: > > On Fri, Jul 13, 2018 at 4:17 PM, Felix Kuehling > wrote: > > Raven refers to Ryzen APUs with integrated GFXv9 GPU. > > This patch series completes Raven support for KFD: > > > > *

Re: [PATCH 00/25] KFD fixes, robutness enhancements and cleanups

2018-07-28 Thread Oded Gabbay
Hi Felix, Thanks for the patch-set. Applied to -next. Oded On Thu, Jul 12, 2018 at 10:52 AM Christian König wrote: > > Patches which don't already have my rb are Acked-by: Christian König > . > > Regards, > Christian. > > Am 12.07.2018 um 04:32 schrieb Felix Kuehling: > > This series fixes some