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

2020-02-11 Thread Christian König
Am 11.02.20 um 15:54 schrieb Nirmoy: On 2/11/20 3:09 PM, Christian König wrote: Am 11.02.20 um 15:06 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 ---

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

2020-02-11 Thread Nirmoy
On 2/11/20 3:09 PM, Christian König wrote: Am 11.02.20 um 15:06 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 ---  

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

2020-02-11 Thread Christian König
Am 11.02.20 um 15:06 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 --- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 22 +++--

[RFC PATCH v2] 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 | 22 +++-- drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 1 +