[Intel-xe] ✗ CI.KUnit: failure for drm/xe: switch to using drm_exec (rev3)

Patchwork patchwork at emeril.freedesktop.org
Wed Apr 19 17:59:37 UTC 2023


== Series Details ==

Series: drm/xe: switch to using drm_exec (rev3)
URL   : https://patchwork.freedesktop.org/series/116477/
State : failure

== Summary ==

+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
ERROR:root:../drivers/gpu/drm/i915/display/intel_display.c: In function ‘i915_gem_object_read_from_page’:
../drivers/gpu/drm/i915/display/intel_display.c:7347:23: error: passing argument 2 of ‘xe_bo_lock’ from incompatible pointer type [-Werror=incompatible-pointer-types]
 7347 |  ret = xe_bo_lock(bo, &ww, 0, true);
      |                       ^~~
      |                       |
      |                       struct ww_acquire_ctx *
In file included from ../drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h:14,
                 from ../drivers/gpu/drm/i915/display/intel_display.c:56:
../drivers/gpu/drm/xe/xe_bo.h:145:51: note: expected ‘struct drm_exec *’ but argument is of type ‘struct ww_acquire_ctx *’
  145 | int xe_bo_lock(struct xe_bo *bo, struct drm_exec *exec,
      |                                  ~~~~~~~~~~~~~~~~~^~~~
../drivers/gpu/drm/i915/display/intel_display.c:7364:19: error: passing argument 2 of ‘xe_bo_unlock’ from incompatible pointer type [-Werror=incompatible-pointer-types]
 7364 |  xe_bo_unlock(bo, &ww);
      |                   ^~~
      |                   |
      |                   struct ww_acquire_ctx *
In file included from ../drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h:14,
                 from ../drivers/gpu/drm/i915/display/intel_display.c:56:
../drivers/gpu/drm/xe/xe_bo.h:147:54: note: expected ‘struct drm_exec *’ but argument is of type ‘struct ww_acquire_ctx *’
  147 | void xe_bo_unlock(struct xe_bo *bo, struct drm_exec *exec);
      |                                     ~~~~~~~~~~~~~~~~~^~~~
cc1: some warnings being treated as errors
make[6]: *** [../drivers/gpu/drm/xe/Makefile:124: drivers/gpu/drm/xe/display/intel_display.o] Error 1
make[5]: *** [../scripts/Makefile.build:494: drivers/gpu/drm/xe] Error 2
make[4]: *** [../scripts/Makefile.build:494: drivers/gpu/drm] Error 2
make[3]: *** [../scripts/Makefile.build:494: drivers/gpu] Error 2
make[2]: *** [../scripts/Makefile.build:494: drivers] Error 2
make[1]: *** [/kernel/Makefile:2025: .] Error 2
make: *** [Makefile:226: __sub-make] Error 2

[17:59:10] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[17:59:14] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make ARCH=um O=.kunit --jobs=48
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel




More information about the Intel-xe mailing list