[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] drm/i915: Track i915_vma with its own reference counter

Patchwork patchwork at emeril.freedesktop.org
Fri May 29 12:31:05 UTC 2020


== Series Details ==

Series: series starting with [1/2] drm/i915: Track i915_vma with its own reference counter
URL   : https://patchwork.freedesktop.org/series/77784/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
5ddf1d723df5 drm/i915: Track i915_vma with its own reference counter
-:2232: CHECK:UNCOMMENTED_DEFINITION: spinlock_t definition without comment
#2232: FILE: drivers/gpu/drm/i915/gt/intel_gtt.h:267:
+		spinlock_t lock;

-:4006: CHECK:UNCOMMENTED_DEFINITION: spinlock_t definition without comment
#4006: FILE: drivers/gpu/drm/i915/i915_vma.h:386:
+	spinlock_t lock;

-:4253: WARNING:DEEP_INDENTATION: Too many leading tabs - consider code refactoring
#4253: FILE: drivers/gpu/drm/i915/selftests/i915_gem_gtt.c:394:
+						if (offset < hole_start + vma->size)

-:4264: WARNING:LONG_LINE: line over 100 characters
#4264: FILE: drivers/gpu/drm/i915/selftests/i915_gem_gtt.c:402:
+						       __func__, p->name, err, npages, prime, offset,

-:4274: WARNING:DEEP_INDENTATION: Too many leading tabs - consider code refactoring
#4274: FILE: drivers/gpu/drm/i915/selftests/i915_gem_gtt.c:419:
+						if (offset + vma->node.size > hole_end)

-:4290: WARNING:DEEP_INDENTATION: Too many leading tabs - consider code refactoring
#4290: FILE: drivers/gpu/drm/i915/selftests/i915_gem_gtt.c:428:
+						if (offset < hole_start + vma->node.size)

-:4302: WARNING:DEEP_INDENTATION: Too many leading tabs - consider code refactoring
#4302: FILE: drivers/gpu/drm/i915/selftests/i915_gem_gtt.c:451:
+						if (offset + vma->node.size > hole_end)

-:4318: WARNING:DEEP_INDENTATION: Too many leading tabs - consider code refactoring
#4318: FILE: drivers/gpu/drm/i915/selftests/i915_gem_gtt.c:460:
+						if (offset < hole_start + vma->node.size)

-:4330: WARNING:DEEP_INDENTATION: Too many leading tabs - consider code refactoring
#4330: FILE: drivers/gpu/drm/i915/selftests/i915_gem_gtt.c:484:
+						if (offset + vma->size >= hole_end)

-:4346: WARNING:DEEP_INDENTATION: Too many leading tabs - consider code refactoring
#4346: FILE: drivers/gpu/drm/i915/selftests/i915_gem_gtt.c:493:
+						if (offset < hole_start + vma->size)

-:4358: WARNING:DEEP_INDENTATION: Too many leading tabs - consider code refactoring
#4358: FILE: drivers/gpu/drm/i915/selftests/i915_gem_gtt.c:516:
+						if (offset + vma->size >= hole_end)

total: 0 errors, 9 warnings, 2 checks, 4783 lines checked
fd7715d1f5e5 drm/i915: Discard a misplaced GGTT vma



More information about the Intel-gfx mailing list