[Intel-xe] ✓ CI.checkpatch: success for drm/xe: Invert mask and val in xe_mmio_wait32.

Patchwork patchwork at emeril.freedesktop.org
Wed Jul 26 21:06:31 UTC 2023


== Series Details ==

Series: drm/xe: Invert mask and val in xe_mmio_wait32.
URL   : https://patchwork.freedesktop.org/series/121388/
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
c7d32770e3cd31d9fc134ce41f329b10aa33ee15
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 48f8b85b7f4b15c58e2e4871360f4f38dd7cc981
Author: Rodrigo Vivi <rodrigo.vivi at intel.com>
Date:   Wed Jul 26 17:03:52 2023 -0400

    drm/xe: Invert mask and val in xe_mmio_wait32.
    
    The order: 'offset, mask, val'; is more common in other
    drivers and in special in i915, where any dev could copy
    a sequence and end up with unexpected behavior.
    
    Done with coccinelle:
    @rule1@
    expression gt, reg, val, mask, timeout, out, atomic;
    @@
    - xe_mmio_wait32(gt, reg, val, mask, timeout, out, atomic)
    + xe_mmio_wait32(gt, reg, mask, val, timeout, out, atomic)
    
    spatch -sp_file mmio.cocci *.c *.h compat-i915-headers/intel_uncore.h \
           --in-place
    
    Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
+ /mt/dim checkpatch b8202a008e7c05d97c26cb61012c36d0f249eaa1 drm-intel
48f8b85b7 drm/xe: Invert mask and val in xe_mmio_wait32.




More information about the Intel-xe mailing list