[igt-dev] [PATCH i-g-t] igt: Replace 'all-engines' magic numbers with macro
Chris Wilson
chris at chris-wilson.co.uk
Tue Mar 20 10:28:51 UTC 2018
Quoting Antonio Argenziano (2018-03-19 22:30:38)
> In interfaces where a parameter allow to select an engine, we usually
> use '-1' or '~0u' to select all engines. This patch replaces magic
> numbers with a named constant.
>
> Suggested-by: Chris Wilson <chris at chris-wilson.co.uk>
> Signed-off-by: Antonio Argenziano <antonio.argenziano at intel.com>
>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
Quick before I add more -1.
-Chris
More information about the igt-dev
mailing list