[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Some debugfs enhancements

Patchwork patchwork at emeril.freedesktop.org
Mon Dec 9 23:33:46 UTC 2019


== Series Details ==

Series: Some debugfs enhancements
URL   : https://patchwork.freedesktop.org/series/70658/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
112b55276b89 drm/i915/rps: Add frequency translation helpers
77e7a15ebe7b drm/i915/gt: Move power management debugfs files into gt
-:24: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#24: 
new file mode 100644

-:29: WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1
#29: FILE: drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c:1:
+/*

-:30: WARNING:SPDX_LICENSE_TAG: Misplaced SPDX-License-Identifier tag - use line 1 instead
#30: FILE: drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c:2:
+ * SPDX-License-Identifier: MIT

-:121: CHECK:BRACES: braces {} should be used on all arms of this statement
#121: FILE: drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c:93:
+		if (INTEL_GEN(i915) >= 9)
[...]
+		else {
[...]

-:123: CHECK:BRACES: Unbalanced braces around else statement
#123: FILE: drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c:95:
+		else {

-:442: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#442: FILE: drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c:414:
+		gen9_powergate_enable = intel_uncore_read(uncore,
+						GEN9_PG_ENABLE);

-:444: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#444: FILE: drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c:416:
+		gen9_powergate_status = intel_uncore_read(uncore,
+						GEN9_PWRGT_DOMAIN_STATUS);

-:457: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#457: FILE: drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c:429:
+		seq_printf(m, "Render Well Gating Enabled: %s\n",
+			yesno(gen9_powergate_enable & GEN9_RENDER_PG_ENABLE));

-:459: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#459: FILE: drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c:431:
+		seq_printf(m, "Media Well Gating Enabled: %s\n",
+			yesno(gen9_powergate_enable & GEN9_MEDIA_PG_ENABLE));

-:466: CHECK:CAMELCASE: Avoid CamelCase: <GEN6_RCn_MASK>
#466: FILE: drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c:438:
+	switch (gt_core_status & GEN6_RCn_MASK) {

-:491: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#491: FILE: drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c:463:
+		seq_printf(m, "Render Power Well: %s\n",
+			(gen9_powergate_status &

-:494: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#494: FILE: drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c:466:
+		seq_printf(m, "Media Power Well: %s\n",
+			(gen9_powergate_status &

-:628: WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1
#628: FILE: drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.h:1:
+/*

-:629: WARNING:SPDX_LICENSE_TAG: Misplaced SPDX-License-Identifier tag - use line 1 instead
#629: FILE: drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.h:2:
+ * SPDX-License-Identifier: MIT

total: 0 errors, 5 warnings, 9 checks, 1287 lines checked



More information about the Intel-gfx mailing list