Re: [PATCH 1/2] drm/amdgpu: separate gpu address from bo pin

2018-06-26 Thread Zhang, Jerry (Junwei)
On 06/26/2018 04:35 PM, Michel Dänzer wrote: On 2018-06-26 10:28 AM, Zhang, Jerry (Junwei) wrote: On 06/26/2018 03:46 PM, Michel Dänzer wrote: On 2018-06-26 08:00 AM, Junwei Zhang wrote: It could be got by amdgpu_bo_gpu_offset() if need Signed-off-by: Junwei Zhang [...] @@ -931,7 +928,6 @@

Re: [PATCH 1/2] drm/amdgpu: separate gpu address from bo pin

2018-06-26 Thread Michel Dänzer
On 2018-06-26 10:28 AM, Zhang, Jerry (Junwei) wrote: > On 06/26/2018 03:46 PM, Michel Dänzer wrote: >> On 2018-06-26 08:00 AM, Junwei Zhang wrote: >>> It could be got by amdgpu_bo_gpu_offset() if need >>> >>> Signed-off-by: Junwei Zhang >>> >>> [...] >>> >>> @@ -931,7 +928,6 @@ int amdgpu_bo_pin_r

Re: [PATCH 1/2] drm/amdgpu: separate gpu address from bo pin

2018-06-26 Thread Zhang, Jerry (Junwei)
On 06/26/2018 03:46 PM, Michel Dänzer wrote: On 2018-06-26 08:00 AM, Junwei Zhang wrote: It could be got by amdgpu_bo_gpu_offset() if need Signed-off-by: Junwei Zhang [...] @@ -931,7 +928,6 @@ int amdgpu_bo_pin_restricted(struct amdgpu_bo *bo, u32 domain, * amdgpu_bo_pin - pin an &amdgpu

Re: [PATCH 1/2] drm/amdgpu: separate gpu address from bo pin

2018-06-26 Thread Michel Dänzer
On 2018-06-26 08:00 AM, Junwei Zhang wrote: > It could be got by amdgpu_bo_gpu_offset() if need > > Signed-off-by: Junwei Zhang > > [...] > > @@ -931,7 +928,6 @@ int amdgpu_bo_pin_restricted(struct amdgpu_bo *bo, u32 > domain, > * amdgpu_bo_pin - pin an &amdgpu_bo buffer object > * @bo:

[PATCH 1/2] drm/amdgpu: separate gpu address from bo pin

2018-06-25 Thread Junwei Zhang
It could be got by amdgpu_bo_gpu_offset() if need Signed-off-by: Junwei Zhang --- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c| 6 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c | 6 -- drivers/gpu/drm/amd/amdgpu/am