✗ Fi.CI.CHECKPATCH: warning for drm/i915/pfit: Panel fitter stuff

Patchwork patchwork at emeril.freedesktop.org
Wed Oct 16 19:59:06 UTC 2024


== Series Details ==

Series: drm/i915/pfit: Panel fitter stuff
URL   : https://patchwork.freedesktop.org/series/140066/
State : warning

== Summary ==

Error: dim checkpatch failed
df5c45ccdc0b drm/i915/pfit: Check pipe source size against pfit limits on ILK-BDW
32e09391e38a drm/i915/pfit: Check pfit scaling factors on ILK-BDW
da314a733c24 drm/i915/pfit: Reject pfit downscaling for GMCH platforms
f55885cd7645 drm/i915/pfit: Check pfit minimum timings in pre-SKL
dde2416f0585 drm/i915/pfit: Reject cloning when using pfit on ILK-BDW
458d45d38d7b drm/i915/pfit: Check pfit destination window on ILK-BDW
b13556b67b99 drm/i915/panel: Convert panel code to intel_display
531fe8f3bab7 drm/i915/pfit: Extract intel_pfit.c
-:657: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#657: 
new file mode 100644

-:861: CHECK:SPACING: spaces preferred around that '/' (ctx:VxV)
#861: FILE: drivers/gpu/drm/i915/display/intel_pfit.c:200:
+		x = (adjusted_mode->crtc_hdisplay - width + 1)/2;
 		                                              ^

-:862: CHECK:SPACING: spaces preferred around that '/' (ctx:VxV)
#862: FILE: drivers/gpu/drm/i915/display/intel_pfit.c:201:
+		y = (adjusted_mode->crtc_vdisplay - height + 1)/2;
 		                                               ^

-:886: CHECK:MULTIPLE_ASSIGNMENTS: multiple assignments should be avoided
#886: FILE: drivers/gpu/drm/i915/display/intel_pfit.c:225:
+				x = y = 0;

-:898: CHECK:MULTIPLE_ASSIGNMENTS: multiple assignments should be avoided
#898: FILE: drivers/gpu/drm/i915/display/intel_pfit.c:237:
+		x = y = 0;

-:995: WARNING:LINE_SPACING: Missing a blank line after declarations
#995: FILE: drivers/gpu/drm/i915/display/intel_pfit.c:334:
+	u32 ratio = source * FACTOR / target;
+	return (FACTOR * ratio + FACTOR/2) / FACTOR;

-:995: CHECK:SPACING: spaces preferred around that '/' (ctx:VxV)
#995: FILE: drivers/gpu/drm/i915/display/intel_pfit.c:334:
+	return (FACTOR * ratio + FACTOR/2) / FACTOR;
 	                               ^

total: 0 errors, 2 warnings, 5 checks, 1189 lines checked
55ebe385d8e2 drm/i915: Remove ckey/format checks from skl_update_scaler_plane()




More information about the Intel-gfx mailing list