✗ Fi.CI.BUILD: failure for ttm for stolen (rev6)

Patchwork patchwork at emeril.freedesktop.org
Thu Apr 7 04:43:15 UTC 2022


== Series Details ==

Series: ttm for stolen (rev6)
URL   : https://patchwork.freedesktop.org/series/101302/
State : failure

== Summary ==

CALL    scripts/checksyscalls.sh
  CALL    scripts/atomic/check-atomics.sh
  DESCEND objtool
  CHK     include/generated/compile.h
  CC [M]  drivers/gpu/drm/i915/gem/i915_gem_stolen.o
drivers/gpu/drm/i915/gem/i915_gem_stolen.c: In function ‘i915_gem_object_is_stolen’:
drivers/gpu/drm/i915/gem/i915_gem_stolen.c:721:33: error: passing argument 1 of ‘i915_gem_object_migratable’ discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
  if (i915_gem_object_migratable(obj) &&
                                 ^~~
In file included from ./drivers/gpu/drm/i915/i915_vma.h:34,
                 from ./drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h:13,
                 from ./drivers/gpu/drm/i915/gt/uc/intel_guc.h:19,
                 from ./drivers/gpu/drm/i915/gt/uc/intel_uc.h:9,
                 from ./drivers/gpu/drm/i915/gt/intel_gt_types.h:18,
                 from ./drivers/gpu/drm/i915/gt/intel_gt.h:10,
                 from drivers/gpu/drm/i915/gem/i915_gem_stolen.c:16:
./drivers/gpu/drm/i915/gem/i915_gem_object.h:609:61: note: expected ‘struct drm_i915_gem_object *’ but argument is of type ‘const struct drm_i915_gem_object *’
 bool i915_gem_object_migratable(struct drm_i915_gem_object *obj);
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
drivers/gpu/drm/i915/gem/i915_gem_stolen.c:722:32: error: passing argument 1 of ‘i915_gem_object_evictable’ discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
      i915_gem_object_evictable(obj))
                                ^~~
In file included from ./drivers/gpu/drm/i915/i915_vma.h:34,
                 from ./drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h:13,
                 from ./drivers/gpu/drm/i915/gt/uc/intel_guc.h:19,
                 from ./drivers/gpu/drm/i915/gt/uc/intel_uc.h:9,
                 from ./drivers/gpu/drm/i915/gt/intel_gt_types.h:18,
                 from ./drivers/gpu/drm/i915/gt/intel_gt.h:10,
                 from drivers/gpu/drm/i915/gem/i915_gem_stolen.c:16:
./drivers/gpu/drm/i915/gem/i915_gem_object.h:607:60: note: expected ‘struct drm_i915_gem_object *’ but argument is of type ‘const struct drm_i915_gem_object *’
 bool i915_gem_object_evictable(struct drm_i915_gem_object *obj);
                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
cc1: all warnings being treated as errors
scripts/Makefile.build:288: recipe for target 'drivers/gpu/drm/i915/gem/i915_gem_stolen.o' failed
make[4]: *** [drivers/gpu/drm/i915/gem/i915_gem_stolen.o] Error 1
scripts/Makefile.build:550: recipe for target 'drivers/gpu/drm/i915' failed
make[3]: *** [drivers/gpu/drm/i915] Error 2
scripts/Makefile.build:550: recipe for target 'drivers/gpu/drm' failed
make[2]: *** [drivers/gpu/drm] Error 2
scripts/Makefile.build:550: recipe for target 'drivers/gpu' failed
make[1]: *** [drivers/gpu] Error 2
Makefile:1834: recipe for target 'drivers' failed
make: *** [drivers] Error 2




More information about the Intel-gfx-trybot mailing list