✓ CI.checkpatch: success for Cleanup and fixes in drmm_add_action_or_reset usage (rev5)

Patchwork patchwork at emeril.freedesktop.org
Tue Apr 16 06:03:59 UTC 2024


== Series Details ==

Series: Cleanup and fixes in drmm_add_action_or_reset usage (rev5)
URL   : https://patchwork.freedesktop.org/series/132150/
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
35057f376b5337039b258ae4c66ed9218f4b3fb8
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 493c2eed2a75f1fd6ef25c36589a149aaedc7a9d
Author: Himal Prasad Ghimiray <himal.prasad.ghimiray at intel.com>
Date:   Fri Apr 12 23:42:11 2024 +0530

    drm/xe/pm: Capture errors and handle them
    
    xe_pm_init may encounter failures for various reasons, such as a failure
    in initializing drmm_mutex, or when dealing with a d3cold-capable device
    for vram_threshold sysfs creation and setting default threshold.
    Presently, all these potential failures are disregarded.
    
    Move d3cold.lock initialization to xe_pm_init_early and cause driver
    abort if mutex initialization has failed.
    
    For xe_pm_init failures cleanup the driver and return error code
    
    -v2
    Make mutex init cleaner (Lucas)
    
    Cc: Lucas De Marchi <lucas.demarchi at intel.com>
    Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
    Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray at intel.com>
+ /mt/dim checkpatch 5f7597e990bea547bd1261170497e7476fb781bb drm-intel
41e075dac739 drm/xe: Simplify function return using drmm_add_action_or_reset()
90d14e93e99f drm/xe: Remove sysfs only once on action add failure
aa2e43682a55 drm/xe: call free_gsc_pkt only once on action add failure
f4fa6c15b94a drm/xe: Return NULL in case of drmm_add_action_or_reset failure
b99e9b797fd5 drm/xe/gt: Abort driver load for sysfs creation failure
8afdd8b14638 drm/xe/tile: Abort driver load for sysfs creation failure
493c2eed2a75 drm/xe/pm: Capture errors and handle them




More information about the Intel-xe mailing list