[Intel-gfx] ✗ Fi.CI.BUILD: failure for series starting with [1/3] drm/i915: Extract intel_mmio_bar()

Patchwork patchwork at emeril.freedesktop.org
Wed Oct 5 17:50:25 UTC 2022


== Series Details ==

Series: series starting with [1/3] drm/i915: Extract intel_mmio_bar()
URL   : https://patchwork.freedesktop.org/series/109421/
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/display/intel_display_core.h:26,
                 from ./drivers/gpu/drm/i915/i915_drv.h:40,
                 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:357:26: error: ‘GTTMMADR_BAR’ undeclared (first use in this function); did you mean ‘GEN2_MMADR_BAR’?
   pci_resource_len(pdev, GTTMMADR_BAR);
                          ^~~~~~~~~~~~
./include/linux/pci.h:1941: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:357:3: note: in expansion of macro ‘pci_resource_len’
   pci_resource_len(pdev, GTTMMADR_BAR);
   ^~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/gvt/cfg_space.c:357: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:1941: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:357:3: note: in expansion of macro ‘pci_resource_len’
   pci_resource_len(pdev, GTTMMADR_BAR);
   ^~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/gvt/cfg_space.c:359:26: error: ‘GMADR_BAR’ undeclared (first use in this function)
   pci_resource_len(pdev, GMADR_BAR);
                          ^~~~~~~~~
./include/linux/pci.h:1941: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:359:3: note: in expansion of macro ‘pci_resource_len’
   pci_resource_len(pdev, GMADR_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:465: recipe for target 'drivers/gpu/drm/i915' failed
make[3]: *** [drivers/gpu/drm/i915] Error 2
scripts/Makefile.build:465: recipe for target 'drivers/gpu/drm' failed
make[2]: *** [drivers/gpu/drm] Error 2
scripts/Makefile.build:465: recipe for target 'drivers/gpu' failed
make[1]: *** [drivers/gpu] Error 2
Makefile:1852: recipe for target 'drivers' failed
make: *** [drivers] Error 2




More information about the Intel-gfx mailing list