Re: [PATCH 2/4] drm/amdgpu: create shadow bo using amdgpu_bo_create_shadow()

2021-04-22 Thread Nirmoy
On 4/22/21 9:08 AM, Christian König wrote: Am 21.04.21 um 18:35 schrieb Nirmoy Das: Shadow BOs are only needed for vm code so call amdgpu_bo_create_shadow() directly instead of depending on amdgpu_bo_create(). As far as I can see that won't work correctly. Now you only create the shadow for

Re: [PATCH 2/4] drm/amdgpu: create shadow bo using amdgpu_bo_create_shadow()

2021-04-22 Thread Christian König
Am 21.04.21 um 18:35 schrieb Nirmoy Das: Shadow BOs are only needed for vm code so call amdgpu_bo_create_shadow() directly instead of depending on amdgpu_bo_create(). As far as I can see that won't work correctly. Now you only create the shadow for the root BO, but not for anything else.

[PATCH 2/4] drm/amdgpu: create shadow bo using amdgpu_bo_create_shadow()

2021-04-21 Thread Nirmoy Das
Shadow BOs are only needed for vm code so call amdgpu_bo_create_shadow() directly instead of depending on amdgpu_bo_create(). Signed-off-by: Nirmoy Das --- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(-) diff --git