1 ASM sources for auto generated shaders
2 ======================================
4 The i915/gt/hsw_clear_kernel.c and i915/gt/ivb_clear_kernel.c files contain
5 pre-compiled batch chunks that will clear any residual render cache during
8 They are generated from their respective platform ASM files present on
9 i915/gt/shaders/clear_kernel directory.
11 The generated .c files should never be modified directly. Instead, any modification
12 needs to be done on the on their respective ASM files and build instructions below
13 needes to be followed.
21 IGT GPU tool scripts and the Mesa's i965 instruction assembler tool are used
24 Please make sure your Mesa tool is compiled with "-Dtools=intel" and
25 "-Ddri-drivers=i965", and run this script from IGT source root directory"
27 The instructions bellow assume:
28 * IGT gpu tools source code is located on your home directory (~) as ~/igt
29 * Mesa source code is located on your home directory (~) as ~/mesa
30 and built under the ~/mesa/build directory
31 * Linux kernel source code is under your home directory (~) as ~/linux
36 ~ $ cp ~/linux/drivers/gpu/drm/i915/gt/shaders/clear_kernel/ivb.asm \
37 ~/igt/lib/i915/shaders/clear_kernel/ivb.asm
39 igt $ ./scripts/generate_clear_kernel.sh -g ivb \
40 -m ~/mesa/build/src/intel/tools/i965_asm
42 ~ $ cp ~/linux/drivers/gpu/drm/i915/gt/shaders/clear_kernel/hsw.asm \
43 ~/igt/lib/i915/shaders/clear_kernel/hsw.asm
45 igt $ ./scripts/generate_clear_kernel.sh -g hsw \
46 -m ~/mesa/build/src/intel/tools/i965_asm