Hi Daniele, On Tue, Feb 11, 2020 at 04:31:19PM -0800, Daniele Ceraolo Spurio wrote: > We want to map uC-level checks to GuC/HuC-level ones. The mapping from > the uC state to the GuC/HuC one follows the same pattern for all the > functions: > > uc_xxx_guc() -> guc_is_yyy() > > So we can easily use a macro to autogenerate the functions via macros by > passing in the 2 mapped states. > > v2: Split this change to its own patch (Michal) > > Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@xxxxxxxxx> > Cc: Michal Wajdeczko <michal.wajdeczko@xxxxxxxxx> interesting, however it can be hard to follow. I haven't spotted anything wrong (also in the patches that follow), and I hope you tested it properly :) Reviewed-by: Andi Shyti <andi.shyti@xxxxxxxxx> Andi _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx