Re: [PATCH] drm/amdgpu: Reserve shared fence slot in amdgpu_vm_update_directories

2018-06-24 Thread Zhang, Jerry (Junwei)
On 06/23/2018 12:42 AM, Michel Dänzer wrote: From: Michel Dänzer Without this, there could not be enough slots, which could trigger the BUG_ON in reservation_object_add_shared_fence. Cc: sta...@vger.kernel.org Bugzilla: https://bugs.freedesktop.org/106418 Reported-by: mikhail.v.gavri...@gmail.

Re: [PATCH] drm/amdgpu: Add AMDGPU_GPU_PAGES_IN_CPU_PAGE define

2018-06-24 Thread zhoucm1
one question to you: Did you consider the case that GPU_PAGE_SIZE > CPU_PAGE_SIZE? What happens if the case is ture? Regards, David Zhou On 2018年06月23日 03:50, Alex Deucher wrote: On Fri, Jun 22, 2018 at 12:54 PM, Michel Dänzer wrote: From: Michel Dänzer To hopefully make the code deal