[Intel-gfx] [PATCH i-g-t 19/19] i915/gem_exec_balancer: Exercise bonded pairs
Andi Shyti
andi.shyti at intel.com
Mon Mar 11 10:30:23 UTC 2019
Hi again,
I was thinking...
> +static void bonded(int i915, unsigned int flags)
> +#define CORK 0x1
> +{
> + struct class_instance *master_engines;
... shall we just make 'struct class_instance' generic in the
uapi? I do not expect every test that uses class and instance to
define its own structure.
Besides we can avoid a good load of 'offsetof' and make the whole
thing more readable.
Andi
More information about the Intel-gfx
mailing list