• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..08-Apr-2020-

Source/H08-Apr-2020-60,87939,558

component_release/H03-May-2022-

README.mdH A D08-Apr-20202.3 KiB132104

build.pyH A D08-Apr-20204.1 KiB12799

igvpkrn_g11_icllp.cH A D08-Apr-20202.1 MiB22,05222,023

igvpkrn_g11_icllp.hH A D08-Apr-20202.5 KiB355

media_srcs.cmakeH A D08-Apr-20201.5 KiB5343

README.md

1# Media Driver Open Source Kernel
2
3## Step1: Building IGA (Intel Graphics Assembler)
4
51. Download or clone IGC (Intel Graphics Compiler)
6
7   https://github.com/intel/intel-graphics-compiler.git
8
92. Chdir into 'intel-graphics-compiler' (or any other workspace folder of choice)
10
11   It should read the following folder strucutre:
12
13   workspace
14      |- visa
15      |- IGC
16      |- inc
17      |- 3d
18      |- skuwa
19
203. Chdir into IGA sub-component
21```
22   cd visa/iga
23```
244. Create build directory
25```
26    mkdir build
27```
285. Change into build directory
29```
30    cd build
31```
326. Run cmake
33```
34   cmake ../
35```
367. Run make to build IGA project
37```
38   make
39```
408. Get the output executable "iga64" in IGAExe folder
41
42
43## Step2: Building the other post processing tools
44
451. Download or clone Tool
46
47   https://github.com/intel/media-driver
48
492. Chdir into "Tools/MediaDriverTools/GenKrnBin"
50
513. Create build directory
52```
53   mkdir build
54```
555. Change into build directory
56```
57   cd build
58```
596. Run cmake
60```
61   cmake ../
62```
637. Run make to build GenKrnBin project
64```
65   make
66```
678. Get the output executable "GenKrnBin" in build folder
68
699. Chdir into "Tools/MediaDriverTools/KernelBinToSource"
70
7110. Create build directory
72```
73    mkdir build
74```
7511. Change into build directory
76
77    cd build
78
7912. Run cmake
80```
81    cmake ../
82```
8313. Run make to build KernelBinToSource project
84```
85    make
86```
8714. Get the output executable "KernelBinToSource" in build folder
88
8915. Chdir into "Tools/MediaDriverTools/KrnToHex_IGA"
90
9116. Create build directory
92```
93    mkdir build
94```
9517. Change into build directory
96```
97    cd build
98```
9918. Run cmake
100```
101    cmake ../
102```
10319. Run make to build KrnToHex_IGA project
104```
105    make
106```
10720. Get the output executable "KrnToHex_IGA" in build folder
108
109
110## Step3: Building the kernel asm code to igvpkrn_g11_icllp.c and igvpkrn_g11_icllp.h
111
1121. Download or clone Driver source code
113
114   https://github.com/intel/media-driver
115
1162. Chdir into "./agnostic/gen11_icllp/vp/kernel"
117
1183. Create compile directory
119```
120   mkdir compile
121```
1224. Copy tool biniary (GenKrnBin, KernelBinToSource and KrnToHex_IGA) from step2 to compile folder
123
1243. Create IGA directory
125```
126   mkdir IGA
127```
1285. Copy tool biniary (iga64) from step1 to IGA folder
129
1306. Chdir into "./agnostic/gen11_icllp/vp/kernel"
131
1327. run build.py script to generate igvpkrn_g11_icllp.c and igvpkrn_g11_icllp.h