[Intel-xe] ✗ CI.checkpatch: warning for drm/xe/ppgtt: Add support for correct PAT encoding in PTE and PDE

Patchwork patchwork at emeril.freedesktop.org
Wed Jul 26 12:51:33 UTC 2023


== Series Details ==

Series: drm/xe/ppgtt: Add support for correct PAT encoding in PTE and PDE
URL   : https://patchwork.freedesktop.org/series/121354/
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
c7d32770e3cd31d9fc134ce41f329b10aa33ee15
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 54180e22fb94b501271e5cd25f01ac79c12160c6
Author: Ravi Kumar Vodapalli <ravi.kumar.vodapalli at intel.com>
Date:   Wed Jul 26 18:19:16 2023 +0530

    drm/xe/ppgtt: Add support for correct PAT encoding in PTE and PDE
    
    Different platforms has different PAT encoding in PTE and PDE format, add
    correct PAT encoding for pre-Xe2 platforms (XELP, XEHPC, XELPG).
    
    Bspec: 45101, 71582
    Signed-off-by: Ravi Kumar Vodapalli <ravi.kumar.vodapalli at intel.com>
+ /mt/dim checkpatch 3eb59fdaff17b28970c5be4fd00dba25b3ffb3f1 drm-intel
54180e22f drm/xe/ppgtt: Add support for correct PAT encoding in PTE and PDE
-:42: CHECK:LINE_SPACING: Please don't use multiple blank lines
#42: FILE: drivers/gpu/drm/xe/xe_pt.c:76:
 
+

-:86: CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#86: FILE: drivers/gpu/drm/xe/xe_pt.c:186:
+{
+

-:103: CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#103: FILE: drivers/gpu/drm/xe/xe_pt.c:203:
+{
+

-:136: ERROR:ELSE_AFTER_BRACE: else should follow close brace '}'
#136: FILE: drivers/gpu/drm/xe/xe_pt.c:236:
+	}
+	else if (GRAPHICS_VERx100(xe) >= 1260) {

-:150: ERROR:OPEN_BRACE: that open brace { should be on the previous line
#150: FILE: drivers/gpu/drm/xe/xe_pt.c:250:
+	else
+	{

-:150: ERROR:ELSE_AFTER_BRACE: else should follow close brace '}'
#150: FILE: drivers/gpu/drm/xe/xe_pt.c:250:
+	}
+	else

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




More information about the Intel-xe mailing list