[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Convert all remaining drivers to GEM object functions

Patchwork patchwork at emeril.freedesktop.org
Thu Aug 13 09:30:18 UTC 2020


== Series Details ==

Series: Convert all remaining drivers to GEM object functions
URL   : https://patchwork.freedesktop.org/series/80593/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
3432354b0aba drm/amdgpu: Introduce GEM object functions
a6636204e871 drm/armada: Introduce GEM object functions
419237bb45ec drm/etnaviv: Introduce GEM object functions
5ac6227c35a6 drm/exynos: Introduce GEM object functions
bece754b7d5e drm/gma500: Introduce GEM object functions
975a7cc97edf drm/i915: Introduce GEM object functions
8f9c261ff43a drm/mediatek: Introduce GEM object functions
8901932a7d0b drm/msm: Introduce GEM object funcs
8e0a96b9b934 drm/nouveau: Introduce GEM object functions
6db00555b27f drm/omapdrm: Introduce GEM object functions
9f951cff95de drm/pl111: Introduce GEM object functions
d35bbda1b7a0 drm/radeon: Introduce GEM object functions
-:85: WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#85: FILE: drivers/gpu/drm/radeon/radeon_object.c:48:
+void radeon_gem_object_free(struct drm_gem_object *obj);

-:86: WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#86: FILE: drivers/gpu/drm/radeon/radeon_object.c:49:
+int radeon_gem_object_open(struct drm_gem_object *obj,

-:87: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#87: FILE: drivers/gpu/drm/radeon/radeon_object.c:50:
+int radeon_gem_object_open(struct drm_gem_object *obj,
+				struct drm_file *file_priv);

-:88: WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#88: FILE: drivers/gpu/drm/radeon/radeon_object.c:51:
+void radeon_gem_object_close(struct drm_gem_object *obj,

-:89: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#89: FILE: drivers/gpu/drm/radeon/radeon_object.c:52:
+void radeon_gem_object_close(struct drm_gem_object *obj,
+				struct drm_file *file_priv);

-:93: WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#93: FILE: drivers/gpu/drm/radeon/radeon_object.c:56:
+int radeon_gem_prime_pin(struct drm_gem_object *obj);

-:94: WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#94: FILE: drivers/gpu/drm/radeon/radeon_object.c:57:
+void radeon_gem_prime_unpin(struct drm_gem_object *obj);

-:96: WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#96: FILE: drivers/gpu/drm/radeon/radeon_object.c:59:
+void radeon_gem_prime_vunmap(struct drm_gem_object *obj, void *vaddr);

total: 0 errors, 6 warnings, 2 checks, 101 lines checked
67f82bee99a9 drm/rockchip: Convert to drm_gem_object_funcs
dabc081c2725 drm/tegra: Introduce GEM object functions
082439f00666 drm/vc4: Introduce GEM object functions
fff50ea99db8 drm/vgem: Introduce GEM object functions
700a27560ff8 drm/vkms: Introduce GEM object functions
e7063ad8ca7d drm/xen: Introduce GEM object functions
57a3d52d4eaf drm/xlnx: Initialize DRM driver instance with CMA helper macro
f887ba13ff85 drm: Remove obsolete GEM and PRIME callbacks from struct drm_driver




More information about the Intel-gfx mailing list