[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/mtl: Define MOCS and PAT tables for MTL
Patchwork
patchwork at emeril.freedesktop.org
Sat Apr 1 07:03:57 UTC 2023
== Series Details ==
Series: drm/i915/mtl: Define MOCS and PAT tables for MTL
URL : https://patchwork.freedesktop.org/series/115980/
State : warning
== Summary ==
Error: dim checkpatch failed
4e6dff890525 drm/i915/mtl: Define MOCS and PAT tables for MTL
-:156: WARNING:AVOID_BUG: Do not crash the kernel unless it is absolutely unavoidable--use WARN_ON_ONCE() plus recovery code (if feasible) instead of BUG() or variants
#156: FILE: drivers/gpu/drm/i915/gt/intel_ggtt.c:229:
+ GEM_BUG_ON(addr & ~GEN12_GGTT_PTE_ADDR_MASK);
total: 0 errors, 1 warnings, 0 checks, 365 lines checked
fcee17736586 drm/i915/mtl: workaround coherency issue for Media
e18ea467eb36 drm/i915/mtl: end support for set caching ioctl
f424e91e447c drm/i915: preparation for using PAT index
1ec5d5d39c8f drm/i915: use pat_index instead of cache_level
-:22: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#22:
cached, uncached, or writethrough. For these simple cases, using cache_level
-:637: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#637: FILE: drivers/gpu/drm/i915/gt/gen8_ppgtt.c:878:
+ i915_gem_get_pat_index(vm->i915,
+ I915_CACHE_NONE));
-:907: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#907: FILE: drivers/gpu/drm/i915/gt/intel_ggtt.c:1303:
+ i915_gem_get_pat_index(vm->i915,
+ I915_CACHE_NONE),
-:1605: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#1605: FILE: drivers/gpu/drm/i915/i915_gem.c:424:
+ i915_gem_object_get_dma_address(obj,
+ offset >> PAGE_SHIFT),
-:1620: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#1620: FILE: drivers/gpu/drm/i915/i915_gem.c:606:
+ i915_gem_object_get_dma_address(obj,
+ offset >> PAGE_SHIFT),
-:1638: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#1638: FILE: drivers/gpu/drm/i915/i915_gpu_error.c:1121:
+ i915_gem_get_pat_index(gt->i915,
+ I915_CACHE_NONE),
-:1644: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#1644: FILE: drivers/gpu/drm/i915/i915_gpu_error.c:1126:
+ i915_gem_get_pat_index(gt->i915,
+ I915_CACHE_NONE),
-:1762: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#1762: FILE: drivers/gpu/drm/i915/selftests/i915_gem.c:62:
+ i915_gem_get_pat_index(i915,
+ I915_CACHE_NONE),
-:1808: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#1808: FILE: drivers/gpu/drm/i915/selftests/i915_gem_gtt.c:361:
+ i915_gem_get_pat_index(vm->i915,
+ I915_CACHE_NONE),
-:1820: ERROR:CODE_INDENT: code indent should use tabs where possible
#1820: FILE: drivers/gpu/drm/i915/selftests/i915_gem_gtt.c:1382:
+^I^I^I^I^I I915_CACHE_NONE),$
-:1820: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#1820: FILE: drivers/gpu/drm/i915/selftests/i915_gem_gtt.c:1382:
+ i915_gem_get_pat_index(i915,
+ I915_CACHE_NONE),
-:1854: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#1854: FILE: drivers/gpu/drm/i915/selftests/intel_memory_region.c:1075:
+ i915_gem_get_pat_index(i915,
+ I915_CACHE_NONE),
total: 1 errors, 1 warnings, 10 checks, 1584 lines checked
9b8791e38e3b drm/i915: make sure correct pte encode is used
-:26: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#26: FILE: drivers/gpu/drm/i915/gt/gen8_ppgtt.c:64:
+static u64 gen12_pte_encode(dma_addr_t addr,
unsigned int pat_index,
total: 0 errors, 0 warnings, 1 checks, 18 lines checked
01905d6d5429 drm/i915: Allow user to set cache at BO creation
More information about the Intel-gfx
mailing list