All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] drm/amdgpu: cleanup unused iterator members for sdma v3
@ 2016-11-14 12:46 Huang Rui
       [not found] ` <1479127619-23643-1-git-send-email-ray.huang-5C7GfCeVMHo@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Huang Rui @ 2016-11-14 12:46 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, Alex Deucher,
	Christian König
  Cc: Huang Rui

Signed-off-by: Huang Rui <ray.huang@amd.com>
---
 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;
-- 
2.7.4

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] drm/amdgpu: cleanup unused iterator members for sdma v2.4
       [not found] ` <1479127619-23643-1-git-send-email-ray.huang-5C7GfCeVMHo@public.gmane.org>
@ 2016-11-14 12:46   ` Huang Rui
  2016-11-14 12:56   ` [PATCH 1/2] drm/amdgpu: cleanup unused iterator members for sdma v3 Christian König
  2016-11-14 15:36   ` Deucher, Alexander
  2 siblings, 0 replies; 4+ messages in thread
From: Huang Rui @ 2016-11-14 12:46 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, Alex Deucher,
	Christian König
  Cc: Huang Rui

Signed-off-by: Huang Rui <ray.huang@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c b/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
index 1f3dcab..5a80837 100644
--- a/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
+++ b/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
@@ -783,7 +783,7 @@ static void sdma_v2_4_vm_write_pte(struct amdgpu_ib *ib, uint64_t pe,
 	ib->ptr[ib->length_dw++] = 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;
-- 
2.7.4

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] drm/amdgpu: cleanup unused iterator members for sdma v3
       [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
  2016-11-14 15:36   ` Deucher, Alexander
  2 siblings, 0 replies; 4+ messages in thread
From: Christian König @ 2016-11-14 12:56 UTC (permalink / raw)
  To: Huang Rui, amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, Alex Deucher

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH 1/2] drm/amdgpu: cleanup unused iterator members for sdma v3
       [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   ` [PATCH 1/2] drm/amdgpu: cleanup unused iterator members for sdma v3 Christian König
@ 2016-11-14 15:36   ` Deucher, Alexander
  2 siblings, 0 replies; 4+ messages in thread
From: Deucher, Alexander @ 2016-11-14 15:36 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, Koenig, Christian; +Cc: Huang, Ray

> -----Original Message-----
> From: amd-gfx [mailto:amd-gfx-bounces@lists.freedesktop.org] On Behalf
> Of Huang Rui
> Sent: Monday, November 14, 2016 7:47 AM
> To: amd-gfx@lists.freedesktop.org; Deucher, Alexander; Koenig, Christian
> Cc: Huang, Ray
> Subject: [PATCH 1/2] drm/amdgpu: cleanup unused iterator members for
> sdma v3
> 
> Signed-off-by: Huang Rui <ray.huang@amd.com>

Series is:
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>

> ---
>  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;
> --
> 2.7.4
> 
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-11-14 15:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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   ` [PATCH 1/2] drm/amdgpu: cleanup unused iterator members for sdma v3 Christian König
2016-11-14 15:36   ` Deucher, Alexander

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.