[Intel-xe] ✗ CI.checkpatch: warning for Xe PERF layer
Patchwork
patchwork at emeril.freedesktop.org
Mon Oct 9 22:29:17 UTC 2023
== Series Details ==
Series: Xe PERF layer
URL : https://patchwork.freedesktop.org/series/124862/
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 3d5eda375e94e86ca4294b63811f6df696e0f28a
Author: Ashutosh Dixit <ashutosh.dixit at intel.com>
Date: Mon Oct 9 15:24:09 2023 -0700
drm/xe/uapi: Multiplex PERF ops through a single PERF ioctl
Since we are already mulitplexing multiple perf counter stream types
through the PERF layer, it seems odd to retain separate ioctls for perf
op's (add/remove config). In fact it seems logical to also multiplex these
ops through a single PERF ioctl. This also affords greater flexibility to
add stream specific ops if needed for different perf stream types.
Signed-off-by: Ashutosh Dixit <ashutosh.dixit at intel.com>
+ /mt/dim checkpatch 37b2d042c23ae6a10055ea92101a15083d64c718 drm-intel
3b1a63cf6 drm/xe/uapi: "Perf" layer to support multiple perf counter stream types
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
-:51: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#51:
new file mode 100644
-:145: WARNING:LONG_LINE: line length of 118 exceeds 100 columns
#145: FILE: include/uapi/drm/xe_drm.h:133:
+#define DRM_IOCTL_XE_PERF_OPEN DRM_IOW(DRM_COMMAND_BASE + DRM_XE_PERF_OPEN, struct drm_xe_perf_param)
-:146: WARNING:LONG_LINE: line length of 124 exceeds 100 columns
#146: FILE: include/uapi/drm/xe_drm.h:134:
+#define DRM_IOCTL_XE_PERF_ADD_CONFIG DRM_IOW(DRM_COMMAND_BASE + DRM_XE_PERF_ADD_CONFIG, struct drm_xe_perf_param)
-:147: WARNING:LONG_LINE: line length of 127 exceeds 100 columns
#147: FILE: include/uapi/drm/xe_drm.h:135:
+#define DRM_IOCTL_XE_PERF_REMOVE_CONFIG DRM_IOW(DRM_COMMAND_BASE + DRM_XE_PERF_REMOVE_CONFIG, struct drm_xe_perf_param)
total: 0 errors, 4 warnings, 0 checks, 155 lines checked
3d5eda375 drm/xe/uapi: Multiplex PERF ops through a single PERF ioctl
-:104: WARNING:LONG_LINE: line length of 113 exceeds 100 columns
#104: FILE: include/uapi/drm/xe_drm.h:131:
+#define DRM_IOCTL_XE_PERF DRM_IOW(DRM_COMMAND_BASE + DRM_XE_PERF, struct drm_xe_perf_param)
total: 0 errors, 1 warnings, 0 checks, 81 lines checked
More information about the Intel-xe
mailing list