Re: [PATCH libdrm] tests/amdgpu: add unaligned VM test

2018-09-14 Thread Zhang, Jerry(Junwei)
On 09/13/2018 08:20 PM, Christian König wrote: Am 11.09.2018 um 04:06 schrieb Zhang, Jerry (Junwei): On 09/10/2018 05:33 PM, Christian König wrote: Am 10.09.2018 um 04:44 schrieb Zhang, Jerry (Junwei): On 09/10/2018 02:04 AM, Christian König wrote: Make a VM mapping which is as unaligned as p

Re: [PATCH libdrm] tests/amdgpu: add unaligned VM test

2018-09-13 Thread Christian König
Am 11.09.2018 um 04:06 schrieb Zhang, Jerry (Junwei): On 09/10/2018 05:33 PM, Christian König wrote: Am 10.09.2018 um 04:44 schrieb Zhang, Jerry (Junwei): On 09/10/2018 02:04 AM, Christian König wrote: Make a VM mapping which is as unaligned as possible. Is it going to test unaligned address

Re: [PATCH libdrm] tests/amdgpu: add unaligned VM test

2018-09-10 Thread Zhang, Jerry (Junwei)
On 09/10/2018 05:33 PM, Christian König wrote: Am 10.09.2018 um 04:44 schrieb Zhang, Jerry (Junwei): On 09/10/2018 02:04 AM, Christian König wrote: Make a VM mapping which is as unaligned as possible. Is it going to test unaligned address between BO allocation and BO mapping and skip huge pag

Re: [PATCH libdrm] tests/amdgpu: add unaligned VM test

2018-09-10 Thread Christian König
Am 10.09.2018 um 04:44 schrieb Zhang, Jerry (Junwei): On 09/10/2018 02:04 AM, Christian König wrote: Make a VM mapping which is as unaligned as possible. Is it going to test unaligned address between BO allocation and BO mapping and skip huge page mapping? Yes and no. Huge page handling w

Re: [PATCH libdrm] tests/amdgpu: add unaligned VM test

2018-09-09 Thread Zhang, Jerry (Junwei)
On 09/10/2018 02:04 AM, Christian König wrote: Make a VM mapping which is as unaligned as possible. Is it going to test unaligned address between BO allocation and BO mapping and skip huge page mapping? Signed-off-by: Christian König --- tests/amdgpu/vm_tests.c | 45 ++

[PATCH libdrm] tests/amdgpu: add unaligned VM test

2018-09-09 Thread Christian König
Make a VM mapping which is as unaligned as possible. Signed-off-by: Christian König --- tests/amdgpu/vm_tests.c | 45 - 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/tests/amdgpu/vm_tests.c b/tests/amdgpu/vm_tests.c index 7b6dc5d6..fada