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

Zhang, Jerry (Junwei) Jerry.Zhang at amd.com
Tue Jun 26 08:28:54 UTC 2018


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 <Jerry.Zhang at amd.com>
>>
>> [...]
>>
>> @@ -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: &amdgpu_bo buffer object to be pinned
>>    * @domain: domain to be pinned to
>> - * @gpu_addr: GPU offset of the &amdgpu_bo buffer object
>>    *
>>    * A simple wrapper to amdgpu_bo_pin_restricted().
>>    * Provides a simpler API for buffers that do not have any strict restrictions
>
> This also needs to be removed in the comment before
> amdgpu_bo_pin_restricted. With that fixed,

Exactly, I will.

Jerry

>
> Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
>
>


More information about the amd-gfx mailing list