[Intel-xe] ✗ CI.checkpatch: warning for xe: Add a uAPI to query micro-controler firmware version

Patchwork patchwork at emeril.freedesktop.org
Thu Sep 14 20:37:27 UTC 2023


== Series Details ==

Series: xe: Add a uAPI to query micro-controler firmware version
URL   : https://patchwork.freedesktop.org/series/123728/
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
63c2b6b160bca2df6efc7bc4cea6f442097d7854
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 804c84b998df8902075d43c31b0babdb6f9490e1
Author: José Roberto de Souza <jose.souza at intel.com>
Date:   Thu Sep 14 13:34:19 2023 -0700

    xe: Add a uAPI to query micro-controler firmware version
    
    Due to a bug in firmware Mesa can't enable by default usage of compute
    engines in DG2.
    
    A new GuC firmware fixed the issue but until know there was no way
    for Mesa to know if user was running with the fixed version or not,
    so this uAPI is required.
    
    I may be expanded in future to query other firmware versions.
    
    More information: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23661
    
    Signed-off-by: José Roberto de Souza <jose.souza at intel.com>
+ /mt/dim checkpatch aeac46cfaebff413254ac07837b97370c7ed3957 drm-intel
804c84b99 xe: Add a uAPI to query micro-controler firmware version
-:18: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#18: 
More information: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23661

-:57: WARNING:BRACES: braces {} are not necessary for single statement blocks
#57: FILE: drivers/gpu/drm/xe/xe_query.c:391:
+	if (copy_to_user(query_ptr, &resp, size)) {
+		return -EFAULT;
+	}

total: 0 errors, 2 warnings, 0 checks, 95 lines checked




More information about the Intel-xe mailing list