[Intel-gfx] ✗ Fi.CI.BUILD: failure for Sanitycheck PCI BARs

Patchwork patchwork at emeril.freedesktop.org
Mon Jul 25 19:45:33 UTC 2022


== Series Details ==

Series: Sanitycheck PCI BARs
URL   : https://patchwork.freedesktop.org/series/106686/
State : failure

== Summary ==

Error: make failed
  CALL    scripts/checksyscalls.sh
  CALL    scripts/atomic/check-atomics.sh
  DESCEND objtool
  CHK     include/generated/compile.h
  LD [M]  drivers/gpu/drm/i915/i915.o
  CC [M]  drivers/gpu/drm/i915/gvt/cfg_space.o
In file included from ./drivers/gpu/drm/i915/display/intel_opregion.h:29,
                 from ./drivers/gpu/drm/i915/i915_drv.h:50,
                 from drivers/gpu/drm/i915/gvt/cfg_space.c:34:
drivers/gpu/drm/i915/gvt/cfg_space.c: In function ‘intel_vgpu_init_cfg_space’:
drivers/gpu/drm/i915/gvt/cfg_space.c:356:26: error: ‘GTTMMADR_BAR’ undeclared (first use in this function)
   pci_resource_len(pdev, GTTMMADR_BAR);
                          ^~~~~~~~~~~~
./include/linux/pci.h:1951:54: note: in definition of macro ‘pci_resource_end’
 #define pci_resource_end(dev, bar) ((dev)->resource[(bar)].end)
                                                      ^~~
drivers/gpu/drm/i915/gvt/cfg_space.c:356:3: note: in expansion of macro ‘pci_resource_len’
   pci_resource_len(pdev, GTTMMADR_BAR);
   ^~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/gvt/cfg_space.c:356:26: note: each undeclared identifier is reported only once for each function it appears in
   pci_resource_len(pdev, GTTMMADR_BAR);
                          ^~~~~~~~~~~~
./include/linux/pci.h:1951:54: note: in definition of macro ‘pci_resource_end’
 #define pci_resource_end(dev, bar) ((dev)->resource[(bar)].end)
                                                      ^~~
drivers/gpu/drm/i915/gvt/cfg_space.c:356:3: note: in expansion of macro ‘pci_resource_len’
   pci_resource_len(pdev, GTTMMADR_BAR);
   ^~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/gvt/cfg_space.c:358:26: error: ‘GTT_APERTURE_BAR’ undeclared (first use in this function); did you mean ‘GVT_PORT_MAX’?
   pci_resource_len(pdev, GTT_APERTURE_BAR);
                          ^~~~~~~~~~~~~~~~
./include/linux/pci.h:1951:54: note: in definition of macro ‘pci_resource_end’
 #define pci_resource_end(dev, bar) ((dev)->resource[(bar)].end)
                                                      ^~~
drivers/gpu/drm/i915/gvt/cfg_space.c:358:3: note: in expansion of macro ‘pci_resource_len’
   pci_resource_len(pdev, GTT_APERTURE_BAR);
   ^~~~~~~~~~~~~~~~
scripts/Makefile.build:249: recipe for target 'drivers/gpu/drm/i915/gvt/cfg_space.o' failed
make[4]: *** [drivers/gpu/drm/i915/gvt/cfg_space.o] Error 1
scripts/Makefile.build:466: recipe for target 'drivers/gpu/drm/i915' failed
make[3]: *** [drivers/gpu/drm/i915] Error 2
scripts/Makefile.build:466: recipe for target 'drivers/gpu/drm' failed
make[2]: *** [drivers/gpu/drm] Error 2
scripts/Makefile.build:466: recipe for target 'drivers/gpu' failed
make[1]: *** [drivers/gpu] Error 2
Makefile:1843: recipe for target 'drivers' failed
make: *** [drivers] Error 2




More information about the Intel-gfx mailing list