File tree 4 files changed +39229
-39201
lines changed
4 files changed +39229
-39201
lines changed Original file line number Diff line number Diff line change @@ -297,14 +297,21 @@ generate_am() {
297
297
extra/amdpci/headers/amdgpu_vm.h \
298
298
extra/amdpci/headers/discovery.h \
299
299
extra/amdpci/headers/amdgpu_ucode.h \
300
- extra/amdpci/headers/soc21_enum.h \
301
300
extra/amdpci/headers/psp_gfx_if.h \
302
301
extra/amdpci/headers/amdgpu_psp.h \
303
302
extra/amdpci/headers/amdgpu_irq.h \
304
303
extra/amdpci/headers/amdgpu_doorbell.h \
305
304
extra/amdpci/headers/soc15_ih_clientid.h \
305
+ --clang-args=" -include stdint.h" \
306
306
-o $BASE /am/am.py
307
307
fixup $BASE /am/am.py
308
+ sed -i " s\(int64_t)\ \g" $BASE /am/am.py
309
+ sed -i " s\AMDGPU_PTE_MTYPE_VG10(2)\AMDGPU_PTE_MTYPE_VG10(0, 2)\g" $BASE /am/am.py # incorrect parsing (TODO: remove when clang2py is gone).
310
+
311
+ clang2py -k cdefstum \
312
+ extra/amdpci/headers/soc21_enum.h \
313
+ -o $BASE /am/soc21.py
314
+ fixup $BASE /am/soc21.py
308
315
309
316
clang2py -k cdefstum \
310
317
extra/amdpci/headers/mp_13_0_0_offset.h \
You can’t perform that action at this time.
0 commit comments