Re: [PATCH 1/2] drm/amdgpu: use pre-calculated bo size

2021-04-14 Thread Nirmoy
On 4/14/21 8:52 AM, Christian König wrote: Am 13.04.21 um 22:57 schrieb Nirmoy Das: Use bo->tbo.base.size instead of calculating it from num_pages. Those don't clash with the two I've send out yesterday, don't they? It does, I didn't check dri-devel's [PATCH 1/7] drm/nouveau: use bo->base

Re: [PATCH 1/2] drm/amdgpu: use pre-calculated bo size

2021-04-13 Thread Christian König
Am 13.04.21 um 22:57 schrieb Nirmoy Das: Use bo->tbo.base.size instead of calculating it from num_pages. Those don't clash with the two I've send out yesterday, don't they? Signed-off-by: Nirmoy Das Reviewed-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 2 +-

[PATCH 1/2] drm/amdgpu: use pre-calculated bo size

2021-04-13 Thread Nirmoy Das
Use bo->tbo.base.size instead of calculating it from num_pages. Signed-off-by: Nirmoy Das --- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_obj