✓ CI.checkpatch: success for drm/xe: Fix NPD when saving default context

Patchwork patchwork at emeril.freedesktop.org
Wed May 28 21:47:51 UTC 2025


== Series Details ==

Series: drm/xe: Fix NPD when saving default context
URL   : https://patchwork.freedesktop.org/series/149608/
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
202708c00696422fd217223bb679a353a5936e23
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit a02cd4e3c6952fe9b2dc3d06083282bde2a7aeb4
Author: Lucas De Marchi <lucas.demarchi at intel.com>
Date:   Wed May 28 14:42:22 2025 -0700

    drm/xe: Fix NPD when saving default context
    
    xef is only valid if it's a job from userspace.  For in-kernel jobs it
    causes a NPD like below:
    
            <4> [] RIP: 0010:xe_sched_job_create+0xbd/0x390 [xe]
            ...
            <4> [] Call Trace:
            <4> []  <TASK>
            <4> []  __xe_bb_create_job+0xa2/0x240 [xe]
            <4> []  ? find_held_lock+0x31/0x90
            <4> []  ? xa_find_after+0x12c/0x250
            <4> []  xe_bb_create_job+0x6e/0x380 [xe]
            <4> []  ? xa_find_after+0x136/0x250
            <4> []  ? __drm_dev_dbg+0x7d/0xb0
            <4> []  xe_gt_record_default_lrcs+0x542/0xb00 [xe]
    
    Since drm_file starts with 1 for the unique id, just use 0 for the
    in-kernel jobs.
    
    Fixes: 2956554823ce ("drm/sched: Store the drm client_id in drm_sched_fence")
    Cc: Christian König <christian.koenig at amd.com>
    Cc: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
    Cc: Philipp Stanner <phasta at kernel.org>
    Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
+ /mt/dim checkpatch 76d59d6988dc9194cbd7d3c551c11f47f56f4020 drm-intel
a02cd4e3c695 drm/xe: Fix NPD when saving default context




More information about the Intel-xe mailing list