[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [01/23] Revert "drm/i915/gem: Drop relocation slowpath"
== Series Details == Series: series starting with [01/23] Revert "drm/i915/gem: Drop relocation slowpath" URL : https://patchwork.freedesktop.org/series/75303/ State : warning == Summary == $ dim checkpatch origin/drm-tip eeef100fe92e Revert "drm/i915/gem: Drop relocation slowpath" -:78: WARNING:LINE_SPACING: Missing a blank line after declarations #78: FILE: drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:1602: + int err = __get_user(c, addr); + if (err) total: 0 errors, 1 warnings, 0 checks, 257 lines checked 9a40fc4e0126 perf/core: Only copy-to-user after completely unlocking all locks. -:17: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line) #17: <4> [604.892540] 8264a558 (rcu_state.barrier_mutex){+.+.}, at: rcu_barrier+0x23/0x190 -:197: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #197: FILE: kernel/events/core.c:5008: +__perf_read(struct perf_event *event, char __user *buf, + size_t count, u64 **values) total: 0 errors, 1 warnings, 1 checks, 129 lines checked bf82242e9adb drm/i915: Add an implementation for i915_gem_ww_ctx locking, v2. -:506: WARNING:LONG_LINE: line over 100 characters #506: FILE: drivers/gpu/drm/i915/i915_gem.c:1338: + while ((obj = list_first_entry_or_null(&ww->obj_list, struct drm_i915_gem_object, obj_link))) { total: 0 errors, 1 warnings, 0 checks, 481 lines checked d25a2e312d46 drm/i915: Remove locking from i915_gem_object_prepare_read/write 916faf76594a drm/i915: Parse command buffer earlier in eb_relocate(slow) 4541b2c7c495 Revert "drm/i915/gem: Split eb_vma into its own allocation" 56ce33f78717 drm/i915: Use per object locking in execbuf, v7. 3df3f15a61a1 drm/i915: Use ww locking in intel_renderstate. -:10: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line) #10: Convert to using ww-waiting, and make sure we always pin intel_context_state, total: 0 errors, 1 warnings, 0 checks, 202 lines checked c1e7cee727f1 drm/i915: Add ww context handling to context_barrier_task -:19: WARNING:LONG_LINE: line over 100 characters #19: FILE: drivers/gpu/drm/i915/gem/i915_gem_context.c:1100: + int (*pin)(struct intel_context *ce, struct i915_gem_ww_ctx *ww, void *data), total: 0 errors, 1 warnings, 0 checks, 146 lines checked 5146c267604d drm/i915: Nuke arguments to eb_pin_engine 854e2ee83997 drm/i915: Pin engine before pinning all objects, v3. d48be0119197 drm/i915: Rework intel_context pinning to do everything outside of pin_mutex -:125: CHECK:LINE_SPACING: Please don't use multiple blank lines #125: FILE: drivers/gpu/drm/i915/gt/intel_context.c:176: + + -:340: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #340: FILE: drivers/gpu/drm/i915/gt/intel_lrc.c:3099: + *vaddr = i915_gem_object_pin_map(ce->state->obj, + i915_coherent_map_type(ce->engine->i915) | total: 0 errors, 0 warnings, 2 checks, 445 lines checked 147622f95cc6 drm/i915: Make sure execbuffer always passes ww state to i915_vma_pin. -:80: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #80: FILE: drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:573: + err = i915_vma_pin_ww(vma, &eb->ww, entry->pad_to_size, entry->alignment, -:188: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #188: FILE: drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:2195: +* hsw should have this fixed, but bdw mucks it up again. */ total: 0 errors, 1 warnings, 1 checks, 812 lines checked b2ff840394a8 drm/i915: Convert i915_gem_object/client_blt.c to use ww locking as well, v2. c986782b8ae9 drm/i915: Kill last user of intel_context_create_request outside of selftests e20a2878f608 drm/i915: Convert i915_perf to ww locking as well e18d1f7e2329 drm/i915: Dirty hack to fix selftests locking inversion 46a71cab08bb drm/i915/selftests: Fix locking inversion in lrc selftest. 2b05d002a697 drm/i915: Use ww pinning for intel_context_create_request() 9b4f1c5ce49e drm/i915: Move i915_vma_lock in the selftests to avoid lock inversion, v2. 837267b4880f drm/i915: Add ww locking to vm_fault_gtt -:7: WARNING:COMMIT_MESSAGE: Missing commit description - Add an appropriate one total: 0 errors, 1 warnings, 0 checks, 91 lines checked 46887931504c drm/i915: Add ww locking to pin_to_display_plane -:7: WARNING:COMMIT_MESSAGE: Missing commit description - Add an appropriate one total: 0 errors, 1 warnings, 0 checks, 129 lines checked 783376875259 drm/i915: Ensure we hold the pin mutex -:7: WARNING:COMMIT_MESSAGE: Missing commit description - Add an appropriate one total: 0 errors, 1 warnings, 0 checks, 37 lines checked ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx
[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [01/23] Revert "drm/i915/gem: Drop relocation slowpath".
== Series Details == Series: series starting with [01/23] Revert "drm/i915/gem: Drop relocation slowpath". URL : https://patchwork.freedesktop.org/series/77157/ State : warning == Summary == $ dim checkpatch origin/drm-tip 0aaea3234436 Revert "drm/i915/gem: Drop relocation slowpath". -:80: WARNING:LINE_SPACING: Missing a blank line after declarations #80: FILE: drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:1803: + int err = __get_user(c, addr); + if (err) total: 0 errors, 1 warnings, 0 checks, 264 lines checked 9a24cb4208cf drm/i915: Add an implementation for i915_gem_ww_ctx locking, v2. -:493: WARNING:LONG_LINE: line over 100 characters #493: FILE: drivers/gpu/drm/i915/i915_gem.c:1341: + while ((obj = list_first_entry_or_null(&ww->obj_list, struct drm_i915_gem_object, obj_link))) { total: 0 errors, 1 warnings, 0 checks, 473 lines checked da6543171a28 drm/i915: Remove locking from i915_gem_object_prepare_read/write b4294a4e8c79 drm/i915: Parse command buffer earlier in eb_relocate(slow) 8c174e0cbf17 Revert "drm/i915/gem: Split eb_vma into its own allocation" 14dd86165b50 drm/i915/gem: Make eb_add_lut interruptible wait on object lock. 00f11bf30626 drm/i915: Use per object locking in execbuf, v10. -:463: CHECK:LINE_SPACING: Please don't use multiple blank lines #463: FILE: drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:1398: + -:510: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #510: FILE: drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:1510: +static int __reloc_entry_gpu(struct i915_execbuffer *eb, struct i915_vma *vma, -:530: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #530: FILE: drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:1583: +static int reloc_entry_gpu(struct i915_execbuffer *eb, struct i915_vma *vma, -:542: ERROR:TRAILING_WHITESPACE: trailing whitespace #542: FILE: drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:1608: +^I$ -:812: CHECK:MULTIPLE_ASSIGNMENTS: multiple assignments should be avoided #812: FILE: drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:2964: + eb.reloc_pool = eb.batch_pool = NULL; total: 1 errors, 0 warnings, 4 checks, 814 lines checked 44e976369721 drm/i915: Use ww locking in intel_renderstate. -:10: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line) #10: Convert to using ww-waiting, and make sure we always pin intel_context_state, total: 0 errors, 1 warnings, 0 checks, 207 lines checked d851a23c94b8 drm/i915: Add ww context handling to context_barrier_task -:19: WARNING:LONG_LINE: line over 100 characters #19: FILE: drivers/gpu/drm/i915/gem/i915_gem_context.c:1097: + int (*pin)(struct intel_context *ce, struct i915_gem_ww_ctx *ww, void *data), total: 0 errors, 1 warnings, 0 checks, 146 lines checked 9a1134737bbc drm/i915: Nuke arguments to eb_pin_engine 9b8010e45479 drm/i915: Pin engine before pinning all objects, v4. 00a5ba0089e7 drm/i915: Rework intel_context pinning to do everything outside of pin_mutex -:125: CHECK:LINE_SPACING: Please don't use multiple blank lines #125: FILE: drivers/gpu/drm/i915/gt/intel_context.c:176: + + -:338: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #338: FILE: drivers/gpu/drm/i915/gt/intel_lrc.c:3442: + *vaddr = i915_gem_object_pin_map(ce->state->obj, + i915_coherent_map_type(ce->engine->i915) | total: 0 errors, 0 warnings, 2 checks, 435 lines checked 85b6b79ec10b drm/i915: Make sure execbuffer always passes ww state to i915_vma_pin. -:95: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #95: FILE: drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:596: + err = i915_vma_pin_ww(vma, &eb->ww, entry->pad_to_size, entry->alignment, -:213: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #213: FILE: drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:2463: +* hsw should have this fixed, but bdw mucks it up again. */ total: 0 errors, 1 warnings, 1 checks, 850 lines checked 1ba54a26c74e drm/i915: Convert i915_gem_object/client_blt.c to use ww locking as well, v2. fed9e78e3bb2 drm/i915: Kill last user of intel_context_create_request outside of selftests bf1fb0d4b146 drm/i915: Convert i915_perf to ww locking as well 04673ded2e72 drm/i915: Dirty hack to fix selftests locking inversion 335f6e4eb962 drm/i915/selftests: Fix locking inversion in lrc selftest. 46c98f32fbb8 drm/i915: Use ww pinning for intel_context_create_request() 8b76540cc9cc drm/i915: Move i915_vma_lock in the selftests to avoid lock inversion, v2. a4e2007e088c drm/i915: Add ww locking to vm_fault_gtt -:7: WARNING:COMMIT_MESSAGE: Missing commit description - Add an appropriate one total: 0 errors, 1 warnings, 0 checks, 91 lines checked ba65480d9131 drm/i915: Add ww locking to pin_to
[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [01/23] Revert "drm/i915/gem: Drop relocation slowpath".
== Series Details == Series: series starting with [01/23] Revert "drm/i915/gem: Drop relocation slowpath". URL : https://patchwork.freedesktop.org/series/77472/ State : warning == Summary == $ dim checkpatch origin/drm-tip e8a9ca7ebbde Revert "drm/i915/gem: Drop relocation slowpath". -:80: WARNING:LINE_SPACING: Missing a blank line after declarations #80: FILE: drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:1803: + int err = __get_user(c, addr); + if (err) total: 0 errors, 1 warnings, 0 checks, 264 lines checked 72f5c5b30070 drm/i915: Add an implementation for i915_gem_ww_ctx locking, v2. -:493: WARNING:LONG_LINE: line over 100 characters #493: FILE: drivers/gpu/drm/i915/i915_gem.c:1341: + while ((obj = list_first_entry_or_null(&ww->obj_list, struct drm_i915_gem_object, obj_link))) { total: 0 errors, 1 warnings, 0 checks, 473 lines checked a468a7cf573c drm/i915: Remove locking from i915_gem_object_prepare_read/write 0d1389fe4823 drm/i915: Parse command buffer earlier in eb_relocate(slow) 0959c95aca1a Revert "drm/i915/gem: Split eb_vma into its own allocation" 351faedf629a drm/i915/gem: Make eb_add_lut interruptible wait on object lock. 1e76b4db6002 drm/i915: Use per object locking in execbuf, v10. -:463: CHECK:LINE_SPACING: Please don't use multiple blank lines #463: FILE: drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:1398: + -:510: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #510: FILE: drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:1510: +static int __reloc_entry_gpu(struct i915_execbuffer *eb, struct i915_vma *vma, -:530: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #530: FILE: drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:1583: +static int reloc_entry_gpu(struct i915_execbuffer *eb, struct i915_vma *vma, -:542: ERROR:TRAILING_WHITESPACE: trailing whitespace #542: FILE: drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:1608: +^I$ -:801: CHECK:MULTIPLE_ASSIGNMENTS: multiple assignments should be avoided #801: FILE: drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:2948: + eb.reloc_pool = eb.batch_pool = NULL; total: 1 errors, 0 warnings, 4 checks, 803 lines checked 710f752755c1 drm/i915: Use ww locking in intel_renderstate. -:10: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line) #10: Convert to using ww-waiting, and make sure we always pin intel_context_state, total: 0 errors, 1 warnings, 0 checks, 209 lines checked a42f3dac28b8 drm/i915: Add ww context handling to context_barrier_task -:19: WARNING:LONG_LINE: line over 100 characters #19: FILE: drivers/gpu/drm/i915/gem/i915_gem_context.c:1097: + int (*pin)(struct intel_context *ce, struct i915_gem_ww_ctx *ww, void *data), total: 0 errors, 1 warnings, 0 checks, 146 lines checked b428669fca95 drm/i915: Nuke arguments to eb_pin_engine b5516731f269 drm/i915: Pin engine before pinning all objects, v4. 8e0a6a165baf drm/i915: Rework intel_context pinning to do everything outside of pin_mutex -:125: CHECK:LINE_SPACING: Please don't use multiple blank lines #125: FILE: drivers/gpu/drm/i915/gt/intel_context.c:176: + + -:338: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #338: FILE: drivers/gpu/drm/i915/gt/intel_lrc.c:3437: + *vaddr = i915_gem_object_pin_map(ce->state->obj, + i915_coherent_map_type(ce->engine->i915) | total: 0 errors, 0 warnings, 2 checks, 435 lines checked 105f0b34fcf5 drm/i915: Make sure execbuffer always passes ww state to i915_vma_pin. -:95: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #95: FILE: drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:596: + err = i915_vma_pin_ww(vma, &eb->ww, entry->pad_to_size, entry->alignment, -:213: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #213: FILE: drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:2463: +* hsw should have this fixed, but bdw mucks it up again. */ total: 0 errors, 1 warnings, 1 checks, 850 lines checked 12ec08c8537e drm/i915: Convert i915_gem_object/client_blt.c to use ww locking as well, v2. 5a24cea35c94 drm/i915: Kill last user of intel_context_create_request outside of selftests 99b1d3502005 drm/i915: Convert i915_perf to ww locking as well 30c1a144d8d8 drm/i915: Dirty hack to fix selftests locking inversion dd08b28e8648 drm/i915/selftests: Fix locking inversion in lrc selftest. cb9f17485972 drm/i915: Use ww pinning for intel_context_create_request() a1c6650bd9c8 drm/i915: Move i915_vma_lock in the selftests to avoid lock inversion, v2. -:108: ERROR:TRAILING_WHITESPACE: trailing whitespace #108: FILE: drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c:154: +^I^Ii915_gem_ww_ctx_fini(&eb.ww); $ total: 1 errors, 0 warnings, 0 checks, 347 lines checked dd51ae3087a8 drm
[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [01/23] Revert "drm/i915/gem: Drop relocation slowpath". (rev2)
== Series Details == Series: series starting with [01/23] Revert "drm/i915/gem: Drop relocation slowpath". (rev2) URL : https://patchwork.freedesktop.org/series/77472/ State : warning == Summary == $ dim checkpatch origin/drm-tip d9487c8b0b0d Revert "drm/i915/gem: Drop relocation slowpath". -:80: WARNING:LINE_SPACING: Missing a blank line after declarations #80: FILE: drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:1802: + int err = __get_user(c, addr); + if (err) total: 0 errors, 1 warnings, 0 checks, 264 lines checked a6440b9f94ef drm/i915: Add an implementation for i915_gem_ww_ctx locking, v2. -:493: WARNING:LONG_LINE: line over 100 characters #493: FILE: drivers/gpu/drm/i915/i915_gem.c:1341: + while ((obj = list_first_entry_or_null(&ww->obj_list, struct drm_i915_gem_object, obj_link))) { total: 0 errors, 1 warnings, 0 checks, 473 lines checked e8da908480c7 drm/i915: Remove locking from i915_gem_object_prepare_read/write ef08f55abbdc drm/i915: Parse command buffer earlier in eb_relocate(slow) f044defb7a38 Revert "drm/i915/gem: Split eb_vma into its own allocation" 1c64f1102879 drm/i915/gem: Make eb_add_lut interruptible wait on object lock. e4ec453ceb93 drm/i915: Use per object locking in execbuf, v10. -:463: CHECK:LINE_SPACING: Please don't use multiple blank lines #463: FILE: drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:1398: + -:510: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #510: FILE: drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:1510: +static int __reloc_entry_gpu(struct i915_execbuffer *eb, struct i915_vma *vma, -:530: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #530: FILE: drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:1583: +static int reloc_entry_gpu(struct i915_execbuffer *eb, struct i915_vma *vma, -:542: ERROR:TRAILING_WHITESPACE: trailing whitespace #542: FILE: drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:1608: +^I$ -:801: CHECK:MULTIPLE_ASSIGNMENTS: multiple assignments should be avoided #801: FILE: drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:2947: + eb.reloc_pool = eb.batch_pool = NULL; total: 1 errors, 0 warnings, 4 checks, 803 lines checked 456650be2110 drm/i915: Use ww locking in intel_renderstate. -:10: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line) #10: Convert to using ww-waiting, and make sure we always pin intel_context_state, total: 0 errors, 1 warnings, 0 checks, 209 lines checked ae010588e8f7 drm/i915: Add ww context handling to context_barrier_task -:19: WARNING:LONG_LINE: line over 100 characters #19: FILE: drivers/gpu/drm/i915/gem/i915_gem_context.c:1097: + int (*pin)(struct intel_context *ce, struct i915_gem_ww_ctx *ww, void *data), total: 0 errors, 1 warnings, 0 checks, 146 lines checked 702fdc1c44ab drm/i915: Nuke arguments to eb_pin_engine 5252cb40e5b1 drm/i915: Pin engine before pinning all objects, v4. acc7cf29898a drm/i915: Rework intel_context pinning to do everything outside of pin_mutex -:125: CHECK:LINE_SPACING: Please don't use multiple blank lines #125: FILE: drivers/gpu/drm/i915/gt/intel_context.c:176: + + -:338: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #338: FILE: drivers/gpu/drm/i915/gt/intel_lrc.c:3441: + *vaddr = i915_gem_object_pin_map(ce->state->obj, + i915_coherent_map_type(ce->engine->i915) | total: 0 errors, 0 warnings, 2 checks, 435 lines checked be4ae42ef97a drm/i915: Make sure execbuffer always passes ww state to i915_vma_pin. -:95: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #95: FILE: drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:596: + err = i915_vma_pin_ww(vma, &eb->ww, entry->pad_to_size, entry->alignment, -:213: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #213: FILE: drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:2462: +* hsw should have this fixed, but bdw mucks it up again. */ total: 0 errors, 1 warnings, 1 checks, 850 lines checked ee11c6a35842 drm/i915: Convert i915_gem_object/client_blt.c to use ww locking as well, v2. 0a8312f18acd drm/i915: Kill last user of intel_context_create_request outside of selftests e275216d5a7b drm/i915: Convert i915_perf to ww locking as well c4ecc3f83b68 drm/i915: Dirty hack to fix selftests locking inversion 43ec8d9fdd0d drm/i915/selftests: Fix locking inversion in lrc selftest. 6ff9944cb187 drm/i915: Use ww pinning for intel_context_create_request() 238eed520bff drm/i915: Move i915_vma_lock in the selftests to avoid lock inversion, v2. -:108: ERROR:TRAILING_WHITESPACE: trailing whitespace #108: FILE: drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c:154: +^I^Ii915_gem_ww_ctx_fini(&eb.ww); $ total: 1 errors, 0 warnings, 0 checks, 347 lines checked a213e785a