diff options
author | Huang Rui <ray.huang@amd.com> | 2016-11-14 07:44:34 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-11-23 15:08:41 -0500 |
commit | 99e3820a6b4c13047a8f1829c4c682bb5b11acd7 (patch) | |
tree | bf80ac2296fd1f458e56d9a035c0cc1f4ca6d569 | |
parent | 4bc07289f07bb8bd5305392ec8fadcf162e3536b (diff) |
drm/amdgpu: cleanup unused iterator members for sdma v2.4
Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c b/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c index 1b44d5bc72f2..fbe74a33899c 100644 --- a/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c +++ b/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c | |||
@@ -779,7 +779,7 @@ static void sdma_v2_4_vm_write_pte(struct amdgpu_ib *ib, uint64_t pe, | |||
779 | ib->ptr[ib->length_dw++] = pe; | 779 | ib->ptr[ib->length_dw++] = pe; |
780 | ib->ptr[ib->length_dw++] = upper_32_bits(pe); | 780 | ib->ptr[ib->length_dw++] = upper_32_bits(pe); |
781 | ib->ptr[ib->length_dw++] = ndw; | 781 | ib->ptr[ib->length_dw++] = ndw; |
782 | for (; ndw > 0; ndw -= 2, --count, pe += 8) { | 782 | for (; ndw > 0; ndw -= 2) { |
783 | ib->ptr[ib->length_dw++] = lower_32_bits(value); | 783 | ib->ptr[ib->length_dw++] = lower_32_bits(value); |
784 | ib->ptr[ib->length_dw++] = upper_32_bits(value); | 784 | ib->ptr[ib->length_dw++] = upper_32_bits(value); |
785 | value += incr; | 785 | value += incr; |