✗ CI.checkpatch: warning for drm/xe/xe2: synchronise CS_CHICKEN1 with WMTP support (rev3)
Patchwork
patchwork at emeril.freedesktop.org
Thu Jan 4 14:55:13 UTC 2024
== Series Details ==
Series: drm/xe/xe2: synchronise CS_CHICKEN1 with WMTP support (rev3)
URL : https://patchwork.freedesktop.org/series/128040/
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
6030b24c1386b00de8187b5fb987e283a57b372a
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 862cdd327408aa7297a8ead4220ec94fafecda36
Author: Nirmoy Das <nirmoy.das at intel.com>
Date: Wed Jan 3 14:05:17 2024 +0100
drm/xe/xe2: synchronise CS_CHICKEN1 with WMTP support
Recommendation is to read FUSE4 register to check if WMTP has been
enabled/disabled by HW. If enabled we don't need to do anything special,
however if disabled recommendation is to also disable the WMTP mode in
the FF_SLICE_CS_CHICKEN2 register, falling back to thread-group and
mid-batch preemption only. However on Linux, the per-context CS_CHICKEN1
is how userspace controls pre-emption, so instead use the default lrc to
disable WMPT using CS_CHICKEN1, if disabled by HW. Userspace is still
free to set CS_CHICKEN1 to whatever they want later.
v2: remove redundant version check and also add descriptive name(Matt)
Cc: Matt Roper <matthew.d.roper at intel.com>
Co-developed-by: Matthew Auld <matthew.auld at intel.com>
Signed-off-by: Matthew Auld <matthew.auld at intel.com>
Signed-off-by: Nirmoy Das <nirmoy.das at intel.com>
Reviewed-by: Matt Roper <matthew.d.roper at intel.com>
+ /mt/dim checkpatch 7b3b98d034784b125bad7aca46f9e7a3cfcde45a drm-intel
862cdd327 drm/xe/xe2: synchronise CS_CHICKEN1 with WMTP support
-:46: CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#46: FILE: drivers/gpu/drm/xe/xe_hw_engine.c:322:
+{
+
-:61: CHECK:BRACES: Blank lines aren't necessary before a close brace '}'
#61: FILE: drivers/gpu/drm/xe/xe_hw_engine.c:337:
+
+}
total: 0 errors, 0 warnings, 2 checks, 47 lines checked
More information about the Intel-xe
mailing list