✗ CI.checkpatch: warning for drm/xe: Fix crash in trace_dma_fence_init()

Patchwork patchwork at emeril.freedesktop.org
Wed Jan 24 18:06:08 UTC 2024


== Series Details ==

Series: drm/xe: Fix crash in trace_dma_fence_init()
URL   : https://patchwork.freedesktop.org/series/129138/
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
b2ca823f819193c33ab811dfac08c614138d6d46
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit b4367a87be7a772505b4e48af55a3cec6d7e9e6e
Author: José Roberto de Souza <jose.souza at intel.com>
Date:   Wed Jan 24 09:18:30 2024 -0800

    drm/xe: Fix crash in trace_dma_fence_init()
    
    trace_dma_fence_init() uses dma_fence_ops functions
    like get_driver_name() and get_timeline_name() to generate trace
    information but the Xe KMD implementation of those functions makes
    use of xe_hw_fence_ctx that was being set after dma_fence_init().
    
    So here just inverting the order to fix the crash.
    
    Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
    Signed-off-by: José Roberto de Souza <jose.souza at intel.com>
+ /mt/dim checkpatch 96b582d5ddfc0770491b81522c6c9bba7d0aef86 drm-intel
b4367a87b drm/xe: Fix crash in trace_dma_fence_init()
-:16: WARNING:UNKNOWN_COMMIT_ID: Unknown commit id 'dd08ebf6c352', maybe rebased or not pulled?
#16: 
Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")

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




More information about the Intel-xe mailing list