AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Christian König" <christian.koenig-5C7GfCeVMHo@public.gmane.org>
To: Huang Rui <ray.huang-5C7GfCeVMHo@public.gmane.org>,
	amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
	Alex Deucher <alexander.deucher-5C7GfCeVMHo@public.gmane.org>
Subject: Re: [PATCH 1/2] drm/amdgpu: cleanup unused iterator members for sdma v3
Date: Mon, 14 Nov 2016 13:56:59 +0100	[thread overview]
Message-ID: <198f9eb8-e32c-a52e-e351-131f6f5807bf@amd.com> (raw)
In-Reply-To: <1479127619-23643-1-git-send-email-ray.huang-5C7GfCeVMHo@public.gmane.org>

Am 14.11.2016 um 13:46 schrieb Huang Rui:
> Signed-off-by: Huang Rui <ray.huang@amd.com>

Reviewed-by: Christian König <christian.koenig@amd.com> for both.

> ---
>   drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c
> index c5719a1..373ae70 100644
> --- a/drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c
> @@ -987,7 +987,7 @@ static void sdma_v3_0_vm_write_pte(struct amdgpu_ib *ib, uint64_t pe,
>   	ib->ptr[ib->length_dw++] = lower_32_bits(pe);
>   	ib->ptr[ib->length_dw++] = upper_32_bits(pe);
>   	ib->ptr[ib->length_dw++] = ndw;
> -	for (; ndw > 0; ndw -= 2, --count, pe += 8) {
> +	for (; ndw > 0; ndw -= 2) {
>   		ib->ptr[ib->length_dw++] = lower_32_bits(value);
>   		ib->ptr[ib->length_dw++] = upper_32_bits(value);
>   		value += incr;


_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

  parent reply	other threads:[~2016-11-14 12:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-14 12:46 [PATCH 1/2] drm/amdgpu: cleanup unused iterator members for sdma v3 Huang Rui
     [not found] ` <1479127619-23643-1-git-send-email-ray.huang-5C7GfCeVMHo@public.gmane.org>
2016-11-14 12:46   ` [PATCH 2/2] drm/amdgpu: cleanup unused iterator members for sdma v2.4 Huang Rui
2016-11-14 12:56   ` Christian König [this message]
2016-11-14 15:36   ` [PATCH 1/2] drm/amdgpu: cleanup unused iterator members for sdma v3 Deucher, Alexander

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=198f9eb8-e32c-a52e-e351-131f6f5807bf@amd.com \
    --to=christian.koenig-5c7gfcevmho@public.gmane.org \
    --cc=alexander.deucher-5C7GfCeVMHo@public.gmane.org \
    --cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    --cc=ray.huang-5C7GfCeVMHo@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