aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEric Engestrom2018-01-26 05:12:06 -0600
committerEric Engestrom2018-01-29 09:41:52 -0600
commitc6fcd176e8949148ad2e07b0ee970cd1ad287113 (patch)
treec077f41016b23faa0032c4064ab981bfda09343e /tests
parent089d45456b618f78d461c6271fbdfb42ce09fc3e (diff)
downloadexternal-libdrm-c6fcd176e8949148ad2e07b0ee970cd1ad287113.tar.gz
external-libdrm-c6fcd176e8949148ad2e07b0ee970cd1ad287113.tar.xz
external-libdrm-c6fcd176e8949148ad2e07b0ee970cd1ad287113.zip
tests/amdgpu: add parentheses to make operation priority explicit
While at it, align with the other half on the next line. Cc: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/amdgpu/basic_tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/amdgpu/basic_tests.c b/tests/amdgpu/basic_tests.c
index 0f75e896..6ee0aa3b 100644
--- a/tests/amdgpu/basic_tests.c
+++ b/tests/amdgpu/basic_tests.c
@@ -1608,7 +1608,7 @@ static void amdgpu_sync_dependency_test(void)
1608 j = i; 1608 j = i;
1609 ptr[i++] = PACKET3(PACKET3_WRITE_DATA, 3); 1609 ptr[i++] = PACKET3(PACKET3_WRITE_DATA, 3);
1610 ptr[i++] = WRITE_DATA_DST_SEL(5) | WR_CONFIRM; 1610 ptr[i++] = WRITE_DATA_DST_SEL(5) | WR_CONFIRM;
1611 ptr[i++] = 0xfffffffc & ib_result_mc_address + DATA_OFFSET * 4; 1611 ptr[i++] = 0xfffffffc & (ib_result_mc_address + DATA_OFFSET * 4);
1612 ptr[i++] = (0xffffffff00000000 & (ib_result_mc_address + DATA_OFFSET * 4)) >> 32; 1612 ptr[i++] = (0xffffffff00000000 & (ib_result_mc_address + DATA_OFFSET * 4)) >> 32;
1613 ptr[i++] = 99; 1613 ptr[i++] = 99;
1614 1614