✗ Fi.CI.BUILD: failure for CMRR TEST CHECK (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Tue Jun 4 09:12:38 UTC 2024
== Series Details ==
Series: CMRR TEST CHECK (rev2)
URL : https://patchwork.freedesktop.org/series/134428/
State : failure
== Summary ==
Error: make failed
CALL scripts/checksyscalls.sh
DESCEND objtool
INSTALL libsubcmd_headers
CC [M] drivers/gpu/drm/i915/display/intel_vrr.o
drivers/gpu/drm/i915/display/intel_vrr.c: In function ‘trans_vrr_ctl’:
drivers/gpu/drm/i915/display/intel_vrr.c:193:10: error: ‘VRR_CTL_IGN_MAX_SHIFT’ undeclared (first use in this function); did you mean ‘STRUCT_PAGE_MAX_SHIFT’?
193 | return VRR_CTL_IGN_MAX_SHIFT | VRR_CTL_FLIP_LINE_EN |
| ^~~~~~~~~~~~~~~~~~~~~
| STRUCT_PAGE_MAX_SHIFT
drivers/gpu/drm/i915/display/intel_vrr.c:193:10: note: each undeclared identifier is reported only once for each function it appears in
drivers/gpu/drm/i915/display/intel_vrr.c:193:34: error: ‘VRR_CTL_FLIP_LINE_EN’ undeclared (first use in this function)
193 | return VRR_CTL_IGN_MAX_SHIFT | VRR_CTL_FLIP_LINE_EN |
| ^~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_vrr.c:194:4: error: implicit declaration of function ‘XELPD_VRR_CTL_VRR_GUARDBAND’ [-Werror=implicit-function-declaration]
194 | XELPD_VRR_CTL_VRR_GUARDBAND(crtc_state->vrr.guardband);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_vrr.c:197:4: error: implicit declaration of function ‘VRR_CTL_PIPELINE_FULL’ [-Werror=implicit-function-declaration]
197 | VRR_CTL_PIPELINE_FULL(crtc_state->vrr.pipeline_full) |
| ^~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_vrr.c:198:4: error: ‘VRR_CTL_PIPELINE_FULL_OVERRIDE’ undeclared (first use in this function)
198 | VRR_CTL_PIPELINE_FULL_OVERRIDE;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/i915/display/intel_vrr.c:9:
drivers/gpu/drm/i915/display/intel_vrr.c: In function ‘intel_vrr_set_transcoder_timings’:
drivers/gpu/drm/i915/display/intel_vrr.c:217:11: error: implicit declaration of function ‘TRANS_VRR_CTL’; did you mean ‘TRANS_DP2_CTL’? [-Werror=implicit-function-declaration]
217 | TRANS_VRR_CTL(dev_priv, cpu_transcoder), 0);
| ^~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:87:71: note: in definition of macro ‘intel_de_write’
87 | #define intel_de_write(p,...) __intel_de_write(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_vrr.c:217:11: error: incompatible type for argument 2 of ‘__intel_de_write’
217 | TRANS_VRR_CTL(dev_priv, cpu_transcoder), 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
drivers/gpu/drm/i915/display/intel_de.h:87:71: note: in definition of macro ‘intel_de_write’
87 | #define intel_de_write(p,...) __intel_de_write(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:79:60: note: expected ‘i915_reg_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
79 | __intel_de_write(struct intel_display *display, i915_reg_t reg, u32 val)
| ~~~~~~~~~~~^~~
drivers/gpu/drm/i915/display/intel_vrr.c:221:27: error: implicit declaration of function ‘TRANS_VRR_VMIN’ [-Werror=implicit-function-declaration]
221 | intel_de_write(dev_priv, TRANS_VRR_VMIN(dev_priv, cpu_transcoder),
| ^~~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:87:71: note: in definition of macro ‘intel_de_write’
87 | #define intel_de_write(p,...) __intel_de_write(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_vrr.c:221:27: error: incompatible type for argument 2 of ‘__intel_de_write’
221 | intel_de_write(dev_priv, TRANS_VRR_VMIN(dev_priv, cpu_transcoder),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
drivers/gpu/drm/i915/display/intel_de.h:87:71: note: in definition of macro ‘intel_de_write’
87 | #define intel_de_write(p,...) __intel_de_write(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:79:60: note: expected ‘i915_reg_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
79 | __intel_de_write(struct intel_display *display, i915_reg_t reg, u32 val)
| ~~~~~~~~~~~^~~
drivers/gpu/drm/i915/display/intel_vrr.c:223:27: error: implicit declaration of function ‘TRANS_VRR_VMAX’ [-Werror=implicit-function-declaration]
223 | intel_de_write(dev_priv, TRANS_VRR_VMAX(dev_priv, cpu_transcoder),
| ^~~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:87:71: note: in definition of macro ‘intel_de_write’
87 | #define intel_de_write(p,...) __intel_de_write(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_vrr.c:223:27: error: incompatible type for argument 2 of ‘__intel_de_write’
223 | intel_de_write(dev_priv, TRANS_VRR_VMAX(dev_priv, cpu_transcoder),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
drivers/gpu/drm/i915/display/intel_de.h:87:71: note: in definition of macro ‘intel_de_write’
87 | #define intel_de_write(p,...) __intel_de_write(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:79:60: note: expected ‘i915_reg_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
79 | __intel_de_write(struct intel_display *display, i915_reg_t reg, u32 val)
| ~~~~~~~~~~~^~~
drivers/gpu/drm/i915/display/intel_vrr.c:225:27: error: incompatible type for argument 2 of ‘__intel_de_write’
225 | intel_de_write(dev_priv, TRANS_VRR_CTL(dev_priv, cpu_transcoder),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
drivers/gpu/drm/i915/display/intel_de.h:87:71: note: in definition of macro ‘intel_de_write’
87 | #define intel_de_write(p,...) __intel_de_write(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:79:60: note: expected ‘i915_reg_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
79 | __intel_de_write(struct intel_display *display, i915_reg_t reg, u32 val)
| ~~~~~~~~~~~^~~
drivers/gpu/drm/i915/display/intel_vrr.c:227:27: error: implicit declaration of function ‘TRANS_VRR_FLIPLINE’ [-Werror=implicit-function-declaration]
227 | intel_de_write(dev_priv, TRANS_VRR_FLIPLINE(dev_priv, cpu_transcoder),
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:87:71: note: in definition of macro ‘intel_de_write’
87 | #define intel_de_write(p,...) __intel_de_write(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_vrr.c:227:27: error: incompatible type for argument 2 of ‘__intel_de_write’
227 | intel_de_write(dev_priv, TRANS_VRR_FLIPLINE(dev_priv, cpu_transcoder),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
drivers/gpu/drm/i915/display/intel_de.h:87:71: note: in definition of macro ‘intel_de_write’
87 | #define intel_de_write(p,...) __intel_de_write(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:79:60: note: expected ‘i915_reg_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
79 | __intel_de_write(struct intel_display *display, i915_reg_t reg, u32 val)
| ~~~~~~~~~~~^~~
drivers/gpu/drm/i915/display/intel_vrr.c: In function ‘intel_vrr_send_push’:
drivers/gpu/drm/i915/display/intel_vrr.c:240:27: error: implicit declaration of function ‘TRANS_PUSH’; did you mean ‘TRANS_MULT’? [-Werror=implicit-function-declaration]
240 | intel_de_write(dev_priv, TRANS_PUSH(dev_priv, cpu_transcoder),
| ^~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:87:71: note: in definition of macro ‘intel_de_write’
87 | #define intel_de_write(p,...) __intel_de_write(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_vrr.c:241:10: error: ‘TRANS_PUSH_EN’ undeclared (first use in this function)
241 | TRANS_PUSH_EN | TRANS_PUSH_SEND);
| ^~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:87:71: note: in definition of macro ‘intel_de_write’
87 | #define intel_de_write(p,...) __intel_de_write(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_vrr.c:241:26: error: ‘TRANS_PUSH_SEND’ undeclared (first use in this function)
241 | TRANS_PUSH_EN | TRANS_PUSH_SEND);
| ^~~~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:87:71: note: in definition of macro ‘intel_de_write’
87 | #define intel_de_write(p,...) __intel_de_write(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_vrr.c:240:27: error: incompatible type for argument 2 of ‘__intel_de_write’
240 | intel_de_write(dev_priv, TRANS_PUSH(dev_priv, cpu_transcoder),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
drivers/gpu/drm/i915/display/intel_de.h:87:71: note: in definition of macro ‘intel_de_write’
87 | #define intel_de_write(p,...) __intel_de_write(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:79:60: note: expected ‘i915_reg_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
79 | __intel_de_write(struct intel_display *display, i915_reg_t reg, u32 val)
| ~~~~~~~~~~~^~~
drivers/gpu/drm/i915/display/intel_vrr.c: In function ‘intel_vrr_is_push_sent’:
drivers/gpu/drm/i915/display/intel_vrr.c:253:33: error: incompatible type for argument 2 of ‘__intel_de_read’
253 | return intel_de_read(dev_priv, TRANS_PUSH(dev_priv, cpu_transcoder)) & TRANS_PUSH_SEND;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
drivers/gpu/drm/i915/display/intel_de.h:31:69: note: in definition of macro ‘intel_de_read’
31 | #define intel_de_read(p,...) __intel_de_read(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:19:59: note: expected ‘i915_reg_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
19 | __intel_de_read(struct intel_display *display, i915_reg_t reg)
| ~~~~~~~~~~~^~~
drivers/gpu/drm/i915/display/intel_vrr.c:253:73: error: ‘TRANS_PUSH_SEND’ undeclared (first use in this function)
253 | return intel_de_read(dev_priv, TRANS_PUSH(dev_priv, cpu_transcoder)) & TRANS_PUSH_SEND;
| ^~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/i915/display/intel_vrr.c:9:
drivers/gpu/drm/i915/display/intel_vrr.c: In function ‘intel_vrr_enable’:
drivers/gpu/drm/i915/display/intel_vrr.c:265:10: error: ‘TRANS_PUSH_EN’ undeclared (first use in this function)
265 | TRANS_PUSH_EN);
| ^~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:87:71: note: in definition of macro ‘intel_de_write’
87 | #define intel_de_write(p,...) __intel_de_write(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_vrr.c:264:27: error: incompatible type for argument 2 of ‘__intel_de_write’
264 | intel_de_write(dev_priv, TRANS_PUSH(dev_priv, cpu_transcoder),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
drivers/gpu/drm/i915/display/intel_de.h:87:71: note: in definition of macro ‘intel_de_write’
87 | #define intel_de_write(p,...) __intel_de_write(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:79:60: note: expected ‘i915_reg_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
79 | __intel_de_write(struct intel_display *display, i915_reg_t reg, u32 val)
| ~~~~~~~~~~~^~~
drivers/gpu/drm/i915/display/intel_vrr.c:269:11: error: implicit declaration of function ‘TRANS_VRR_VSYNC’; did you mean ‘TRANS_VSYNC’? [-Werror=implicit-function-declaration]
269 | TRANS_VRR_VSYNC(dev_priv, cpu_transcoder),
| ^~~~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:87:71: note: in definition of macro ‘intel_de_write’
87 | #define intel_de_write(p,...) __intel_de_write(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_vrr.c:270:11: error: implicit declaration of function ‘VRR_VSYNC_END’; did you mean ‘VSYNC_END’? [-Werror=implicit-function-declaration]
270 | VRR_VSYNC_END(crtc_state->vrr.vsync_end) |
| ^~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:87:71: note: in definition of macro ‘intel_de_write’
87 | #define intel_de_write(p,...) __intel_de_write(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_vrr.c:271:11: error: implicit declaration of function ‘VRR_VSYNC_START’; did you mean ‘VSYNC_START’? [-Werror=implicit-function-declaration]
271 | VRR_VSYNC_START(crtc_state->vrr.vsync_start));
| ^~~~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:87:71: note: in definition of macro ‘intel_de_write’
87 | #define intel_de_write(p,...) __intel_de_write(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_vrr.c:269:11: error: incompatible type for argument 2 of ‘__intel_de_write’
269 | TRANS_VRR_VSYNC(dev_priv, cpu_transcoder),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
drivers/gpu/drm/i915/display/intel_de.h:87:71: note: in definition of macro ‘intel_de_write’
87 | #define intel_de_write(p,...) __intel_de_write(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:79:60: note: expected ‘i915_reg_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
79 | __intel_de_write(struct intel_display *display, i915_reg_t reg, u32 val)
| ~~~~~~~~~~~^~~
drivers/gpu/drm/i915/display/intel_vrr.c:274:10: error: ‘VRR_CTL_VRR_ENABLE’ undeclared (first use in this function); did you mean ‘DRM_IOCTL_AGP_ENABLE’?
274 | VRR_CTL_VRR_ENABLE | trans_vrr_ctl(crtc_state));
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:87:71: note: in definition of macro ‘intel_de_write’
87 | #define intel_de_write(p,...) __intel_de_write(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_vrr.c:273:27: error: incompatible type for argument 2 of ‘__intel_de_write’
273 | intel_de_write(dev_priv, TRANS_VRR_CTL(dev_priv, cpu_transcoder),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
drivers/gpu/drm/i915/display/intel_de.h:87:71: note: in definition of macro ‘intel_de_write’
87 | #define intel_de_write(p,...) __intel_de_write(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:79:60: note: expected ‘i915_reg_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
79 | __intel_de_write(struct intel_display *display, i915_reg_t reg, u32 val)
| ~~~~~~~~~~~^~~
drivers/gpu/drm/i915/display/intel_vrr.c: In function ‘intel_vrr_disable’:
drivers/gpu/drm/i915/display/intel_vrr.c:286:27: error: incompatible type for argument 2 of ‘__intel_de_write’
286 | intel_de_write(dev_priv, TRANS_VRR_CTL(dev_priv, cpu_transcoder),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
drivers/gpu/drm/i915/display/intel_de.h:87:71: note: in definition of macro ‘intel_de_write’
87 | #define intel_de_write(p,...) __intel_de_write(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:79:60: note: expected ‘i915_reg_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
79 | __intel_de_write(struct intel_display *display, i915_reg_t reg, u32 val)
| ~~~~~~~~~~~^~~
drivers/gpu/drm/i915/display/intel_vrr.c:289:5: error: implicit declaration of function ‘TRANS_VRR_STATUS’ [-Werror=implicit-function-declaration]
289 | TRANS_VRR_STATUS(dev_priv, cpu_transcoder),
| ^~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:191:89: note: in definition of macro ‘intel_de_wait_for_clear’
191 | #define intel_de_wait_for_clear(p,...) __intel_de_wait_for_clear(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_vrr.c:290:5: error: ‘VRR_STATUS_VRR_EN_LIVE’ undeclared (first use in this function)
290 | VRR_STATUS_VRR_EN_LIVE, 1000);
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:191:89: note: in definition of macro ‘intel_de_wait_for_clear’
191 | #define intel_de_wait_for_clear(p,...) __intel_de_wait_for_clear(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_vrr.c:289:5: error: incompatible type for argument 2 of ‘__intel_de_wait_for_clear’
289 | TRANS_VRR_STATUS(dev_priv, cpu_transcoder),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
drivers/gpu/drm/i915/display/intel_de.h:191:89: note: in definition of macro ‘intel_de_wait_for_clear’
191 | #define intel_de_wait_for_clear(p,...) __intel_de_wait_for_clear(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:186:69: note: expected ‘i915_reg_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
186 | __intel_de_wait_for_clear(struct intel_display *display, i915_reg_t reg,
| ~~~~~~~~~~~^~~
drivers/gpu/drm/i915/display/intel_vrr.c:291:27: error: incompatible type for argument 2 of ‘__intel_de_write’
291 | intel_de_write(dev_priv, TRANS_PUSH(dev_priv, cpu_transcoder), 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
drivers/gpu/drm/i915/display/intel_de.h:87:71: note: in definition of macro ‘intel_de_write’
87 | #define intel_de_write(p,...) __intel_de_write(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:79:60: note: expected ‘i915_reg_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
79 | __intel_de_write(struct intel_display *display, i915_reg_t reg, u32 val)
| ~~~~~~~~~~~^~~
drivers/gpu/drm/i915/display/intel_vrr.c:295:11: error: incompatible type for argument 2 of ‘__intel_de_write’
295 | TRANS_VRR_VSYNC(dev_priv, cpu_transcoder), 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
drivers/gpu/drm/i915/display/intel_de.h:87:71: note: in definition of macro ‘intel_de_write’
87 | #define intel_de_write(p,...) __intel_de_write(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:79:60: note: expected ‘i915_reg_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
79 | __intel_de_write(struct intel_display *display, i915_reg_t reg, u32 val)
| ~~~~~~~~~~~^~~
drivers/gpu/drm/i915/display/intel_vrr.c: In function ‘intel_vrr_get_config’:
drivers/gpu/drm/i915/display/intel_vrr.c:305:11: error: incompatible type for argument 2 of ‘__intel_de_read’
305 | TRANS_VRR_CTL(dev_priv, cpu_transcoder));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
drivers/gpu/drm/i915/display/intel_de.h:31:69: note: in definition of macro ‘intel_de_read’
31 | #define intel_de_read(p,...) __intel_de_read(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:19:59: note: expected ‘i915_reg_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
19 | __intel_de_read(struct intel_display *display, i915_reg_t reg)
| ~~~~~~~~~~~^~~
drivers/gpu/drm/i915/display/intel_vrr.c:307:43: error: ‘VRR_CTL_VRR_ENABLE’ undeclared (first use in this function); did you mean ‘DRM_IOCTL_AGP_ENABLE’?
307 | crtc_state->vrr.enable = trans_vrr_ctl & VRR_CTL_VRR_ENABLE;
| ^~~~~~~~~~~~~~~~~~
| DRM_IOCTL_AGP_ENABLE
In file included from <command-line>:
drivers/gpu/drm/i915/display/intel_vrr.c:311:18: error: ‘XELPD_VRR_CTL_VRR_GUARDBAND_MASK’ undeclared (first use in this function)
311 | REG_FIELD_GET(XELPD_VRR_CTL_VRR_GUARDBAND_MASK, trans_vrr_ctl);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
././include/linux/compiler_types.h:467:9: note: in definition of macro ‘__compiletime_assert’
467 | if (!(condition)) \
| ^~~~~~~~~
././include/linux/compiler_types.h:487:2: note: in expansion of macro ‘_compiletime_assert’
487 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~~~~~~~~~~~~~~~~~
./include/linux/bitfield.h:65:3: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
65 | BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
| ^~~~~~~~~~~~~~~~
./include/linux/bitfield.h:155:3: note: in expansion of macro ‘__BF_FIELD_CHECK’
155 | __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \
| ^~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_reg_defs.h:132:44: note: in expansion of macro ‘FIELD_GET’
132 | #define REG_FIELD_GET(__mask, __val) ((u32)FIELD_GET(__mask, __val))
| ^~~~~~~~~
drivers/gpu/drm/i915/display/intel_vrr.c:311:4: note: in expansion of macro ‘REG_FIELD_GET’
311 | REG_FIELD_GET(XELPD_VRR_CTL_VRR_GUARDBAND_MASK, trans_vrr_ctl);
| ^~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_vrr.c:313:23: error: ‘VRR_CTL_PIPELINE_FULL_OVERRIDE’ undeclared (first use in this function)
313 | if (trans_vrr_ctl & VRR_CTL_PIPELINE_FULL_OVERRIDE)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from <command-line>:
drivers/gpu/drm/i915/display/intel_vrr.c:315:19: error: ‘VRR_CTL_PIPELINE_FULL_MASK’ undeclared (first use in this function)
315 | REG_FIELD_GET(VRR_CTL_PIPELINE_FULL_MASK, trans_vrr_ctl);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
././include/linux/compiler_types.h:467:9: note: in definition of macro ‘__compiletime_assert’
467 | if (!(condition)) \
| ^~~~~~~~~
././include/linux/compiler_types.h:487:2: note: in expansion of macro ‘_compiletime_assert’
487 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~~~~~~~~~~~~~~~~~
./include/linux/bitfield.h:65:3: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
65 | BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
| ^~~~~~~~~~~~~~~~
./include/linux/bitfield.h:155:3: note: in expansion of macro ‘__BF_FIELD_CHECK’
155 | __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \
| ^~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_reg_defs.h:132:44: note: in expansion of macro ‘FIELD_GET’
132 | #define REG_FIELD_GET(__mask, __val) ((u32)FIELD_GET(__mask, __val))
| ^~~~~~~~~
drivers/gpu/drm/i915/display/intel_vrr.c:315:5: note: in expansion of macro ‘REG_FIELD_GET’
315 | REG_FIELD_GET(VRR_CTL_PIPELINE_FULL_MASK, trans_vrr_ctl);
| ^~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_vrr.c:317:22: error: ‘VRR_CTL_FLIP_LINE_EN’ undeclared (first use in this function)
317 | if (trans_vrr_ctl & VRR_CTL_FLIP_LINE_EN) {
| ^~~~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/i915/display/intel_vrr.c:9:
drivers/gpu/drm/i915/display/intel_vrr.c:319:9: error: incompatible type for argument 2 of ‘__intel_de_read’
319 | TRANS_VRR_FLIPLINE(dev_priv, cpu_transcoder)) + 1;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
drivers/gpu/drm/i915/display/intel_de.h:31:69: note: in definition of macro ‘intel_de_read’
31 | #define intel_de_read(p,...) __intel_de_read(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:19:59: note: expected ‘i915_reg_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
19 | __intel_de_read(struct intel_display *display, i915_reg_t reg)
| ~~~~~~~~~~~^~~
drivers/gpu/drm/i915/display/intel_vrr.c:321:12: error: incompatible type for argument 2 of ‘__intel_de_read’
321 | TRANS_VRR_VMAX(dev_priv, cpu_transcoder)) + 1;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
drivers/gpu/drm/i915/display/intel_de.h:31:69: note: in definition of macro ‘intel_de_read’
31 | #define intel_de_read(p,...) __intel_de_read(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:19:59: note: expected ‘i915_reg_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
19 | __intel_de_read(struct intel_display *display, i915_reg_t reg)
| ~~~~~~~~~~~^~~
drivers/gpu/drm/i915/display/intel_vrr.c:323:12: error: incompatible type for argument 2 of ‘__intel_de_read’
323 | TRANS_VRR_VMIN(dev_priv, cpu_transcoder)) + 1;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
drivers/gpu/drm/i915/display/intel_de.h:31:69: note: in definition of macro ‘intel_de_read’
31 | #define intel_de_read(p,...) __intel_de_read(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:19:59: note: expected ‘i915_reg_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
19 | __intel_de_read(struct intel_display *display, i915_reg_t reg)
| ~~~~~~~~~~~^~~
drivers/gpu/drm/i915/display/intel_vrr.c:332:12: error: incompatible type for argument 2 of ‘__intel_de_read’
332 | TRANS_VRR_VSYNC(dev_priv, cpu_transcoder));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
drivers/gpu/drm/i915/display/intel_de.h:31:69: note: in definition of macro ‘intel_de_read’
31 | #define intel_de_read(p,...) __intel_de_read(__to_intel_display(p), __VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_de.h:19:59: note: expected ‘i915_reg_t’ {aka ‘struct <anonymous>’} but argument is of type ‘int’
19 | __intel_de_read(struct intel_display *display, i915_reg_t reg)
| ~~~~~~~~~~~^~~
In file included from <command-line>:
drivers/gpu/drm/i915/display/intel_vrr.c:334:19: error: ‘VRR_VSYNC_START_MASK’ undeclared (first use in this function); did you mean ‘VSYNC_START_MASK’?
334 | REG_FIELD_GET(VRR_VSYNC_START_MASK, trans_vrr_vsync);
| ^~~~~~~~~~~~~~~~~~~~
././include/linux/compiler_types.h:467:9: note: in definition of macro ‘__compiletime_assert’
467 | if (!(condition)) \
| ^~~~~~~~~
././include/linux/compiler_types.h:487:2: note: in expansion of macro ‘_compiletime_assert’
487 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~~~~~~~~~~~~~~~~~
./include/linux/bitfield.h:65:3: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
65 | BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
| ^~~~~~~~~~~~~~~~
./include/linux/bitfield.h:155:3: note: in expansion of macro ‘__BF_FIELD_CHECK’
155 | __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \
| ^~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_reg_defs.h:132:44: note: in expansion of macro ‘FIELD_GET’
132 | #define REG_FIELD_GET(__mask, __val) ((u32)FIELD_GET(__mask, __val))
| ^~~~~~~~~
drivers/gpu/drm/i915/display/intel_vrr.c:334:5: note: in expansion of macro ‘REG_FIELD_GET’
334 | REG_FIELD_GET(VRR_VSYNC_START_MASK, trans_vrr_vsync);
| ^~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_vrr.c:336:19: error: ‘VRR_VSYNC_END_MASK’ undeclared (first use in this function); did you mean ‘VSYNC_END_MASK’?
336 | REG_FIELD_GET(VRR_VSYNC_END_MASK, trans_vrr_vsync);
| ^~~~~~~~~~~~~~~~~~
././include/linux/compiler_types.h:467:9: note: in definition of macro ‘__compiletime_assert’
467 | if (!(condition)) \
| ^~~~~~~~~
././include/linux/compiler_types.h:487:2: note: in expansion of macro ‘_compiletime_assert’
487 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~~~~~~~~~~~~~~~~~
./include/linux/bitfield.h:65:3: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
65 | BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
| ^~~~~~~~~~~~~~~~
./include/linux/bitfield.h:155:3: note: in expansion of macro ‘__BF_FIELD_CHECK’
155 | __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \
| ^~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_reg_defs.h:132:44: note: in expansion of macro ‘FIELD_GET’
132 | #define REG_FIELD_GET(__mask, __val) ((u32)FIELD_GET(__mask, __val))
| ^~~~~~~~~
drivers/gpu/drm/i915/display/intel_vrr.c:336:5: note: in expansion of macro ‘REG_FIELD_GET’
336 | REG_FIELD_GET(VRR_VSYNC_END_MASK, trans_vrr_vsync);
| ^~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_vrr.c: In function ‘intel_vrr_is_push_sent’:
drivers/gpu/drm/i915/display/intel_vrr.c:254:1: error: control reaches end of non-void function [-Werror=return-type]
254 | }
| ^
cc1: all warnings being treated as errors
make[6]: *** [scripts/Makefile.build:244: drivers/gpu/drm/i915/display/intel_vrr.o] Error 1
make[5]: *** [scripts/Makefile.build:485: drivers/gpu/drm/i915] Error 2
make[4]: *** [scripts/Makefile.build:485: drivers/gpu/drm] Error 2
make[3]: *** [scripts/Makefile.build:485: drivers/gpu] Error 2
make[2]: *** [scripts/Makefile.build:485: drivers] Error 2
make[1]: *** [/home/kbuild2/kernel/Makefile:1934: .] Error 2
make: *** [Makefile:240: __sub-make] Error 2
Build failed, no error log produced
More information about the Intel-gfx-trybot
mailing list