mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-20 04:42:53 +00:00
quick_dump: Connect libpciaccess and other utils
Make a register access library with sample to do register reads Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
@@ -1,14 +1,18 @@
|
||||
BUILT_SOURCES = chipset_wrap_python.c
|
||||
|
||||
bin_SCRIPTS = quick_dump.py chipset.py
|
||||
bin_SCRIPTS = quick_dump.py chipset.py reg_access.py
|
||||
|
||||
lib_LTLIBRARIES = I915ChipsetPython.la
|
||||
I915ChipsetPython_la_CFLAGS = -I$(top_srcdir)/lib $(PYTHON_CPPFLAGS)
|
||||
I915ChipsetPython_la_LDFLAGS = -module -avoid-version $(PYTHON_LDFLAGS)
|
||||
I915ChipsetPython_la_SOURCES = chipset_wrap_python.c intel_chipset.c
|
||||
I915ChipsetPython_la_CFLAGS = -I$(top_srcdir)/lib $(PYTHON_CPPFLAGS) $(CFLAGS) -I/usr/include/libdrm/
|
||||
I915ChipsetPython_la_LDFLAGS = -module -avoid-version $(PYTHON_LDFLAGS) -lpciaccess
|
||||
I915ChipsetPython_la_SOURCES = chipset_wrap_python.c intel_chipset.c \
|
||||
$(top_srcdir)/lib/intel_drm.c \
|
||||
$(top_srcdir)/lib/intel_pci.c \
|
||||
$(top_srcdir)/lib/intel_reg_map.c \
|
||||
$(top_srcdir)/lib/intel_mmio.c
|
||||
|
||||
chipset_wrap_python.c: chipset.i
|
||||
$(SWIG) $(AX_SWIG_PYTHON_OPT) -I$(top_srcdir)/lib -o $@ $<
|
||||
$(SWIG) $(AX_SWIG_PYTHON_OPT) -I/usr/include -I$(top_srcdir)/lib -o $@ $<
|
||||
|
||||
all-local: I915ChipsetPython.la
|
||||
$(LN_S) -f .libs/I915ChipsetPython.so _chipset.so
|
||||
@@ -20,4 +24,5 @@ EXTRA_DIST = \
|
||||
gen7_other.txt ivybridge \
|
||||
vlv_display.txt valleyview \
|
||||
quick_dump.py \
|
||||
reg_access.py \
|
||||
chipset.i chipset.py
|
||||
|
||||
Reference in New Issue
Block a user