[PATCH libdrm] tests/amdgpu: minor fix for dispatch/draw test

2019-03-19 Thread Cui, Flora
1. clear cmd buffer 2. make amdgpu_memcpy_dispatch_test static 3. tab/space fix Change-Id: Idf55f8881f66458b585092eccb55b6042520e4ad Signed-off-by: Flora Cui --- tests/amdgpu/basic_tests.c | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git

[PATCH libdrm 1/4] tests/amdgpu: add memset dispatch test

2019-03-15 Thread Cui, Flora
add memset dispatch test for gfx9 v2: disable dispatch test for other ASICs Change-Id: I55a410a4ea0a6d19d1aca1f172e1dfcbbd1112fa Signed-off-by: Flora Cui Tested-by: Rui Teng Reviewed-by: Hawking Zhang --- tests/amdgpu/amdgpu_test.c | 5 + tests/amdgpu/basic_tests.c | 273

[PATCH libdrm 4/4] tests/amdgpu: add memcpy draw test

2019-03-15 Thread Cui, Flora
add memcpy draw test for gfx9 Change-Id: Ib80e55b1ab7aa556c4b5adfdd39aedf7d58ba628 Signed-off-by: Flora Cui Tested-by: Rui Teng --- tests/amdgpu/basic_tests.c | 264 +++-- 1 file changed, 253 insertions(+), 11 deletions(-) diff --git

[PATCH libdrm 3/4] tests/amdgpu: add memset draw test

2019-03-15 Thread Cui, Flora
add memset draw test for gfx9 Change-Id: I3a1f2460ec0917e29ce1a891200eeaa1a0565fda Signed-off-by: Flora Cui Tested-by: Rui Teng --- tests/amdgpu/amdgpu_test.c | 5 + tests/amdgpu/basic_tests.c | 554 + 2 files changed, 559 insertions(+) diff --git

[PATCH libdrm 2/4] tests/amdgpu: add memcpy dispatch test

2019-03-15 Thread Cui, Flora
add memcpy dispatch test for gfx9 Change-Id: Ic9b280db2ced21b15e228c1c4c217836ab3f44a8 Signed-off-by: Flora Cui Tested-by: Rui Teng Reviewed-by: Hawking Zhang --- tests/amdgpu/basic_tests.c | 163 - 1 file changed, 161 insertions(+), 2 deletions(-)

Re: [PATCH v2] tests/amdgpu: add deadlock test for sdma

2019-03-15 Thread Cui, Flora
Hi Alex, could you help to submit this patch upstream? 在 3/6/2019 4:08 PM, Christian König 写道: > Am 06.03.19 um 07:37 schrieb Cui, Flora: >> deadlock test for sdma will cause gpu recoverty. >> disable the test for now until GPU reset recovery could survive at least >> 1000

[PATCH v2] tests/amdgpu: add deadlock test for sdma

2019-03-05 Thread Cui, Flora
deadlock test for sdma will cause gpu recoverty. disable the test for now until GPU reset recovery could survive at least 1000 times test. v2: add modprobe parameter Change-Id: I9adac63c62db22107345eddb30e7d81a1bda838c Signed-off-by: Flora Cui --- tests/amdgpu/amdgpu_test.c| 4 ++

[PATCH libdrm] tests/amdgpu: add deadlock test for sdma

2019-03-05 Thread Cui, Flora
deadlock test for sdma will cause gpu recoverty. disable the test for now until GPU reset recovery could survive at least 1000 times test. Change-Id: I9adac63c62db22107345eddb30e7d81a1bda838c Signed-off-by: Flora Cui --- tests/amdgpu/amdgpu_test.c| 4 ++ tests/amdgpu/deadlock_tests.c |

[PATCH libdrm 1/2] tests/amdgpu: add memset dispatch test

2019-02-27 Thread Cui, Flora
add memset dispatch test for gfx9 Change-Id: If607fbd9c6e49ca830a662adc24fe6b1e2a25bfb Signed-off-by: Flora Cui Tested-by: Rui Teng --- tests/amdgpu/basic_tests.c | 215 - 1 file changed, 213 insertions(+), 2 deletions(-) diff --git

[PATCH libdrm 2/2] tests/amdgpu: add memcpy dispatch test

2019-02-27 Thread Cui, Flora
add memcpy dispatch test for gfx9 Change-Id: If433434c5378f3b318209d4e28c19d7ce9cff1a2 Signed-off-by: Flora Cui Tested-by: Rui Teng --- tests/amdgpu/basic_tests.c | 129 + 1 file changed, 129 insertions(+) diff --git a/tests/amdgpu/basic_tests.c

RE: [PATCH libdrm] tests/amdgpu: add dispatch test

2019-02-24 Thread Cui, Flora
OK. I'll prepare the patch base on master once the tests are finished. -Original Message- From: Alex Deucher Sent: Saturday, February 23, 2019 4:55 AM To: Zhang, Hawking Cc: Cui, Flora ; amd-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org Subject: Re: [PATCH libdrm] tests

[PATCH libdrm] tests/amdgpu: add dispatch test

2019-02-17 Thread Cui, Flora
From: Flora Cui Change-Id: I6f5dfa4379cb21c41c68757fae0105527a03e54f Signed-off-by: Flora Cui --- tests/amdgpu/basic_tests.c | 175 - 1 file changed, 173 insertions(+), 2 deletions(-) diff --git a/tests/amdgpu/basic_tests.c