✓ CI.checkpatch: success for drm/i915/hdcp: switch to guard and scoped guard for mutexes

Patchwork patchwork at emeril.freedesktop.org
Mon Feb 24 13:40:05 UTC 2025


== Series Details ==

Series: drm/i915/hdcp: switch to guard and scoped guard for mutexes
URL   : https://patchwork.freedesktop.org/series/145301/
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
22f9cda3436b4fe965b5c5f31d2f2c1bcb483189
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit c8b81c39a8f9eb495770db04ce7f4b5267ca9b32
Author: Jani Nikula <jani.nikula at intel.com>
Date:   Mon Feb 24 12:14:28 2025 +0200

    drm/i915/hdcp: switch to guard and scoped guard for mutexes
    
    scoped_guard() and guard() provide automatic unlocking for locks, with
    cleaner function return paths for both happy and rainy day
    scenarios. Switch HDCP over as a first experiment for i915 display.
    
    Leave intel_hdcp_disable() be for now, as two nested scoped guards are a
    bit much, but also can't use just guard() due to the work cancel.
    
    Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
    Cc: Lucas De Marchi <lucas.demarchi at intel.com>
    Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
    Cc: Tvrtko Ursulin <tvrtko.ursulin at igalia.com>
    Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
    Signed-off-by: Jani Nikula <jani.nikula at intel.com>
+ /mt/dim checkpatch be5a404c3344b7d794766f045b8f94aa93c42069 drm-intel
c8b81c39a8f9 drm/i915/hdcp: switch to guard and scoped guard for mutexes




More information about the Intel-xe mailing list