> -----Original Message----- > From: amd-gfx [mailto:amd-gfx-bounces at lists.freedesktop.org] On Behalf > Of Huang Rui > Sent: Monday, November 14, 2016 7:47 AM > To: amd-gfx at 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 at amd.com> Series is: Reviewed-by: Alex Deucher <alexander.deucher at 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 at lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/amd-gfx