[Intel-gfx] [PATCH 2/2] drm/i915/params: support bool values for int and uint params

Chris Wilson chris at chris-wilson.co.uk
Wed Jan 15 10:05:40 UTC 2020


Quoting Jani Nikula (2019-12-05 15:43:41)
> It's not uncommon for us to switch param types between bools and ints,
> often having otherwise bool semantics but -1 value for platform
> default. Allow bool values (such as YyNn) for ints.
> 
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>

But play nice with checkpatch, no point fighting with it over a line of
whitespace.
-Chris


More information about the Intel-gfx mailing list