== Series Details == Series: drm/i915: Add plane alpha blending support, v2. URL : https://patchwork.freedesktop.org/series/48243/ State : failure == Summary == CALL scripts/checksyscalls.sh DESCEND objtool CHK include/generated/compile.h CC [M] drivers/gpu/drm/i915/intel_display.o drivers/gpu/drm/i915/intel_display.c: In function ‘skl_plane_ctl_alpha’: drivers/gpu/drm/i915/intel_display.c:3528:27: error: ‘const struct drm_plane_state’ has no member named ‘pixel_blend_mode’ switch (plane_state->base.pixel_blend_mode) { ^ drivers/gpu/drm/i915/intel_display.c:3529:7: error: ‘DRM_MODE_BLEND_PIXEL_NONE’ undeclared (first use in this function); did you mean ‘DRM_MODE_ENCODER_NONE’? case DRM_MODE_BLEND_PIXEL_NONE: ^~~~~~~~~~~~~~~~~~~~~~~~~ DRM_MODE_ENCODER_NONE drivers/gpu/drm/i915/intel_display.c:3529:7: note: each undeclared identifier is reported only once for each function it appears in drivers/gpu/drm/i915/intel_display.c:3531:7: error: ‘DRM_MODE_BLEND_PREMULTI’ undeclared (first use in this function); did you mean ‘DRM_MODE_BLEND_PIXEL_NONE’? case DRM_MODE_BLEND_PREMULTI: ^~~~~~~~~~~~~~~~~~~~~~~ DRM_MODE_BLEND_PIXEL_NONE drivers/gpu/drm/i915/intel_display.c:3533:7: error: ‘DRM_MODE_BLEND_COVERAGE’ undeclared (first use in this function); did you mean ‘DRM_MODE_BLEND_PREMULTI’? case DRM_MODE_BLEND_COVERAGE: ^~~~~~~~~~~~~~~~~~~~~~~ DRM_MODE_BLEND_PREMULTI In file included from ./arch/x86/include/asm/bug.h:83:0, from ./include/linux/bug.h:5, from ./include/linux/debug_locks.h:7, from ./include/linux/lockdep.h:28, from ./include/linux/spinlock_types.h:18, from ./include/linux/mutex.h:16, from ./include/linux/kernfs.h:13, from ./include/linux/sysfs.h:16, from ./include/linux/kobject.h:20, from ./include/linux/dmi.h:6, from drivers/gpu/drm/i915/intel_display.c:27: drivers/gpu/drm/i915/intel_display.c:3536:33: error: ‘const struct drm_plane_state’ has no member named ‘pixel_blend_mode’ MISSING_CASE(plane_state->base.pixel_blend_mode); ^ ./include/asm-generic/bug.h:98:50: note: in definition of macro ‘__WARN_printf’ #define __WARN_printf(arg...) do { __warn_printk(arg); __WARN(); } while (0) ^~~ drivers/gpu/drm/i915/i915_utils.h:43:25: note: in expansion of macro ‘WARN’ #define MISSING_CASE(x) WARN(1, "Missing case (%s == %ld)\n", \ ^~~~ drivers/gpu/drm/i915/intel_display.c:3536:3: note: in expansion of macro ‘MISSING_CASE’ MISSING_CASE(plane_state->base.pixel_blend_mode); ^~~~~~~~~~~~ drivers/gpu/drm/i915/intel_display.c: In function ‘glk_plane_color_ctl_alpha’: drivers/gpu/drm/i915/intel_display.c:3546:27: error: ‘const struct drm_plane_state’ has no member named ‘pixel_blend_mode’ switch (plane_state->base.pixel_blend_mode) { ^ drivers/gpu/drm/i915/intel_display.c:3547:7: error: ‘DRM_MODE_BLEND_PIXEL_NONE’ undeclared (first use in this function); did you mean ‘DRM_MODE_ENCODER_NONE’? case DRM_MODE_BLEND_PIXEL_NONE: ^~~~~~~~~~~~~~~~~~~~~~~~~ DRM_MODE_ENCODER_NONE drivers/gpu/drm/i915/intel_display.c:3549:7: error: ‘DRM_MODE_BLEND_PREMULTI’ undeclared (first use in this function); did you mean ‘DRM_MODE_BLEND_PIXEL_NONE’? case DRM_MODE_BLEND_PREMULTI: ^~~~~~~~~~~~~~~~~~~~~~~ DRM_MODE_BLEND_PIXEL_NONE drivers/gpu/drm/i915/intel_display.c:3551:7: error: ‘DRM_MODE_BLEND_COVERAGE’ undeclared (first use in this function); did you mean ‘DRM_MODE_BLEND_PREMULTI’? case DRM_MODE_BLEND_COVERAGE: ^~~~~~~~~~~~~~~~~~~~~~~ DRM_MODE_BLEND_PREMULTI In file included from ./arch/x86/include/asm/bug.h:83:0, from ./include/linux/bug.h:5, from ./include/linux/debug_locks.h:7, from ./include/linux/lockdep.h:28, from ./include/linux/spinlock_types.h:18, from ./include/linux/mutex.h:16, from ./include/linux/kernfs.h:13, from ./include/linux/sysfs.h:16, from ./include/linux/kobject.h:20, from ./include/linux/dmi.h:6, from drivers/gpu/drm/i915/intel_display.c:27: drivers/gpu/drm/i915/intel_display.c:3554:33: error: ‘const struct drm_plane_state’ has no member named ‘pixel_blend_mode’ MISSING_CASE(plane_state->base.pixel_blend_mode); ^ ./include/asm-generic/bug.h:98:50: note: in definition of macro ‘__WARN_printf’ #define __WARN_printf(arg...) do { __warn_printk(arg); __WARN(); } while (0) ^~~ drivers/gpu/drm/i915/i915_utils.h:43:25: note: in expansion of macro ‘WARN’ #define MISSING_CASE(x) WARN(1, "Missing case (%s == %ld)\n", \ ^~~~ drivers/gpu/drm/i915/intel_display.c:3554:3: note: in expansion of macro ‘MISSING_CASE’ MISSING_CASE(plane_state->base.pixel_blend_mode); ^~~~~~~~~~~~ drivers/gpu/drm/i915/intel_display.c: In function ‘intel_primary_plane_create’: drivers/gpu/drm/i915/intel_display.c:13822:3: error: implicit declaration of function ‘drm_plane_create_blend_mode_property’; did you mean ‘drm_plane_create_zpos_property’? [-Werror=implicit-function-declaration] drm_plane_create_blend_mode_property(&primary->base, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drm_plane_create_zpos_property In file included from ./include/linux/kernel.h:11:0, from ./include/linux/list.h:9, from ./include/linux/dmi.h:5, from drivers/gpu/drm/i915/intel_display.c:27: drivers/gpu/drm/i915/intel_display.c:13823:16: error: ‘DRM_MODE_BLEND_PIXEL_NONE’ undeclared (first use in this function); did you mean ‘DRM_MODE_ENCODER_NONE’? BIT(DRM_MODE_BLEND_PIXEL_NONE) | ^ ./include/linux/bitops.h:7:28: note: in definition of macro ‘BIT’ #define BIT(nr) (1UL << (nr)) ^~ drivers/gpu/drm/i915/intel_display.c:13824:16: error: ‘DRM_MODE_BLEND_PREMULTI’ undeclared (first use in this function); did you mean ‘DRM_MODE_BLEND_PIXEL_NONE’? BIT(DRM_MODE_BLEND_PREMULTI) | ^ ./include/linux/bitops.h:7:28: note: in definition of macro ‘BIT’ #define BIT(nr) (1UL << (nr)) ^~ drivers/gpu/drm/i915/intel_display.c:13825:16: error: ‘DRM_MODE_BLEND_COVERAGE’ undeclared (first use in this function); did you mean ‘DRM_MODE_BLEND_PREMULTI’? BIT(DRM_MODE_BLEND_COVERAGE)); ^ ./include/linux/bitops.h:7:28: note: in definition of macro ‘BIT’ #define BIT(nr) (1UL << (nr)) ^~ drivers/gpu/drm/i915/intel_display.c: In function ‘skl_plane_ctl_alpha’: drivers/gpu/drm/i915/intel_display.c:3539:1: error: control reaches end of non-void function [-Werror=return-type] } ^ drivers/gpu/drm/i915/intel_display.c: In function ‘glk_plane_color_ctl_alpha’: drivers/gpu/drm/i915/intel_display.c:3557:1: error: control reaches end of non-void function [-Werror=return-type] } ^ cc1: all warnings being treated as errors scripts/Makefile.build:317: recipe for target 'drivers/gpu/drm/i915/intel_display.o' failed make[4]: *** [drivers/gpu/drm/i915/intel_display.o] Error 1 scripts/Makefile.build:558: recipe for target 'drivers/gpu/drm/i915' failed make[3]: *** [drivers/gpu/drm/i915] Error 2 scripts/Makefile.build:558: recipe for target 'drivers/gpu/drm' failed make[2]: *** [drivers/gpu/drm] Error 2 scripts/Makefile.build:558: recipe for target 'drivers/gpu' failed make[1]: *** [drivers/gpu] Error 2 Makefile:1029: recipe for target 'drivers' failed make: *** [drivers] Error 2 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx