https://bugs.freedesktop.org/show_bug.cgi?id=70199
--- Comment #8 from Peter Wu <lekenst...@gmail.com> --- Created attachment 87554 --> https://bugs.freedesktop.org/attachment.cgi?id=87554&action=edit piglit test showing importance of parameter order The order of parameters for long seems to matter. Output for the attached piglit test (failing tests on top): > Running kernel test: Arg0 = a + b Using kernel add0 Setting kernel arguments... Running the kernel... Validating results... Expecting 3 (0x3) with tolerance 0, but got 12884901888 (0x300000000) Error at long[0] Argument 0: FAIL PIGLIT:subtest {'Arg0 = a + b' : 'fail'} > Running kernel test: Arg1 = a + b Using kernel add1 Setting kernel arguments... Running the kernel... Validating results... Expecting 3 (0x3) with tolerance 0, but got 8589934593 (0x200000001) Error at long[0] Argument 1: FAIL PIGLIT:subtest {'Arg1 = a + b' : 'fail'} > Running kernel test: set arg0 to arg1 Using kernel set0 Setting kernel arguments... Running the kernel... Validating results... Expecting 4 (0x4) with tolerance 0, but got 17179869184 (0x400000000) Error at long[0] Argument 0: FAIL PIGLIT:subtest {'set arg0 to arg1' : 'fail'} (Passing tests below:) > Running kernel test: set arg1 to arg0 Using kernel set1 Setting kernel arguments... Running the kernel... Validating results... Argument 1: PASS PIGLIT:subtest {'set arg1 to arg0' : 'pass'} > Running kernel test: Arg2 = a + b Using kernel add2 Setting kernel arguments... Running the kernel... Validating results... Argument 2: PASS PIGLIT:subtest {'Arg2 = a + b' : 'pass'} > Running kernel test: set arg0 to arg1 (indirected) Using kernel setp0 Setting kernel arguments... Running the kernel... Validating results... Argument 0: PASS PIGLIT:subtest {'set arg0 to arg1 (indirected)' : 'pass'} > Running kernel test: set arg1 to arg0 (indirected) Using kernel setp1 Setting kernel arguments... Running the kernel... Validating results... Argument 1: PASS PIGLIT:subtest {'set arg1 to arg0 (indirected)' : 'pass'} > Running kernel test: set arg0 to arg2 (with dummy pointer) Using kernel set0_2 Setting kernel arguments... Running the kernel... Validating results... Argument 0: PASS PIGLIT:subtest {'set arg0 to arg2 (with dummy pointer)' : 'pass'} > Running kernel test: set arg2 to arg0 (with dummy pointer) Using kernel set2_0 Setting kernel arguments... Running the kernel... Validating results... Argument 2: PASS PIGLIT:subtest {'set arg2 to arg0 (with dummy pointer)' : 'pass'} -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel