[Intel-xe] ✗ CI.KUnit: failure for drm/xe: Sysfs entries to query fused min, max frequency of
Patchwork
patchwork at emeril.freedesktop.org
Tue May 30 05:08:38 UTC 2023
== Series Details ==
Series: drm/xe: Sysfs entries to query fused min, max frequency of
URL : https://patchwork.freedesktop.org/series/118538/
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/xe/xe_guc_pc.c: In function ‘freq_mem_rp0_show’:
../drivers/gpu/drm/xe/xe_guc_pc.c:638:27: error: ‘XEHPSDV_PCODE_FREQUENCY_CONFIG’ undeclared (first use in this function)
638 | err = xe_pcode_read(dev, XEHPSDV_PCODE_FREQUENCY_CONFIG,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_guc_pc.c:638:27: note: each undeclared identifier is reported only once for each function it appears in
../drivers/gpu/drm/xe/xe_guc_pc.c:639:8: error: ‘PCODE_MBOX_FC_SC_READ_FUSED_P0’ undeclared (first use in this function)
639 | PCODE_MBOX_FC_SC_READ_FUSED_P0,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_guc_pc.c:640:8: error: ‘PCODE_MBOX_DOMAIN_HBM’ undeclared (first use in this function)
640 | PCODE_MBOX_DOMAIN_HBM, &val);
| ^~~~~~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_guc_pc.c:638:22: error: passing argument 1 of ‘xe_pcode_read’ from incompatible pointer type [-Werror=incompatible-pointer-types]
638 | err = xe_pcode_read(dev, XEHPSDV_PCODE_FREQUENCY_CONFIG,
| ^~~
| |
| struct device *
In file included from ../drivers/gpu/drm/xe/xe_guc_pc.c:22:
../drivers/gpu/drm/xe/xe_pcode.h:16:33: note: expected ‘struct xe_gt *’ but argument is of type ‘struct device *’
16 | int xe_pcode_read(struct xe_gt *gt, u32 mbox, u32 *val, u32 *val1);
| ~~~~~~~~~~~~~~^~
../drivers/gpu/drm/xe/xe_guc_pc.c:638:8: error: too many arguments to function ‘xe_pcode_read’
638 | err = xe_pcode_read(dev, XEHPSDV_PCODE_FREQUENCY_CONFIG,
| ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_guc_pc.c:22:
../drivers/gpu/drm/xe/xe_pcode.h:16:5: note: declared here
16 | int xe_pcode_read(struct xe_gt *gt, u32 mbox, u32 *val, u32 *val1);
| ^~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_guc_pc.c: In function ‘freq_mem_rpn_show’:
../drivers/gpu/drm/xe/xe_guc_pc.c:657:27: error: ‘XEHPSDV_PCODE_FREQUENCY_CONFIG’ undeclared (first use in this function)
657 | err = xe_pcode_read(dev, XEHPSDV_PCODE_FREQUENCY_CONFIG,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_guc_pc.c:658:8: error: ‘PCODE_MBOX_FC_SC_READ_FUSED_PN’ undeclared (first use in this function)
658 | PCODE_MBOX_FC_SC_READ_FUSED_PN,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_guc_pc.c:659:8: error: ‘PCODE_MBOX_DOMAIN_HBM’ undeclared (first use in this function)
659 | PCODE_MBOX_DOMAIN_HBM, &val);
| ^~~~~~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_guc_pc.c:657:22: error: passing argument 1 of ‘xe_pcode_read’ from incompatible pointer type [-Werror=incompatible-pointer-types]
657 | err = xe_pcode_read(dev, XEHPSDV_PCODE_FREQUENCY_CONFIG,
| ^~~
| |
| struct device *
In file included from ../drivers/gpu/drm/xe/xe_guc_pc.c:22:
../drivers/gpu/drm/xe/xe_pcode.h:16:33: note: expected ‘struct xe_gt *’ but argument is of type ‘struct device *’
16 | int xe_pcode_read(struct xe_gt *gt, u32 mbox, u32 *val, u32 *val1);
| ~~~~~~~~~~~~~~^~
../drivers/gpu/drm/xe/xe_guc_pc.c:657:8: error: too many arguments to function ‘xe_pcode_read’
657 | err = xe_pcode_read(dev, XEHPSDV_PCODE_FREQUENCY_CONFIG,
| ^~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_guc_pc.c:22:
../drivers/gpu/drm/xe/xe_pcode.h:16:5: note: declared here
16 | int xe_pcode_read(struct xe_gt *gt, u32 mbox, u32 *val, u32 *val1);
| ^~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[6]: *** [../scripts/Makefile.build:252: drivers/gpu/drm/xe/xe_guc_pc.o] Error 1
make[6]: *** Waiting for unfinished jobs....
make[5]: *** [../scripts/Makefile.build:494: drivers/gpu/drm/xe] Error 2
make[5]: *** Waiting for unfinished jobs....
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[2]: *** Waiting for unfinished jobs....
make[1]: *** [/kernel/Makefile:2025: .] Error 2
make: *** [Makefile:226: __sub-make] Error 2
[05:08:15] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[05:08:19] 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