Re: [RFC PATCH v3] drm/amdgpu: move ttm bo->offset to amdgpu_bo

2020-02-11 Thread Christian König
Am 11.02.20 um 15:57 schrieb Nirmoy Das: GPU address should belong to driver not in memory management. This patch moves ttm bo.offset and gpu_offset calculation to amdgpu driver. Signed-off-by: Nirmoy Das Two more suggestions below, with those fixed the patch is Reviewed-by: Christian König

[RFC PATCH v3] drm/amdgpu: move ttm bo->offset to amdgpu_bo

2020-02-11 Thread Nirmoy Das
GPU address should belong to driver not in memory management. This patch moves ttm bo.offset and gpu_offset calculation to amdgpu driver. Signed-off-by: Nirmoy Das --- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 28 +++-- drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 1 + driv