✓ CI.checkpatch: success for drm/xe/uapi: restructure query config types in an enum (rev3)
Patchwork
patchwork at emeril.freedesktop.org
Mon Jul 29 13:01:09 UTC 2024
== Series Details ==
Series: drm/xe/uapi: restructure query config types in an enum (rev3)
URL : https://patchwork.freedesktop.org/series/136611/
State : success
== 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
5ce3e132caaa5b45e5e50201b574a097d130967c
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit f6f4c9a780414f790a3a3fad527c7f3434e1b0f0
Author: Ohad Sharabi <osharabi at habana.ai>
Date: Mon Jul 29 15:15:26 2024 +0300
drm/xe/uapi: restructure query config types in an enum
The config query has entries per config type.
In query_config(), an array is allocated using the last element of
the query config to dictate the array length.
Instead, a more robust approach would be to use the standard "number of
elements" last element of an enum such that one wouldn't need to modify
the ioctl each time another entry is added.
v2:
- modify `enum drm_xe_query_config_type` doc
Signed-off-by: Ohad Sharabi <osharabi at habana.ai>
Reviewed-by: Gustavo Sousa <gustavo.sousa at intel.com>
+ /mt/dim checkpatch c45f13c0cdbf2c5843be95faf8aa76b32c4083c8 drm-intel
f6f4c9a78041 drm/xe/uapi: restructure query config types in an enum
More information about the Intel-xe
mailing list