aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHuang Rui <ray.huang@amd.com>2016-11-14 07:43:45 -0500
committerAlex Deucher <alexander.deucher@amd.com>2016-11-23 15:08:41 -0500
commit4bc07289f07bb8bd5305392ec8fadcf162e3536b (patch)
tree6779b36294b0381f8a4d4ae9549b04c36a169289
parent45682886bcd4a7d94a3281460c29a8a5c5438212 (diff)
drm/amdgpu: cleanup unused iterator members for sdma v3
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_v3_0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c
index 9425c6926d07..1170a64a3184 100644
--- a/drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c
@@ -981,7 +981,7 @@ static void sdma_v3_0_vm_write_pte(struct amdgpu_ib *ib, uint64_t pe,
981 ib->ptr[ib->length_dw++] = lower_32_bits(pe); 981 ib->ptr[ib->length_dw++] = lower_32_bits(pe);
982 ib->ptr[ib->length_dw++] = upper_32_bits(pe); 982 ib->ptr[ib->length_dw++] = upper_32_bits(pe);
983 ib->ptr[ib->length_dw++] = ndw; 983 ib->ptr[ib->length_dw++] = ndw;
984 for (; ndw > 0; ndw -= 2, --count, pe += 8) { 984 for (; ndw > 0; ndw -= 2) {
985 ib->ptr[ib->length_dw++] = lower_32_bits(value); 985 ib->ptr[ib->length_dw++] = lower_32_bits(value);
986 ib->ptr[ib->length_dw++] = upper_32_bits(value); 986 ib->ptr[ib->length_dw++] = upper_32_bits(value);
987 value += incr; 987 value += incr;