[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/3] drm/i915/gt: Prevent timeslicing into unpreemptable requests

Patchwork patchwork at emeril.freedesktop.org
Thu May 28 08:21:59 UTC 2020


== Series Details ==

Series: series starting with [1/3] drm/i915/gt: Prevent timeslicing into unpreemptable requests
URL   : https://patchwork.freedesktop.org/series/77730/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
006567321620 drm/i915/gt: Prevent timeslicing into unpreemptable requests
78e4f820cf01 drm/i915/gt: Don't declare hangs if engine is stalled
ee61f90a8c75 drm/i915: Track i915_vma with its own reference counter
-:2210: CHECK:UNCOMMENTED_DEFINITION: spinlock_t definition without comment
#2210: FILE: drivers/gpu/drm/i915/gt/intel_gtt.h:267:
+		spinlock_t lock;

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

-:4123: WARNING:BRACES: braces {} are not necessary for single statement blocks
#4123: FILE: drivers/gpu/drm/i915/selftests/i915_gem_gtt.c:149:
+	if (IS_ERR(obj)) {
+		return ERR_CAST(obj);
+	}

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

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

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

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

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

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

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

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

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

total: 0 errors, 10 warnings, 2 checks, 4744 lines checked



More information about the Intel-gfx mailing list