Re: [PATCH] drm: amd: Use kmemdup instead of duplicating its function

2018-10-11 Thread Felix Kuehling
Hi Zhong Jiang, Sorry for the late response. I just saw this while catching up with my backlog after travelling end of September. I applied your patch to amd-staging-drm-next. I only changed the headline slightly to use the "drm/admkfd: " prefix that we commonly use for KFD changes. Regards,   F

Re: [PATCH] drm: amd: Use kmemdup instead of duplicating its function

2018-09-23 Thread zhong jiang
+cc amd-...@lists.freedesktop.org Thanks, zhong jiang On 2018/9/18 23:35, zhong jiang wrote: > kmemdup has implemented the function that kmalloc() + memcpy(). > We prefer to kmemdup rather than code opened implementation. > > Signed-off-by: zhong jiang > --- > drivers/gpu/drm/amd/amdkfd/kfd_cr

[PATCH] drm: amd: Use kmemdup instead of duplicating its function

2018-09-18 Thread zhong jiang
kmemdup has implemented the function that kmalloc() + memcpy(). We prefer to kmemdup rather than code opened implementation. Signed-off-by: zhong jiang --- drivers/gpu/drm/amd/amdkfd/kfd_crat.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_