✗ CI.checkpatch: warning for series starting with [1/3] drm/xe/oa: Replace per GT oa mutex per a global one

Patchwork patchwork at emeril.freedesktop.org
Thu Aug 15 16:33:50 UTC 2024


== Series Details ==

Series: series starting with [1/3] drm/xe/oa: Replace per GT oa mutex per a global one
URL   : https://patchwork.freedesktop.org/series/137346/
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
9fe5037901cabbcdf27a6fe0dfb047ca1474d363
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 02e84b8d1f33bd413c5c1091a908b77e261ad675
Author: José Roberto de Souza <jose.souza at intel.com>
Date:   Thu Aug 15 09:27:58 2024 -0700

    drm/xe/oa: Destroy dangling oa streams when xe_file is removed
    
    If an application opens an oa stream and for whatever reason it don't
    close the stream the oa unit associeted with it will never be release,
    so no other application can use it.
    The only workaround was to unload the driver or reboot.
    
    So here adding a list of oa stream and and when a xe_file is closed
    it will also destroy all oa stream with the same xe_file.
    
    Signed-off-by: José Roberto de Souza <jose.souza at intel.com>
+ /mt/dim checkpatch 605ddd8291e28723254dccbc74fc93c32c274def drm-intel
a6bf60eb43a7 drm/xe/oa: Replace per GT oa mutex per a global one
-:89: CHECK:UNCOMMENTED_DEFINITION: struct mutex definition without comment
#89: FILE: drivers/gpu/drm/xe/xe_oa_types.h:150:
+	struct mutex streams_lock;

total: 0 errors, 0 warnings, 1 checks, 61 lines checked
15122bb248c4 drm/xe/oa: Remove the drm device reference of oa_stream in xe_oa_destroy_locked()
02e84b8d1f33 drm/xe/oa: Destroy dangling oa streams when xe_file is removed
-:15: WARNING:REPEATED_WORD: Possible repeated word: 'and'
#15: 
So here adding a list of oa stream and and when a xe_file is closed

total: 0 errors, 1 warnings, 0 checks, 104 lines checked




More information about the Intel-xe mailing list