Skip to contentSkip to conversation

drm/i915/trace: clean up boilerplate organization

PATCH Superseded Jani Nikula 3 participants 6 messages Nov 16, 2021 – Nov 17, 2021

Subsystems (3)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 drm/i915/trace: clean up boilerplate organization

Follow the style that seems to be prevalent in kernel for undef and define of TRACE_SYSTEM, TRACE_INCLUDE_PATH, and TRACE_INCLUDE_FILE. Also use the common "." for path.

There should be no changes to tracepoints.

Cc Ville Syrjälä <[email protected]>
---
 drivers/gpu/drm/i915/i915_trace.h | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
drivers/gpu/drm/i915/i915_trace.h +7 -5
index 6b8fb6ffe8da..487f5ac1f563 100644
@@ -1,4 +1,8 @@
 /* SPDX-License-Identifier: GPL-2.0 */
+
+#undef TRACE_SYSTEM
+#define TRACE_SYSTEM i915
+
 #if !defined(_I915_TRACE_H_) || defined(TRACE_HEADER_MULTI_READ)
 #define _I915_TRACE_H_
 
@@ -15,10 +19,6 @@
 #include "i915_drv.h"
 #include "i915_irq.h"
 
-#undef TRACE_SYSTEM
-#define TRACE_SYSTEM i915
-#define TRACE_INCLUDE_FILE i915_trace
-
 /* watermark/fifo updates */
 
 TRACE_EVENT(intel_pipe_enable,
@@ -1331,5 +1331,7 @@ DEFINE_EVENT(i915_context, i915_context_free,
 
 /* This part must be outside protection */
 #undef TRACE_INCLUDE_PATH
-#define TRACE_INCLUDE_PATH ../../drivers/gpu/drm/i915
+#undef TRACE_INCLUDE_FILE
+#define TRACE_INCLUDE_PATH .
+#define TRACE_INCLUDE_FILE i915_trace
 #include <trace/define_trace.h>
Signature · 1 line
2.30.2
#1 lore raw

PATCH 2/2 drm/i915/trace: split out display trace to a separate file

Add display/intel_display_trace.[ch] for defining display tracepoints. The main goal is to reduce cross-includes between gem and display. It would be possible split up tracing even further, but that would lead to more boilerplate.

There should be no changes to tracepoints.

Cc Ville Syrjälä <[email protected]>
---
 drivers/gpu/drm/i915/Makefile                 |   1 +
 .../gpu/drm/i915/display/intel_atomic_plane.c |   5 +-
 drivers/gpu/drm/i915/display/intel_crtc.c     |   5 +-
 .../drm/i915/display/intel_display_trace.c    |   9 +
 .../drm/i915/display/intel_display_trace.h    | 588 ++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_fbc.c      |   2 +-
 .../drm/i915/display/intel_fifo_underrun.c    |   2 +-
 .../gpu/drm/i915/display/intel_frontbuffer.c  |   7 +-
 drivers/gpu/drm/i915/display/intel_sprite.c   |   1 -
 drivers/gpu/drm/i915/i915_debugfs.c           |   1 -
 drivers/gpu/drm/i915/i915_drv.c               |   1 -
 drivers/gpu/drm/i915/i915_irq.c               |   2 +-
 drivers/gpu/drm/i915/i915_trace.h             | 567 -----------------
 drivers/gpu/drm/i915/intel_pm.c               |   2 +-
 14 files changed, 610 insertions(+), 583 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_display_trace.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_display_trace.h
drivers/gpu/drm/i915/Makefile +1 -0
index 7d0d0b814670..8c06cdb33cd2 100644
@@ -259,6 +259,7 @@ i915-y += \
 	display/intel_crt.o \
 	display/intel_ddi.o \
 	display/intel_ddi_buf_trans.o \
+	display/intel_display_trace.o \
 	display/intel_dp.o \
 	display/intel_dp_aux.o \
 	display/intel_dp_aux_backlight.o \
drivers/gpu/drm/i915/display/intel_atomic_plane.c +3 -2
index 089fb4658b21..0467d407538f 100644
@@ -35,15 +35,16 @@
 #include <drm/drm_fourcc.h>
 #include <drm/drm_plane_helper.h>
 
-#include "i915_trace.h"
+#include "gt/intel_rps.h"
+
 #include "intel_atomic_plane.h"
 #include "intel_cdclk.h"
+#include "intel_display_trace.h"
 #include "intel_display_types.h"
 #include "intel_fb.h"
 #include "intel_fb_pin.h"
 #include "intel_pm.h"
 #include "intel_sprite.h"
-#include "gt/intel_rps.h"
 
 static void intel_plane_state_reset(struct intel_plane_state *plane_state,
 				    struct intel_plane *plane)
drivers/gpu/drm/i915/display/intel_crtc.c +2 -3
index f09df2cf052b..72cb20fad764 100644
@@ -12,22 +12,21 @@
 #include <drm/drm_plane_helper.h>
 #include <drm/drm_vblank_work.h>
 
-#include "i915_trace.h"
 #include "i915_vgpu.h"
-
+#include "i9xx_plane.h"
 #include "intel_atomic.h"
 #include "intel_atomic_plane.h"
 #include "intel_color.h"
 #include "intel_crtc.h"
 #include "intel_cursor.h"
 #include "intel_display_debugfs.h"
+#include "intel_display_trace.h"
 #include "intel_display_types.h"
 #include "intel_dsi.h"
 #include "intel_pipe_crc.h"
 #include "intel_psr.h"
 #include "intel_sprite.h"
 #include "intel_vrr.h"
-#include "i9xx_plane.h"
 #include "skl_universal_plane.h"
 
 static void assert_vblank_disabled(struct drm_crtc *crtc)
drivers/gpu/drm/i915/display/intel_display_trace.c new file +9 -0
new file mode 100644
index 000000000000..737979ada869
@@ -0,0 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright © 2021 Intel Corporation
+ */
+
+#ifndef __CHECKER__
+#define CREATE_TRACE_POINTS
+#include "intel_display_trace.h"
+#endif
drivers/gpu/drm/i915/display/intel_display_trace.h new file +588 -0

588 lines not on this page · raw message

drivers/gpu/drm/i915/display/intel_fbc.c +1 -1
index d0c34bc3af6c..407964cda070 100644
@@ -41,9 +41,9 @@
 #include <drm/drm_fourcc.h>
 
 #include "i915_drv.h"
-#include "i915_trace.h"
 #include "i915_vgpu.h"
 #include "intel_de.h"
+#include "intel_display_trace.h"
 #include "intel_display_types.h"
 #include "intel_fbc.h"
 #include "intel_frontbuffer.h"
drivers/gpu/drm/i915/display/intel_fifo_underrun.c +1 -1
index 28d9eeb7b4f3..47ab7727a36b 100644
@@ -26,8 +26,8 @@
  */
 
 #include "i915_drv.h"
-#include "i915_trace.h"
 #include "intel_de.h"
+#include "intel_display_trace.h"
 #include "intel_display_types.h"
 #include "intel_fbc.h"
 #include "intel_fifo_underrun.h"
drivers/gpu/drm/i915/display/intel_frontbuffer.c +3 -4
index 0492446cd04a..791248f812aa 100644
@@ -55,14 +55,13 @@
  * cancelled as soon as busyness is detected.
  */
 
-#include "display/intel_dp.h"
-
 #include "i915_drv.h"
-#include "i915_trace.h"
+#include "intel_display_trace.h"
 #include "intel_display_types.h"
+#include "intel_dp.h"
+#include "intel_drrs.h"
 #include "intel_fbc.h"
 #include "intel_frontbuffer.h"
-#include "intel_drrs.h"
 #include "intel_psr.h"
 
 /**
drivers/gpu/drm/i915/display/intel_sprite.c +0 -1
index 1b99a9501a45..e35914ec661b 100644
@@ -40,7 +40,6 @@
 #include <drm/drm_rect.h>
 
 #include "i915_drv.h"
-#include "i915_trace.h"
 #include "i915_vgpu.h"
 #include "intel_atomic_plane.h"
 #include "intel_de.h"
drivers/gpu/drm/i915/i915_debugfs.c +0 -1
index fe638b5da7c0..682011c07ad7 100644
@@ -48,7 +48,6 @@
 #include "i915_debugfs_params.h"
 #include "i915_irq.h"
 #include "i915_scheduler.h"
-#include "i915_trace.h"
 #include "intel_pm.h"
 
 static inline struct drm_i915_private *node_to_i915(struct drm_info_node *node)
drivers/gpu/drm/i915/i915_drv.c +0 -1
index 46bf3315f616..8b628ecf7fe7 100644
@@ -81,7 +81,6 @@
 #include "i915_suspend.h"
 #include "i915_switcheroo.h"
 #include "i915_sysfs.h"
-#include "i915_trace.h"
 #include "i915_vgpu.h"
 #include "intel_dram.h"
 #include "intel_gvt.h"
drivers/gpu/drm/i915/i915_irq.c +1 -1
index 038a9ec563c1..594adf33f6da 100644
@@ -35,6 +35,7 @@
 #include <drm/drm_drv.h>
 
 #include "display/intel_de.h"
+#include "display/intel_display_trace.h"
 #include "display/intel_display_types.h"
 #include "display/intel_fifo_underrun.h"
 #include "display/intel_hotplug.h"
@@ -49,7 +50,6 @@
 
 #include "i915_drv.h"
 #include "i915_irq.h"
-#include "i915_trace.h"
 #include "intel_pm.h"
 
 /**
drivers/gpu/drm/i915/i915_trace.h +0 -567

578 lines not on this page · raw message

drivers/gpu/drm/i915/intel_pm.c +1 -1
index 89dc7f69baf3..e9219089af45 100644
@@ -36,6 +36,7 @@
 #include "display/intel_atomic_plane.h"
 #include "display/intel_bw.h"
 #include "display/intel_de.h"
+#include "display/intel_display_trace.h"
 #include "display/intel_display_types.h"
 #include "display/intel_fb.h"
 #include "display/intel_fbc.h"
@@ -47,7 +48,6 @@
 #include "i915_drv.h"
 #include "i915_fixed.h"
 #include "i915_irq.h"
-#include "i915_trace.h"
 #include "intel_pcode.h"
 #include "intel_pm.h"
 #include "vlv_sideband.h"
Signature · 1 line
2.30.2
Reviewed-by on v1 2/2
#2 lore raw

Re: [Intel-gfx] [PATCH 2/2] drm/i915/trace: split out display trace to a separate file

Quoted 28 lines · Jani Nikula

Add display/intel_display_trace.[ch] for defining display tracepoints. The main goal is to reduce cross-includes between gem and display. It would be possible split up tracing even further, but that would lead to more boilerplate.

There should be no changes to tracepoints.

Cc Ville Syrjälä <[email protected]>
---
 drivers/gpu/drm/i915/Makefile                 |   1 +
 .../gpu/drm/i915/display/intel_atomic_plane.c |   5 +-
 drivers/gpu/drm/i915/display/intel_crtc.c     |   5 +-
 .../drm/i915/display/intel_display_trace.c    |   9 +
 .../drm/i915/display/intel_display_trace.h    | 588 ++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_fbc.c      |   2 +-
 .../drm/i915/display/intel_fifo_underrun.c    |   2 +-
 .../gpu/drm/i915/display/intel_frontbuffer.c  |   7 +-
 drivers/gpu/drm/i915/display/intel_sprite.c   |   1 -
 drivers/gpu/drm/i915/i915_debugfs.c           |   1 -
 drivers/gpu/drm/i915/i915_drv.c               |   1 -
 drivers/gpu/drm/i915/i915_irq.c               |   2 +-
 drivers/gpu/drm/i915/i915_trace.h             | 567 -----------------
 drivers/gpu/drm/i915/intel_pm.c               |   2 +-
 14 files changed, 610 insertions(+), 583 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_display_trace.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_display_trace.h

<snip>

Quoted 27 lines
drivers/gpu/drm/i915/display/intel_display_trace.c new file +9 -0
new file mode 100644
index 000000000000..737979ada869
@@ -0,0 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright © 2021 Intel Corporation
+ */
+
+#ifndef __CHECKER__
+#define CREATE_TRACE_POINTS
+#include "intel_display_trace.h"
+#endif
drivers/gpu/drm/i915/display/intel_display_trace.h new file +6 -0
new file mode 100644
index 000000000000..8608f5a6ff32
@@ -0,0 +1,588 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
+#undef TRACE_SYSTEM
+#define TRACE_SYSTEM i915
+
+#if !defined(__INTEL_DISPLAY_TRACE_H__) || defined(TRACE_HEADER_MULTI_READ)

drivers/gpu/drm/i915/display/intel_display_trace.h line 16

Quoted 10 lines
drivers/gpu/drm/i915/display/intel_display_trace.h new file +10 -0
+#define __INTEL_DISPLAY_TRACE_H__
+
+#include <linux/types.h>
+#include <linux/tracepoint.h>
+
+#include "i915_drv.h"
+#include "intel_crtc.h"
+#include "intel_display_types.h"
+
+/* watermark/fifo updates */

That comment is a bit misplaced. I guess it already was like that in the old file. Maybe just nuke all these comments? I don't think they really serve any useful purpose.

Series is

Signature · 2 lines
Ville Syrjälä
Intel
#3 lore raw

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] drm/i915/trace: clean up boilerplate organization

In reply to Jani Nikula
== Series Details ==

== Series Details ==

Series: series starting with [1/2] drm/i915/trace: clean up boilerplate organization
URL : https://patchwork.freedesktop.org/series/96977/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
85123f803866 drm/i915/trace: clean up boilerplate organization
4c4795e8cf16 drm/i915/trace: split out display trace to a separate file
-:84: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#84: 
new file mode 100644

-:125: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #125: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:22:
+ TP_STRUCT__entry(

-:130: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #130: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:27:
+ TP_fast_assign(

-:131: WARNING:TABSTOP: Statements should start on a tabstop #131: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:28:
+ struct drm_i915_private *dev_priv = to_i915(crtc->base.dev);

-:132: WARNING:TABSTOP: Statements should start on a tabstop #132: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:29:
+ struct intel_crtc *it__;

-:133: WARNING:LINE_SPACING: Missing a blank line after declarations #133: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:30:
+ struct intel_crtc *it__;
+ for_each_intel_crtc(&dev_priv->drm, it__) {

-:133: WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (27, 35) #133: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:30:
+ for_each_intel_crtc(&dev_priv->drm, it__) {
+ __entry->frame[it__->pipe] = intel_crtc_get_vblank_counter(it__);

-:136: WARNING:TABSTOP: Statements should start on a tabstop #136: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:33:
+ }

-:151: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #151: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:48:
+ TP_STRUCT__entry(

-:157: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #157: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:54:
+ TP_fast_assign(

-:158: WARNING:TABSTOP: Statements should start on a tabstop #158: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:55:
+ struct drm_i915_private *dev_priv = to_i915(crtc->base.dev);

-:159: WARNING:TABSTOP: Statements should start on a tabstop #159: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:56:
+ struct intel_crtc *it__;

-:160: WARNING:LINE_SPACING: Missing a blank line after declarations #160: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:57:
+ struct intel_crtc *it__;
+ for_each_intel_crtc(&dev_priv->drm, it__) {

-:160: WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (27, 35) #160: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:57:
+ for_each_intel_crtc(&dev_priv->drm, it__) {
+ __entry->frame[it__->pipe] = intel_crtc_get_vblank_counter(it__);

-:163: WARNING:TABSTOP: Statements should start on a tabstop #163: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:60:
+ }

-:178: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #178: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:75:
+ TP_STRUCT__entry(

-:185: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #185: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:82:
+ TP_fast_assign(

-:202: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #202: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:99:
+ TP_STRUCT__entry(

-:208: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #208: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:105:
+ TP_fast_assign(

-:209: WARNING:TABSTOP: Statements should start on a tabstop #209: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:106:
+ struct intel_crtc *crtc = intel_get_crtc_for_pipe(dev_priv, pipe);

-:224: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #224: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:121:
+ TP_STRUCT__entry(

-:230: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #230: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:127:
+ TP_fast_assign(

-:231: WARNING:TABSTOP: Statements should start on a tabstop #231: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:128:
+ enum pipe pipe = pch_transcoder;

-:232: WARNING:TABSTOP: Statements should start on a tabstop #232: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:129:
+ struct intel_crtc *crtc = intel_get_crtc_for_pipe(dev_priv, pipe);

-:233: WARNING:LINE_SPACING: Missing a blank line after declarations #233: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:130:
+ struct intel_crtc *crtc = intel_get_crtc_for_pipe(dev_priv, pipe);
+ __entry->pipe = pipe;

-:247: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #247: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:144:
+ TP_STRUCT__entry(

-:254: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #254: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:151:
+ TP_fast_assign(

-:255: WARNING:TABSTOP: Statements should start on a tabstop #255: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:152:
+ struct intel_crtc *crtc;

-:256: WARNING:LINE_SPACING: Missing a blank line after declarations #256: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:153:
+ struct intel_crtc *crtc;
+ for_each_intel_crtc(&dev_priv->drm, crtc) {

-:256: WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (27, 35) #256: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:153:
+ for_each_intel_crtc(&dev_priv->drm, crtc) {
+ __entry->frame[crtc->pipe] = intel_crtc_get_vblank_counter(crtc);

-:259: WARNING:TABSTOP: Statements should start on a tabstop #259: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:156:
+ }

-:275: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #275: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:172:
+ TP_STRUCT__entry(

-:293: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #293: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:190:
+ TP_fast_assign(

-:315: WARNING:LONG_LINE: line length of 105 exceeds 100 columns #315: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:212:
+ yesno(__entry->hpll), __entry->hpll_plane, __entry->hpll_cursor, __entry->hpll_fbc,

-:323: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #323: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:220:
+ TP_STRUCT__entry(

-:337: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #337: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:234:
+ TP_fast_assign(

-:362: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #362: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:259:
+ TP_STRUCT__entry(

-:371: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #371: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:268:
+ TP_fast_assign(

-:392: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #392: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:289:
+ TP_STRUCT__entry(

-:401: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #401: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:298:
+ TP_fast_assign(

-:410: WARNING:LONG_LINE: line length of 103 exceeds 100 columns #410: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:307:
+ TP_printk("pipe %c, plane %s, frame=%u, scanline=%u, " DRM_RECT_FP_FMT " -> " DRM_RECT_FMT,

-:421: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #421: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:318:
+ TP_STRUCT__entry(

-:430: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #430: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:327:
+ TP_fast_assign(

-:439: WARNING:LONG_LINE: line length of 103 exceeds 100 columns #439: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:336:
+ TP_printk("pipe %c, plane %s, frame=%u, scanline=%u, " DRM_RECT_FP_FMT " -> " DRM_RECT_FMT,

-:450: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #450: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:347:
+ TP_STRUCT__entry(

-:457: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #457: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:354:
+ TP_fast_assign(

-:475: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #475: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:372:
+ TP_STRUCT__entry(

-:481: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #481: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:378:
+ TP_fast_assign(

-:495: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #495: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:392:
+ TP_STRUCT__entry(

-:501: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #501: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:398:
+ TP_fast_assign(

-:515: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #515: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:412:
+ TP_STRUCT__entry(

-:521: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #521: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:418:
+ TP_fast_assign(

-:537: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #537: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:434:
+ TP_STRUCT__entry(

-:543: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #543: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:440:
+ TP_fast_assign(

-:558: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #558: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:455:
+ TP_STRUCT__entry(

-:564: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #564: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:461:
+ TP_fast_assign(

-:579: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #579: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:476:
+ TP_STRUCT__entry(

-:587: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #587: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:484:
+ TP_fast_assign(

-:604: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #604: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:501:
+ TP_STRUCT__entry(

-:612: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #612: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:509:
+ TP_fast_assign(

-:629: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #629: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:526:
+ TP_STRUCT__entry(

-:635: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #635: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:532:
+ TP_fast_assign(

-:652: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #652: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:549:
+ TP_STRUCT__entry(

-:657: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #657: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:554:
+ TP_fast_assign(

-:670: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #670: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:567:
+ TP_STRUCT__entry(

-:675: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #675: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:572:
+ TP_fast_assign(

-:689: CHECK:SPACING: spaces preferred around that '/' (ctx:VxV) #689: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:586:
+#define TRACE_INCLUDE_PATH ./display

                             ^

total: 0 errors, 22 warnings, 45 checks, 1309 lines checked

#4 lore raw

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [1/2] drm/i915/trace: clean up boilerplate organization

In reply to Jani Nikula
== Series Details ==

== Series Details ==

Series: series starting with [1/2] drm/i915/trace: clean up boilerplate organization
URL : https://patchwork.freedesktop.org/series/96977/
State : warning

== Summary ==

$ dim sparse --fast origin/drm-tip
Sparse version: v0.6.2
Fast mode used, each commit won't be checked separately.
#5 lore raw

[Intel-gfx] ✗ Fi.CI.BAT: failure for series starting with [1/2] drm/i915/trace: clean up boilerplate organization

In reply to Jani Nikula
== Series Details ==

== Series Details ==

Series: series starting with [1/2] drm/i915/trace: clean up boilerplate organization
URL : https://patchwork.freedesktop.org/series/96977/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_10886 -> Patchwork_21600
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with Patchwork_21600 absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in Patchwork_21600, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21600/index.html

Participating hosts (38 -> 33)
------------------------------

Additional (2): fi-tgl-1115g4 fi-ilk-650
Missing (7): fi-ilk-m540 fi-tgl-u2 bat-dg1-5 fi-hsw-4200u fi-icl-u2 fi-bsw-cyan fi-ctg-p8600

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in Patchwork_21600:

### IGT changes ###

#### Possible regressions ####

* igt@gem_flink_basic@bad-flink:
- fi-skl-6600u: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10886/fi-skl-6600u/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21600/fi-skl-6600u/igt@[email protected]

Known issues
------------

Here are the changes found in Patchwork_21600 that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@amdgpu/amd_basic@query-info:
- fi-tgl-1115g4: NOTRUN -> [SKIP][3] ([fdo#109315])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21600/fi-tgl-1115g4/igt@amdgpu/[email protected]

* igt@amdgpu/amd_cs_nop@nop-compute0:
- fi-ilk-650: NOTRUN -> [SKIP][4] ([fdo#109271]) +35 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21600/fi-ilk-650/igt@amdgpu/[email protected]

* igt@amdgpu/amd_cs_nop@nop-gfx0:
- fi-tgl-1115g4: NOTRUN -> [SKIP][5] ([fdo#109315] / [i915#2575]) +16 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21600/fi-tgl-1115g4/igt@amdgpu/[email protected]

* igt@gem_huc_copy@huc-copy:
- fi-tgl-1115g4: NOTRUN -> [SKIP][6] ([i915#2190])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21600/fi-tgl-1115g4/igt@[email protected]

* igt@i915_pm_backlight@basic-brightness:
- fi-tgl-1115g4: NOTRUN -> [SKIP][7] ([i915#1155])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21600/fi-tgl-1115g4/igt@[email protected]

* igt@i915_selftest@live@execlists:
- fi-bsw-nick: NOTRUN -> [INCOMPLETE][8] ([i915#2940])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21600/fi-bsw-nick/igt@i915_selftest@[email protected]
- fi-bsw-kefka: [PASS][9] -> [INCOMPLETE][10] ([i915#2940])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10886/fi-bsw-kefka/igt@i915_selftest@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21600/fi-bsw-kefka/igt@i915_selftest@[email protected]

* igt@i915_selftest@live@hangcheck:
- fi-snb-2600: [PASS][11] -> [INCOMPLETE][12] ([i915#3921])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10886/fi-snb-2600/igt@i915_selftest@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21600/fi-snb-2600/igt@i915_selftest@[email protected]

* igt@kms_chamelium@common-hpd-after-suspend:
- fi-tgl-1115g4: NOTRUN -> [SKIP][13] ([fdo#111827]) +8 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21600/fi-tgl-1115g4/igt@[email protected]

* igt@kms_chamelium@dp-crc-fast:
- fi-bsw-nick: NOTRUN -> [SKIP][14] ([fdo#109271] / [fdo#111827]) +8 similar issues
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21600/fi-bsw-nick/igt@[email protected]

* igt@kms_chamelium@dp-hpd-fast:
- fi-ilk-650: NOTRUN -> [SKIP][15] ([fdo#109271] / [fdo#111827]) +8 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21600/fi-ilk-650/igt@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-tgl-1115g4: NOTRUN -> [SKIP][16] ([i915#4103]) +1 similar issue
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21600/fi-tgl-1115g4/igt@[email protected]

* igt@kms_force_connector_basic@force-load-detect:
- fi-tgl-1115g4: NOTRUN -> [SKIP][17] ([fdo#109285])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21600/fi-tgl-1115g4/igt@[email protected]

* igt@kms_frontbuffer_tracking@basic:
- fi-cml-u2: [PASS][18] -> [DMESG-WARN][19] ([i915#4269])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10886/fi-cml-u2/igt@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21600/fi-cml-u2/igt@[email protected]

* igt@kms_psr@primary_mmap_gtt:
- fi-tgl-1115g4: NOTRUN -> [SKIP][20] ([i915#1072]) +3 similar issues
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21600/fi-tgl-1115g4/igt@kms_psr@primary_mmap_gtt.html

* igt@prime_vgem@basic-fence-flip:
- fi-bsw-nick: NOTRUN -> [SKIP][21] ([fdo#109271]) +39 similar issues
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21600/fi-bsw-nick/igt@[email protected]

* igt@prime_vgem@basic-userptr:
- fi-tgl-1115g4: NOTRUN -> [SKIP][22] ([i915#3301])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21600/fi-tgl-1115g4/igt@[email protected]

* igt@runner@aborted:
- fi-bsw-kefka: NOTRUN -> [FAIL][23] ([fdo#109271] / [i915#1436] / [i915#2722] / [i915#3428] / [i915#4312])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21600/fi-bsw-kefka/igt@[email protected]
- fi-skl-6600u: NOTRUN -> [FAIL][24] ([i915#2722] / [i915#3363] / [i915#4312])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21600/fi-skl-6600u/igt@[email protected]

#### Possible fixes ####

* igt@gem_exec_suspend@basic-s3:
- fi-bsw-nick: [DMESG-WARN][25] ([i915#4324]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10886/fi-bsw-nick/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21600/fi-bsw-nick/igt@[email protected]

#### Warnings ####

* igt@runner@aborted:
- fi-bsw-nick: [FAIL][27] ([i915#1602] / [i915#3690] / [i915#4312]) -> [FAIL][28] ([fdo#109271] / [i915#1436] / [i915#3428] / [i915#4312])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10886/fi-bsw-nick/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21600/fi-bsw-nick/igt@[email protected]

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1155]: https://gitlab.freedesktop.org/drm/intel/issues/1155
[i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436
[i915#1602]: https://gitlab.freedesktop.org/drm/intel/issues/1602
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2722]: https://gitlab.freedesktop.org/drm/intel/issues/2722
[i915#2940]: https://gitlab.freedesktop.org/drm/intel/issues/2940
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#3303]: https://gitlab.freedesktop.org/drm/intel/issues/3303
[i915#3363]: https://gitlab.freedesktop.org/drm/intel/issues/3363
[i915#3428]: https://gitlab.freedesktop.org/drm/intel/issues/3428
[i915#3690]: https://gitlab.freedesktop.org/drm/intel/issues/3690
[i915#3921]: https://gitlab.freedesktop.org/drm/intel/issues/3921
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4269]: https://gitlab.freedesktop.org/drm/intel/issues/4269
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4324]: https://gitlab.freedesktop.org/drm/intel/issues/4324

Build changes
-------------

* Linux: CI_DRM_10886 -> Patchwork_21600

CI-20190529: 20190529
CI_DRM_10886: 1497355cdd0a857944ecbe19163503b26d9fe92f @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6280: 246bfd31dba6bf184b26b170d91d72c90a54be6b @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_21600: 4c4795e8cf1692b6e9179889b23edb0692824063 @ git://anongit.freedesktop.org/gfx-ci/linux

== Linux commits ==

4c4795e8cf16 drm/i915/trace: split out display trace to a separate file 85123f803866 drm/i915/trace: clean up boilerplate organization

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21600/index.html