Quoting Michal Wajdeczko (2018-10-17 20:52:45) > In response for I915_PARAM_HAS_HUC we are returning value that > indicates if HuC firmware was loaded and verified. However, our > previously used positive value was based on specific register bit > which is about to change on future platform. Let's normalize our > return values to 0 and 1 before clients will start to use Gen9 value. > > v2: use bool for implicit conversion (Chris) > > Signed-off-by: Michal Wajdeczko <michal.wajdeczko@xxxxxxxxx> > Cc: Michal Winiarski <michal.winiarski@xxxxxxxxx> > Cc: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx> > Cc: Haihao Xiang <haihao.xiang@xxxxxxxxx> > Reviewed-by: Michał Winiarski <michal.winiarski@xxxxxxxxx> #1 > Cc: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> And pushed, thanks for the patch and checking userspace to make sure it hadn't sneakily started using the actual value. -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx