From: "Zhang, Jerry (Junwei)" <Jerry.Zhang-5C7GfCeVMHo@public.gmane.org>
To: "Michel Dänzer" <michel-otUistvHUpPR7s880joybQ@public.gmane.org>
Cc: christian.koenig-5C7GfCeVMHo@public.gmane.org,
amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: [PATCH 1/2] drm/amdgpu: separate gpu address from bo pin
Date: Tue, 26 Jun 2018 16:39:00 +0800 [thread overview]
Message-ID: <5B31FBA4.6010908@amd.com> (raw)
In-Reply-To: <eac68f86-a5f9-110e-3970-ee8a8404934a-otUistvHUpPR7s880joybQ@public.gmane.org>
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 <Jerry.Zhang@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.
>
> Thanks. FWIW, running e.g.
>
> make -j$(nproc) htmldocs
Thanks for your sharing useful command :)
Jerry
>
> should have produced the following warning:
>
> ./drivers/gpu/drm/amd/amdgpu/amdgpu_object.c:841: warning: Excess
> function parameter 'gpu_addr' description in 'amdgpu_bo_pin_restricted'
>
>
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
prev parent reply other threads:[~2018-06-26 8:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-26 6:00 [PATCH 1/2] drm/amdgpu: separate gpu address from bo pin Junwei Zhang
[not found] ` <1529992843-649-1-git-send-email-Jerry.Zhang-5C7GfCeVMHo@public.gmane.org>
2018-06-26 6:00 ` [PATCH 2/2] drm/amdgpu: allocate gart memory when it's required Junwei Zhang
[not found] ` <1529992843-649-2-git-send-email-Jerry.Zhang-5C7GfCeVMHo@public.gmane.org>
2018-06-26 7:42 ` Michel Dänzer
[not found] ` <87a2a6dc-e07c-d41f-0691-afa48d0f7925-otUistvHUpPR7s880joybQ@public.gmane.org>
2018-06-26 8:32 ` Zhang, Jerry (Junwei)
2018-06-26 7:46 ` [PATCH 1/2] drm/amdgpu: separate gpu address from bo pin Michel Dänzer
[not found] ` <6c63256a-17d2-ee6e-8b3c-2e0a928aeb84-otUistvHUpPR7s880joybQ@public.gmane.org>
2018-06-26 8:28 ` Zhang, Jerry (Junwei)
[not found] ` <5B31F946.6020404-5C7GfCeVMHo@public.gmane.org>
2018-06-26 8:35 ` Michel Dänzer
[not found] ` <eac68f86-a5f9-110e-3970-ee8a8404934a-otUistvHUpPR7s880joybQ@public.gmane.org>
2018-06-26 8:39 ` Zhang, Jerry (Junwei) [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5B31FBA4.6010908@amd.com \
--to=jerry.zhang-5c7gfcevmho@public.gmane.org \
--cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=christian.koenig-5C7GfCeVMHo@public.gmane.org \
--cc=michel-otUistvHUpPR7s880joybQ@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox