✗ CI.checkpatch: warning for PF: Add functions to save and restore VF LMEM and CCS data (rev2)

Patchwork patchwork at emeril.freedesktop.org
Thu Oct 31 15:43:44 UTC 2024


== Series Details ==

Series: PF: Add functions to save and restore VF LMEM and CCS data (rev2)
URL   : https://patchwork.freedesktop.org/series/140050/
State : warning

== Summary ==

+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
30ab6715fc09baee6cc14cb3c89ad8858688d474
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 17cf5f14e8fbe87314a0950cbbcd836db73566e6
Author: Lukasz Laguna <lukasz.laguna at intel.com>
Date:   Thu Oct 31 16:17:25 2024 +0100

    drm/xe/pf: Allow to view and replace VF LMEM and CCS state over debugfs
    
    For feature enabling and testing purposes, allow to save VF LMEM and CCS
    state and to replace it using debugfs blob file, but only under strict
    debug config.
    
    Signed-off-by: Lukasz Laguna <lukasz.laguna at intel.com>
+ /mt/dim checkpatch 9c4962db90300e1d8daca8ed54195bc31d0ee932 drm-intel
0b962ba28081 drm/xe/migrate: Add function for raw copy of VRAM and CCS
61fb208e64ff drm/xe/bo: Add trylock helper for buffer objects
a3fa5cd1b00c drm/xe/pf: Add functions to save and restore VF LMEM and CCS data
17cf5f14e8fb drm/xe/pf: Allow to view and replace VF LMEM and CCS state over debugfs
-:154: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#154: FILE: drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c:413:
+	smem_bo = xe_bo_create_pin_map(xe, NULL, NULL, PAGE_ALIGN(chunk_size), ttm_bo_type_kernel,
+				      XE_BO_FLAG_SYSTEM | XE_BO_FLAG_NEEDS_CPU_ACCESS |

-:179: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#179: FILE: drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c:438:
+			xe_gt_sriov_dbg(gt, "Failed to copy the entire chunk (copied bytes: %ld, expected: %lu)\n",
+				ret, chunk_size);

-:209: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#209: FILE: drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c:468:
+	smem_bo = xe_bo_create_pin_map(xe, NULL, NULL, PAGE_ALIGN(count), ttm_bo_type_kernel,
+				      XE_BO_FLAG_SYSTEM | XE_BO_FLAG_NEEDS_CPU_ACCESS |

total: 0 errors, 0 warnings, 3 checks, 323 lines checked




More information about the Intel-xe mailing list