[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm: Introduce struct drm_device based WARN* and use them in i915 (rev7)

Patchwork patchwork at emeril.freedesktop.org
Thu Feb 20 21:26:08 UTC 2020


== Series Details ==

Series: drm: Introduce struct drm_device based WARN* and use them in i915 (rev7)
URL   : https://patchwork.freedesktop.org/series/72035/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
f3e1e10ac32d drm/i915/display/cdclk: Make WARN* drm specific where drm_priv ptr is available
37b11379faf7 drm/i915/display/ddi: Make WARN* drm specific where drm_device ptr is available
0a9eccf2eb1a drm/i915/display/display: Make WARN* drm specific where drm_device ptr is available
-:497: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#497: FILE: drivers/gpu/drm/i915/display/intel_display.c:10699:
+		drm_WARN_ON(dev, !pll->info->funcs->get_hw_state(dev_priv, pll,
+						 &pipe_config->dpll_hw_state));

total: 0 errors, 0 warnings, 1 checks, 657 lines checked
bca7c0209467 drm/i915/display/power: Make WARN* drm specific where drm_priv ptr is available
714a69f8bd80 drm/i915/display/dp: Make WARN* drm specific where drm_device ptr is available
7fd6b4d78e27 drm/i915/display/hdcp: Make WARN* drm specific where drm_priv ptr is available
-:103: WARNING:LONG_LINE: line over 100 characters
#103: FILE: drivers/gpu/drm/i915/display/intel_hdcp.c:1604:
+	drm_WARN_ON(&dev_priv->drm, !(intel_de_read(dev_priv, HDCP2_STATUS(dev_priv, cpu_transcoder, port)) &

total: 0 errors, 1 warnings, 0 checks, 56 lines checked
820962439df7 drm/i915/gvt: Make WARN* drm specific where drm_priv ptr is available
5e643f5a8467 drm/i915/gvt: Make WARN* drm specific where vgpu ptr is available
-:293: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#293: FILE: drivers/gpu/drm/i915/gvt/handlers.c:1373:
+		drm_WARN_ONCE(&i915->drm, 1,
+				"VM(%d): iGVT-g doesn't support GuC\n",

-:307: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#307: FILE: drivers/gpu/drm/i915/gvt/handlers.c:1389:
+		drm_WARN(&i915->drm, 1,
+				"VM(%d): Use physical address for TRTT!\n",

total: 0 errors, 0 warnings, 2 checks, 519 lines checked



More information about the Intel-gfx mailing list