[PATCH i-g-t 1/4] lib/intel_compute_krn_sip: separate sip from the shaders
Kamil Konieczny
kamil.konieczny at linux.intel.com
Thu Aug 14 11:02:15 UTC 2025
Hi Zbigniew,
On 2025-08-13 at 14:33:05 +0200, Zbigniew Kempczyński wrote:
> SIP in hex form are quite big and keeping them with smaller shaders
> makes navigation harder. Lets separate them to keep shaders code
> clearer.
>
> Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
> Cc: Kamil Konieczny <kamil.konieczny at linux.intel.com>
Reviewed-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>
> ---
> lib/intel_compute_krn_sip.h | 5051 ++++++++++++++++++++++
> lib/intel_compute_square_kernels.c | 6236 +---------------------------
> 2 files changed, 5054 insertions(+), 6233 deletions(-)
> create mode 100644 lib/intel_compute_krn_sip.h
>
> diff --git a/lib/intel_compute_krn_sip.h b/lib/intel_compute_krn_sip.h
> new file mode 100644
> index 0000000000..35c2b4f1a9
> --- /dev/null
> +++ b/lib/intel_compute_krn_sip.h
> @@ -0,0 +1,5051 @@
> +/* SPDX-License-Identifier: MIT */
> +/*
> + * Copyright © 2025 Intel Corporation
> + */
> +
> +#ifndef __INTEL_COMPUTE_KRN_SIP_H__
> +#define __INTEL_COMPUTE_KRN_SIP_H__
> +
> +#if !defined INTEL_COMPUTE_KRN_COMPILE_GUARD
> +#error "Header designed to be included in compute kernels file"
> +#endif
> +
> +static const unsigned char xe2lpg_kernel_sip_bin[] = {
[cut]
More information about the igt-dev
mailing list