Re: [igt-dev] [PATCH i-g-t 1/2] lib/gpgpu_fill/tgl: Implement gpgpu_fillfunc for TGL

Ashutosh Dixit
2019-09-17T02:18:28Z

On Fri, 13 Sep 2019 05:49:02 -0700, Katarzyna Dec wrote:
>
> Adding gen12p1_gpgpu_fillfunc to have gpgpu_fill running on TGL.
> Gpgpu shader was generated using IGA (Intel Graphics Assembler)
> based on Gen11 binary adding necessary SWSB dependencies and
> changes in SEND instruction.
>
> Shader source code and array containing its assembled version
> have same names now to avoid ambiguity.

[snip]

> --- a/lib/i915/shaders/README
> +++ b/lib/i915/shaders/README
> @@ -23,3 +23,5 @@ Commands used to generate the shader on gen8
> $> m4 media_fill.gxa > media_fill.gxm
> $> intel-gen4asm -g 8 -o media_fill.gxm
>
> +Gen11+ shader is generated using IGA (Intel Graphics Assembler).

Note that above in the README it seems to say Gen8+ shader is generated
using IGA, though not sure if it should be Gen9+? Perhaps we should
reconcile this new statement with the older statement?

> +Binary can no longer be generated using intel-gen4asm.