Re: [PATCH 1/1] drm/amdgpu: implement and use amdgpu_bo_create_with_shadow()

2021-04-21 Thread Christian König
Am 21.04.21 um 15:20 schrieb Nirmoy Das: Shadow bo is only needed for some amdgpu_vm allcations. amdgpu_bo_create_with_shadow() should make it clear that a bo is for amdgpu_vm and will also remove unnecessary checks from amdgpu_bo_create(). I was the one suggesting to make the shadow thing

[PATCH 1/1] drm/amdgpu: implement and use amdgpu_bo_create_with_shadow()

2021-04-21 Thread Nirmoy Das
Shadow bo is only needed for some amdgpu_vm allcations. amdgpu_bo_create_with_shadow() should make it clear that a bo is for amdgpu_vm and will also remove unnecessary checks from amdgpu_bo_create(). Signed-off-by: Nirmoy Das --- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 26