Re: [PATCH] drm/amdkfd: remove memset before memcpy

2017-09-02 Thread Oded Gabbay
On Tue, Aug 29, 2017 at 10:03 PM, Himanshu Jha wrote: > calling memcpy immediately after memset with the same region of memory > makes memset redundant. > > Signed-off-by: Himanshu Jha > --- >

Re: [bug report] drm/amdkfd: Add SDMA user-mode queues support to QCM

2017-09-02 Thread Oded Gabbay
On Tue, Jul 11, 2017 at 11:03 PM, Dan Carpenter wrote: > Hello Ben Goz, > > The patch bcea30817574: "drm/amdkfd: Add SDMA user-mode queues > support to QCM" from Jan 3, 2015, leads to the following static > checker warning: > >

Re: Regression: Re: [PATCH 2/3] drm/amdgpu: fix amdgpu_ttm_bind

2017-09-02 Thread Christian König
Thinking more about this it looks like a general bug in the userptr put_page handling. Patch to fix this is on the list, Christian. Am 02.09.2017 um 09:52 schrieb Christian König: Ah, crap yeah that won't work. Yeah, we should block userptr BOs in amdgpu_ttm_bind() for now. There is

[PATCH] drm/amdgpu: fix userptr put_page handling

2017-09-02 Thread Christian König
From: Christian König Move calling put_page into the unpopulate callback. Otherwise we mess up the pages reference count when it is unbound multiple times. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 +

Re: [PATCH] drm/amdgpu: fix placement flags in amdgpu_ttm_bind

2017-09-02 Thread Christian König
Am 01.09.2017 um 21:58 schrieb Deucher, Alexander: -Original Message- From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf Of Felix Kuehling Sent: Friday, September 01, 2017 3:18 PM To: Christian König; amd-gfx@lists.freedesktop.org Cc: Russell, Kent Subject: Re: