[igt-dev] [PATCH i-g-t 4/4] gem_exec_lut_handle: Initialize c

Chris Wilson chris at chris-wilson.co.uk
Wed Mar 13 12:12:40 UTC 2019


Quoting Petri Latvala (2019-03-13 12:06:41)
> The code that uses c deceivingly looks like it works with any initial
> value of c, it doesn't work the same for negative values. In addition
> initializing it to 0 makes the results deterministic.

Meaning that there was non-determinism given all handles starting in
identical state. That would be a nasty bug, so care to write a test
proving that statement?
-Chris


More information about the igt-dev mailing list