[igt-dev] [PATCH i-g-t 3/5] lib/intel_batchbuffer: Add new media fillfunc v2
Chris Wilson
chris at chris-wilson.co.uk
Thu May 21 08:02:44 UTC 2020
Quoting Zbigniew Kempczyński (2020-05-21 08:48:21)
> +igt_fillfunc_v2_t igt_get_media_fillfunc_v2(int devid)
> +{
> + igt_fillfunc_v2_t fill = NULL;
> +
> + if (IS_GEN12(devid))
> + fill = gen12_media_fillfunc_v2;
> + else if (IS_GEN9(devid) || IS_GEN10(devid) || IS_GEN11(devid))
> + fill = gen9_media_fillfunc_v2;
> + else if (IS_GEN8(devid))
> + fill = gen8_media_fillfunc_v2;
> + if (IS_GEN7(devid))
> + fill = gen7_media_fillfunc_v2;
A quick s/if (GEN7)/else if (GEN7)/
-Chris
More information about the igt-dev
mailing list