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

Patchwork patchwork at emeril.freedesktop.org
Thu Jan 16 08:07:06 UTC 2025


== Series Details ==

Series: drm/i915/psr: clarify intel_psr_pre_plane_update() conditions (rev3)
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 9aacadae013c31a0a94861b49c495a925cc6dd49
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 4cea1f90028925afcf1a0f8a0ef301f90349688c drm-intel
9aacadae013c drm/i915/psr: clarify intel_psr_pre_plane_update() conditions




More information about the Intel-xe mailing list