✓ CI.checkpatch: success for drm/i915/psr: clarify intel_psr_pre_plane_update() conditions

Patchwork patchwork at emeril.freedesktop.org
Wed Jan 8 12:25:18 UTC 2025


== Series Details ==

Series: drm/i915/psr: clarify intel_psr_pre_plane_update() conditions
URL   : https://patchwork.freedesktop.org/series/143234/
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
30ab6715fc09baee6cc14cb3c89ad8858688d474
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit a9802a9d2fb9c0bc15b4e94f36be15b40ac66c41
Author: Jani Nikula <jani.nikula at intel.com>
Date:   Wed Jan 8 12:47:21 2025 +0200

    drm/i915/psr: clarify intel_psr_pre_plane_update() conditions
    
    Make the conditions easier to follow. We don't do anything for
    !psr->enabled, so hoist psr->enabled check higher, avoiding all the
    checks when !psr->enabled. Stop the bitwise OR abuse on booleans by
    removing the temporary variable altogether.
    
    Cc: Jouni Högander <jouni.hogander at intel.com>
    Cc: Suraj Kandpal <suraj.kandpal at intel.com>
    Reviewed-by: Jouni Högander <jouni.hogander at intel.com>
    Signed-off-by: Jani Nikula <jani.nikula at intel.com>
+ /mt/dim checkpatch 930246dd1dd2d36e858d8c53fa5a0b2bcd0e47f3 drm-intel
a9802a9d2fb9 drm/i915/psr: clarify intel_psr_pre_plane_update() conditions




More information about the Intel-xe mailing list