[Intel-gfx] ✗ Fi.CI.BUILD: failure for DRM cgroup controller with scheduling control and memory stats

Patchwork patchwork at emeril.freedesktop.org
Wed Jul 12 14:46:54 UTC 2023


== Series Details ==

Series: DRM cgroup controller with scheduling control and memory stats
URL   : https://patchwork.freedesktop.org/series/120604/
State : failure

== Summary ==

Error: make failed
  CALL    scripts/checksyscalls.sh
  DESCEND objtool
  INSTALL libsubcmd_headers
  CC [M]  drivers/gpu/drm/i915/i915_driver.o
drivers/gpu/drm/i915/i915_driver.c:1834:3: error: ‘const struct drm_driver’ has no member named ‘cg_ops’
 1834 |  .cg_ops = PTR_IF(IS_ENABLED(CONFIG_CGROUP_DRM), &i915_drm_cgroup_ops),
      |   ^~~~~~
In file included from ./arch/x86/include/asm/percpu.h:27,
                 from ./arch/x86/include/asm/preempt.h:6,
                 from ./include/linux/preempt.h:79,
                 from ./include/linux/spinlock.h:56,
                 from ./include/linux/mmzone.h:8,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/slab.h:16,
                 from ./include/linux/resource_ext.h:11,
                 from ./include/linux/acpi.h:13,
                 from drivers/gpu/drm/i915/i915_driver.c:30:
drivers/gpu/drm/i915/i915_driver.c:1834:51: error: ‘i915_drm_cgroup_ops’ undeclared here (not in a function); did you mean ‘drm_cgroup_ops’?
 1834 |  .cg_ops = PTR_IF(IS_ENABLED(CONFIG_CGROUP_DRM), &i915_drm_cgroup_ops),
      |                                                   ^~~~~~~~~~~~~~~~~~~
./include/linux/kernel.h:58:38: note: in definition of macro ‘PTR_IF’
   58 | #define PTR_IF(cond, ptr) ((cond) ? (ptr) : NULL)
      |                                      ^~~
make[6]: *** [scripts/Makefile.build:243: drivers/gpu/drm/i915/i915_driver.o] Error 1
make[5]: *** [scripts/Makefile.build:477: drivers/gpu/drm/i915] Error 2
make[4]: *** [scripts/Makefile.build:477: drivers/gpu/drm] Error 2
make[3]: *** [scripts/Makefile.build:477: drivers/gpu] Error 2
make[2]: *** [scripts/Makefile.build:477: drivers] Error 2
make[1]: *** [/home/kbuild2/kernel/Makefile:2020: .] Error 2
make: *** [Makefile:234: __sub-make] Error 2
Build failed, no error log produced




More information about the Intel-gfx mailing list