✓ CI.checkpatch: success for drm/i915/psr: clarify intel_psr_pre_plane_update() conditions (rev4)
Patchwork
patchwork at emeril.freedesktop.org
Tue Feb 4 18:36:57 UTC 2025
== Series Details ==
Series: drm/i915/psr: clarify intel_psr_pre_plane_update() conditions (rev4)
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 59c36fb888af795135337c07bf1c8bfeb1347a3a
Author: Jani Nikula <jani.nikula at intel.com>
Date: Tue Feb 4 16:05:18 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.
v2: Rebase
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> # v1
Signed-off-by: Jani Nikula <jani.nikula at intel.com>
+ /mt/dim checkpatch ac87843456aa558a665df43aa62c03eaf7701bcb drm-intel
59c36fb888af drm/i915/psr: clarify intel_psr_pre_plane_update() conditions
More information about the Intel-xe
mailing list