✗ Fi.CI.BUILD: failure for series starting with [1/7] drm/i915: Prepare to split crtc state in uapi and hw state

Patchwork patchwork at emeril.freedesktop.org
Fri Sep 27 15:19:11 UTC 2019


== Series Details ==

Series: series starting with [1/7] drm/i915: Prepare to split crtc state in uapi and hw state
URL   : https://patchwork.freedesktop.org/series/67345/
State : failure

== Summary ==

CALL    scripts/checksyscalls.sh
  CALL    scripts/atomic/check-atomics.sh
  DESCEND  objtool
  CHK     include/generated/compile.h
  AR      drivers/gpu/drm/i915/built-in.a
  CC [M]  drivers/gpu/drm/i915/intel_pm.o
drivers/gpu/drm/i915/intel_pm.c: In function ‘ilk_compute_pipe_wm’:
drivers/gpu/drm/i915/intel_pm.c:3100:77: error: macro "intel_atomic_crtc_state_for_each_plane_state" requires 4 arguments, but only 3 given
  intel_atomic_crtc_state_for_each_plane_state(plane, plane_state, crtc_state) {
                                                                             ^
drivers/gpu/drm/i915/intel_pm.c:3100:2: error: ‘intel_atomic_crtc_state_for_each_plane_state’ undeclared (first use in this function); did you mean ‘intel_atomic_get_new_plane_state’?
  intel_atomic_crtc_state_for_each_plane_state(plane, plane_state, crtc_state) {
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  intel_atomic_get_new_plane_state
drivers/gpu/drm/i915/intel_pm.c:3100:2: note: each undeclared identifier is reported only once for each function it appears in
drivers/gpu/drm/i915/intel_pm.c:3100:79: error: expected ‘;’ before ‘{’ token
  intel_atomic_crtc_state_for_each_plane_state(plane, plane_state, crtc_state) {
                                                                               ^
drivers/gpu/drm/i915/intel_pm.c:3091:34: error: unused variable ‘plane_state’ [-Werror=unused-variable]
  const struct intel_plane_state *plane_state;
                                  ^~~~~~~~~~~
drivers/gpu/drm/i915/intel_pm.c:3090:22: error: unused variable ‘plane’ [-Werror=unused-variable]
  struct intel_plane *plane;
                      ^~~~~
drivers/gpu/drm/i915/intel_pm.c: In function ‘skl_check_pipe_max_pixel_rate’:
drivers/gpu/drm/i915/intel_pm.c:4135:84: error: macro "intel_atomic_crtc_state_for_each_plane_state" requires 4 arguments, but only 3 given
  intel_atomic_crtc_state_for_each_plane_state(plane, plane_state, &crtc_state->uapi) {
                                                                                    ^
drivers/gpu/drm/i915/intel_pm.c:4135:2: error: ‘intel_atomic_crtc_state_for_each_plane_state’ undeclared (first use in this function); did you mean ‘intel_atomic_get_new_plane_state’?
  intel_atomic_crtc_state_for_each_plane_state(plane, plane_state, &crtc_state->uapi) {
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  intel_atomic_get_new_plane_state
drivers/gpu/drm/i915/intel_pm.c:4135:86: error: expected ‘;’ before ‘{’ token
  intel_atomic_crtc_state_for_each_plane_state(plane, plane_state, &crtc_state->uapi) {
                                                                                      ^
drivers/gpu/drm/i915/intel_pm.c:4126:22: error: unused variable ‘plane’ [-Werror=unused-variable]
  struct intel_plane *plane;
                      ^~~~~
drivers/gpu/drm/i915/intel_pm.c:4125:34: error: unused variable ‘plane_state’ [-Werror=unused-variable]
  const struct intel_plane_state *plane_state;
                                  ^~~~~~~~~~~
drivers/gpu/drm/i915/intel_pm.c: In function ‘skl_get_total_relative_data_rate’:
drivers/gpu/drm/i915/intel_pm.c:4234:77: error: macro "intel_atomic_crtc_state_for_each_plane_state" requires 4 arguments, but only 3 given
  intel_atomic_crtc_state_for_each_plane_state(plane, plane_state, crtc_state) {
                                                                             ^
drivers/gpu/drm/i915/intel_pm.c:4234:2: error: ‘intel_atomic_crtc_state_for_each_plane_state’ undeclared (first use in this function); did you mean ‘intel_atomic_get_new_plane_state’?
  intel_atomic_crtc_state_for_each_plane_state(plane, plane_state, crtc_state) {
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  intel_atomic_get_new_plane_state
drivers/gpu/drm/i915/intel_pm.c:4234:79: error: expected ‘;’ before ‘{’ token
  intel_atomic_crtc_state_for_each_plane_state(plane, plane_state, crtc_state) {
                                                                               ^
drivers/gpu/drm/i915/intel_pm.c:4228:6: error: unused variable ‘total_data_rate’ [-Werror=unused-variable]
  u64 total_data_rate = 0;
      ^~~~~~~~~~~~~~~
drivers/gpu/drm/i915/intel_pm.c:4227:34: error: unused variable ‘plane_state’ [-Werror=unused-variable]
  const struct intel_plane_state *plane_state;
                                  ^~~~~~~~~~~
drivers/gpu/drm/i915/intel_pm.c:4226:22: error: unused variable ‘plane’ [-Werror=unused-variable]
  struct intel_plane *plane;
                      ^~~~~
drivers/gpu/drm/i915/intel_pm.c: In function ‘icl_get_total_relative_data_rate’:
drivers/gpu/drm/i915/intel_pm.c:4264:77: error: macro "intel_atomic_crtc_state_for_each_plane_state" requires 4 arguments, but only 3 given
  intel_atomic_crtc_state_for_each_plane_state(plane, plane_state, crtc_state) {
                                                                             ^
drivers/gpu/drm/i915/intel_pm.c:4264:2: error: ‘intel_atomic_crtc_state_for_each_plane_state’ undeclared (first use in this function); did you mean ‘intel_atomic_get_new_plane_state’?
  intel_atomic_crtc_state_for_each_plane_state(plane, plane_state, crtc_state) {
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  intel_atomic_get_new_plane_state
drivers/gpu/drm/i915/intel_pm.c:4264:79: error: expected ‘;’ before ‘{’ token
  intel_atomic_crtc_state_for_each_plane_state(plane, plane_state, crtc_state) {
                                                                               ^
drivers/gpu/drm/i915/intel_pm.c:4258:6: error: unused variable ‘total_data_rate’ [-Werror=unused-variable]
  u64 total_data_rate = 0;
      ^~~~~~~~~~~~~~~
drivers/gpu/drm/i915/intel_pm.c:4257:34: error: unused variable ‘plane_state’ [-Werror=unused-variable]
  const struct intel_plane_state *plane_state;
                                  ^~~~~~~~~~~
drivers/gpu/drm/i915/intel_pm.c:4256:22: error: unused variable ‘plane’ [-Werror=unused-variable]
  struct intel_plane *plane;
                      ^~~~~
drivers/gpu/drm/i915/intel_pm.c: In function ‘skl_build_pipe_wm’:
drivers/gpu/drm/i915/intel_pm.c:5071:20: error: macro "intel_atomic_crtc_state_for_each_plane_state" requires 4 arguments, but only 3 given
          crtc_state) {
                    ^
drivers/gpu/drm/i915/intel_pm.c:5070:2: error: ‘intel_atomic_crtc_state_for_each_plane_state’ undeclared (first use in this function); did you mean ‘intel_atomic_get_new_plane_state’?
  intel_atomic_crtc_state_for_each_plane_state(plane, plane_state,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  intel_atomic_get_new_plane_state
drivers/gpu/drm/i915/intel_pm.c:5071:22: error: expected ‘;’ before ‘{’ token
          crtc_state) {
                      ^
drivers/gpu/drm/i915/intel_pm.c:5062:6: error: unused variable ‘ret’ [-Werror=unused-variable]
  int ret;
      ^~~
drivers/gpu/drm/i915/intel_pm.c:5061:34: error: unused variable ‘plane_state’ [-Werror=unused-variable]
  const struct intel_plane_state *plane_state;
                                  ^~~~~~~~~~~
drivers/gpu/drm/i915/intel_pm.c:5060:22: error: unused variable ‘plane’ [-Werror=unused-variable]
  struct intel_plane *plane;
                      ^~~~~
drivers/gpu/drm/i915/intel_pm.c:5058:27: error: unused variable ‘dev_priv’ [-Werror=unused-variable]
  struct drm_i915_private *dev_priv = to_i915(crtc_state->uapi.crtc->dev);
                           ^~~~~~~~
drivers/gpu/drm/i915/intel_pm.c: In function ‘icl_get_total_relative_data_rate’:
drivers/gpu/drm/i915/intel_pm.c:4298:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
drivers/gpu/drm/i915/intel_pm.c: In function ‘skl_get_total_relative_data_rate’:
drivers/gpu/drm/i915/intel_pm.c:4250:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
At top level:
drivers/gpu/drm/i915/intel_pm.c:5019:12: error: ‘icl_build_plane_wm’ defined but not used [-Werror=unused-function]
 static int icl_build_plane_wm(struct intel_crtc_state *crtc_state,
            ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/intel_pm.c:4993:12: error: ‘skl_build_plane_wm’ defined but not used [-Werror=unused-function]
 static int skl_build_plane_wm(struct intel_crtc_state *crtc_state,
            ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/intel_pm.c:4877:1: error: ‘skl_compute_linetime_wm’ defined but not used [-Werror=unused-function]
 skl_compute_linetime_wm(const struct intel_crtc_state *crtc_state)
 ^~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/intel_pm.c:4175:1: error: ‘skl_plane_relative_data_rate’ defined but not used [-Werror=unused-function]
 skl_plane_relative_data_rate(const struct intel_crtc_state *crtc_state,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/intel_pm.c:4088:1: error: ‘skl_pipe_downscale_amount’ defined but not used [-Werror=unused-function]
 skl_pipe_downscale_amount(const struct intel_crtc_state *crtc_state)
 ^~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
scripts/Makefile.build:280: recipe for target 'drivers/gpu/drm/i915/intel_pm.o' failed
make[4]: *** [drivers/gpu/drm/i915/intel_pm.o] Error 1
scripts/Makefile.build:497: recipe for target 'drivers/gpu/drm/i915' failed
make[3]: *** [drivers/gpu/drm/i915] Error 2
scripts/Makefile.build:497: recipe for target 'drivers/gpu/drm' failed
make[2]: *** [drivers/gpu/drm] Error 2
scripts/Makefile.build:497: recipe for target 'drivers/gpu' failed
make[1]: *** [drivers/gpu] Error 2
Makefile:1087: recipe for target 'drivers' failed
make: *** [drivers] Error 2



More information about the Intel-gfx-trybot mailing list