[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/5] drm/i915: Allow i915 to manage the vma offset nodes instead of drm core

Patchwork patchwork at emeril.freedesktop.org
Mon Aug 26 12:51:25 UTC 2019


== Series Details ==

Series: series starting with [1/5] drm/i915: Allow i915 to manage the vma offset nodes instead of drm core
URL   : https://patchwork.freedesktop.org/series/65793/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
f5bf965f51a8 drm/i915: Allow i915 to manage the vma offset nodes instead of drm core
-:425: CHECK:LINE_SPACING: Please don't use multiple blank lines
#425: FILE: drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c:387:
 
+

-:475: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#475: FILE: drivers/gpu/drm/i915/gt/intel_reset.c:653:
+			unmap_mapping_range(gt->i915->drm.anon_inode->i_mapping,
 				    drm_vma_node_offset_addr(node) + vma_offset,

total: 0 errors, 0 warnings, 2 checks, 484 lines checked
b1e0a0f8d0d9 drm/i915: Introduce DRM_I915_GEM_MMAP_OFFSET
-:127: WARNING:LONG_LINE: line over 100 characters
#127: FILE: include/uapi/drm/i915_drm.h:425:
+#define DRM_IOCTL_I915_GEM_MMAP_OFFSET		DRM_IOWR(DRM_COMMAND_BASE + DRM_I915_GEM_MMAP_OFFSET, struct drm_i915_gem_mmap_offset)

total: 0 errors, 1 warnings, 0 checks, 127 lines checked
2824d8871cc6 drm/i915: Add cpu fault handler for mmap_offset
a15b2877b235 drm/i915: define HAS_MAPPABLE_APERTURE
-:20: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'dev_priv' may be better as '(dev_priv)' to avoid precedence issues
#20: FILE: drivers/gpu/drm/i915/i915_drv.h:2113:
+#define HAS_MAPPABLE_APERTURE(dev_priv) (dev_priv->ggtt.mappable_end > 0)

total: 0 errors, 0 warnings, 1 checks, 8 lines checked
db6a41bc2840 drm/i915: cpu-map based dumb buffers
-:25: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#25: FILE: drivers/gpu/drm/i915/gem/i915_gem_mman.c:620:
+i915_gem_mmap_dumb(struct drm_file *file,
+		  struct drm_device *dev,

-:62: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#62: FILE: drivers/gpu/drm/i915/i915_drv.h:2304:
+int i915_gem_mmap_dumb(struct drm_file *file_priv, struct drm_device *dev,
 		      u32 handle, u64 *offset);

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



More information about the Intel-gfx mailing list