drm/amdgpu: cleanup unused iterator members for sdma v3
Subsystems (2)
PATCH 1/2 drm/amdgpu: cleanup unused iterator members for sdma v3
--- drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c +1 -1
@@ -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;
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 1479127619-23643-1-git-send-email-ray.huang-5C7GfCeVMHo@public.gmane.org
PATCH 2/2 drm/amdgpu: cleanup unused iterator members for sdma v2.4
--- drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c +1 -1
@@ -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;
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Christian König
Reviewed-byAm 14.11.2016 um 13:46 schrieb Huang Rui:
Quoted 1 line
Signed-off-by Huang Rui <[email protected]>
Quoted 9 lines
--- drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c +0
-0
drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c static void sdma_v3_0_vm_write_pte(struct amdgpu_ib *ib, uint64_t pe, · line 993
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c +1
-1@@ -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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Deucher, Alexander
Reviewed-by Alex DeucherQuoted 10 lines
-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Huang Rui
Sent: Monday, November 14, 2016 7:47 AM
To: [email protected]; Deucher, Alexander; Koenig, Christian
Cc: Huang, Ray
Subject: [PATCH 1/2] drm/amdgpu: cleanup unused iterator members for sdma v3Signed-off-by Huang Rui <[email protected]>
Series is:
Quoted 22 lines
--- drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c +1
-1@@ -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
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx