[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Add MTL PMU support for multi-gt

2023-05-19 Thread Patchwork
== Series Details ==

Series: Add MTL PMU support for multi-gt
URL   : https://patchwork.freedesktop.org/series/118034/
State : warning

== Summary ==

Error: dim checkpatch failed
b0667b45bb9b drm/i915/pmu: Change bitmask of enabled events to u32
3120083f65f4 drm/i915/pmu: Support PMU for all engines
cc2b26b90bb2 drm/i915/pmu: Skip sampling engines with no enabled counters
4bb62bb0f5b4 drm/i915/pmu: Transform PMU parking code to be GT based
dca8c7e0a4df drm/i915/pmu: Add reference counting to the sampling timer
ab1fae8f9e3f drm/i915/pmu: Prepare for multi-tile non-engine counters
-:106: WARNING:AVOID_BUG: Do not crash the kernel unless it is absolutely 
unavoidable--use WARN_ON_ONCE() plus recovery code (if feasible) instead of 
BUG() or variants
#106: FILE: drivers/gpu/drm/i915/i915_pmu.c:205:
+   GEM_BUG_ON(idx >= ARRAY_SIZE(pmu->sample));

total: 0 errors, 1 warnings, 0 checks, 338 lines checked
990ae3bbf7f2 drm/i915/pmu: Export counters from all tiles




[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Add MTL PMU support for multi-gt

2023-05-17 Thread Patchwork
== Series Details ==

Series: Add MTL PMU support for multi-gt
URL   : https://patchwork.freedesktop.org/series/117913/
State : warning

== Summary ==

Error: dim checkpatch failed
210d9b13e02b drm/i915/pmu: Change bitmask of enabled events to u32
1c19f595d54a drm/i915/pmu: Support PMU for all engines
b3f0a6813864 drm/i915/pmu: Skip sampling engines with no enabled counters
b566ba4d283f drm/i915/pmu: Transform PMU parking code to be GT based
866e5d18d35a drm/i915/pmu: Add reference counting to the sampling timer
42554172eb8c drm/i915/pmu: Prepare for multi-tile non-engine counters
-:105: WARNING:AVOID_BUG: Do not crash the kernel unless it is absolutely 
unavoidable--use WARN_ON_ONCE() plus recovery code (if feasible) instead of 
BUG() or variants
#105: FILE: drivers/gpu/drm/i915/i915_pmu.c:205:
+   GEM_BUG_ON(idx >= ARRAY_SIZE(pmu->sample));

total: 0 errors, 1 warnings, 0 checks, 338 lines checked
d4a8070fba6c drm/i915/pmu: Export counters from all tiles




[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Add MTL PMU support for multi-gt

2023-05-15 Thread Patchwork
== Series Details ==

Series: Add MTL PMU support for multi-gt
URL   : https://patchwork.freedesktop.org/series/117738/
State : warning

== Summary ==

Error: dim checkpatch failed
6114f8d0c211 drm/i915/pmu: Support PMU for all engines
8736cb79fd80 drm/i915/pmu: Skip sampling engines with no enabled counters
a758943c95f5 drm/i915/pmu: Transform PMU parking code to be GT based
e5548d8ca335 drm/i915/pmu: Add reference counting to the sampling timer
ccb4d59f4da6 drm/i915/pmu: Prepare for multi-tile non-engine counters
-:107: WARNING:AVOID_BUG: Do not crash the kernel unless it is absolutely 
unavoidable--use WARN_ON_ONCE() plus recovery code (if feasible) instead of 
BUG() or variants
#107: FILE: drivers/gpu/drm/i915/i915_pmu.c:194:
+   GEM_BUG_ON(idx >= ARRAY_SIZE(pmu->sample));

total: 0 errors, 1 warnings, 0 checks, 351 lines checked
fb34a531fb2d drm/i915/pmu: Export counters from all tiles




[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Add MTL PMU support for multi-gt (rev3)

2023-05-12 Thread Patchwork
== Series Details ==

Series: Add MTL PMU support for multi-gt (rev3)
URL   : https://patchwork.freedesktop.org/series/115836/
State : warning

== Summary ==

Error: dim checkpatch failed
676522fb00c9 drm/i915/pmu: Support PMU for all engines
61ea4272bfb6 drm/i915/pmu: Skip sampling engines with no enabled counters
9fe606b911b9 drm/i915/pmu: Transform PMU parking code to be GT based
43f184cc4b6d drm/i915/pmu: Add reference counting to the sampling timer
073311739b04 drm/i915/pmu: Prepare for multi-tile non-engine counters
-:106: WARNING:AVOID_BUG: Do not crash the kernel unless it is absolutely 
unavoidable--use WARN_ON_ONCE() plus recovery code (if feasible) instead of 
BUG() or variants
#106: FILE: drivers/gpu/drm/i915/i915_pmu.c:194:
+   GEM_BUG_ON(idx >= ARRAY_SIZE(pmu->sample));

total: 0 errors, 1 warnings, 0 checks, 351 lines checked
a68ee0bfca8f drm/i915/pmu: Export counters from all tiles




[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Add MTL PMU support for multi-gt (rev2)

2023-05-05 Thread Patchwork
== Series Details ==

Series: Add MTL PMU support for multi-gt (rev2)
URL   : https://patchwork.freedesktop.org/series/115836/
State : warning

== Summary ==

Error: dim checkpatch failed
4fcbc0ab4f43 drm/i915/pmu: Support PMU for all engines
64197b1bcaba drm/i915/pmu: Skip sampling engines with no enabled counters
aefd29011a00 drm/i915/pmu: Transform PMU parking code to be GT based
1a9fda0a5224 drm/i915/pmu: Add reference counting to the sampling timer
ff7ecb6be508 drm/i915/pmu: Prepare for multi-tile non-engine counters
-:60: WARNING:AVOID_BUG: Do not crash the kernel unless it is absolutely 
unavoidable--use WARN_ON_ONCE() plus recovery code (if feasible) instead of 
BUG() or variants
#60: FILE: drivers/gpu/drm/i915/i915_pmu.c:99:
+   GEM_BUG_ON(config_gt_id(config));

-:109: WARNING:AVOID_BUG: Do not crash the kernel unless it is absolutely 
unavoidable--use WARN_ON_ONCE() plus recovery code (if feasible) instead of 
BUG() or variants
#109: FILE: drivers/gpu/drm/i915/i915_pmu.c:197:
+   GEM_BUG_ON(idx >= ARRAY_SIZE(pmu->sample));

total: 0 errors, 2 warnings, 0 checks, 342 lines checked
94d6b886eeaf drm/i915/pmu: Export counters from all tiles




[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Add MTL PMU support for multi-gt

2023-03-29 Thread Patchwork
== Series Details ==

Series: Add MTL PMU support for multi-gt
URL   : https://patchwork.freedesktop.org/series/115836/
State : warning

== Summary ==

Error: dim checkpatch failed
11153695e917 drm/i915/pmu: Support PMU for all engines
e81f792130c7 drm/i915/pmu: Skip sampling engines with no enabled counters
ecedc375d617 drm/i915/pmu: Transform PMU parking code to be GT based
12bdfd2a45f4 drm/i915/pmu: Add reference counting to the sampling timer
927155f231d6 drm/i915/pmu: Prepare for multi-tile non-engine counters
-:54: WARNING:AVOID_BUG: Do not crash the kernel unless it is absolutely 
unavoidable--use WARN_ON_ONCE() plus recovery code (if feasible) instead of 
BUG() or variants
#54: FILE: drivers/gpu/drm/i915/i915_pmu.c:99:
+   GEM_BUG_ON(config_gt_id(config));

-:103: WARNING:AVOID_BUG: Do not crash the kernel unless it is absolutely 
unavoidable--use WARN_ON_ONCE() plus recovery code (if feasible) instead of 
BUG() or variants
#103: FILE: drivers/gpu/drm/i915/i915_pmu.c:197:
+   GEM_BUG_ON(idx >= ARRAY_SIZE(pmu->sample));

total: 0 errors, 2 warnings, 0 checks, 346 lines checked
ab6717f2e5ca drm/i915/pmu: Export counters from all tiles
2a5e80bfe71e drm/i915/pmu: Use a helper to convert to MHz
3b4e837ed3d7 drm/i915/pmu: Split reading engine and other events into helpers
7d0b9b050afc drm/i915/pmu: Enable legacy PMU events for MTL
-:241: WARNING:AVOID_BUG: Do not crash the kernel unless it is absolutely 
unavoidable--use WARN_ON_ONCE() plus recovery code (if feasible) instead of 
BUG() or variants
#241: FILE: drivers/gpu/drm/i915/i915_pmu.c:817:
+   GEM_BUG_ON(bit >= ARRAY_SIZE(pmu->enable_count));

-:242: WARNING:AVOID_BUG: Do not crash the kernel unless it is absolutely 
unavoidable--use WARN_ON_ONCE() plus recovery code (if feasible) instead of 
BUG() or variants
#242: FILE: drivers/gpu/drm/i915/i915_pmu.c:818:
+   GEM_BUG_ON(pmu->enable_count[bit] == ~0);

-:276: WARNING:AVOID_BUG: Do not crash the kernel unless it is absolutely 
unavoidable--use WARN_ON_ONCE() plus recovery code (if feasible) instead of 
BUG() or variants
#276: FILE: drivers/gpu/drm/i915/i915_pmu.c:909:
+   GEM_BUG_ON(bit >= ARRAY_SIZE(pmu->enable_count));

-:277: WARNING:AVOID_BUG: Do not crash the kernel unless it is absolutely 
unavoidable--use WARN_ON_ONCE() plus recovery code (if feasible) instead of 
BUG() or variants
#277: FILE: drivers/gpu/drm/i915/i915_pmu.c:910:
+   GEM_BUG_ON(pmu->enable_count[bit] == 0);

total: 0 errors, 4 warnings, 0 checks, 298 lines checked