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

Patchwork patchwork at emeril.freedesktop.org
Thu Jul 27 15:48:09 UTC 2023


== Series Details ==

Series: drm/xe: Invert mask and val in xe_mmio_wait32. (rev2)
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 953fa2d5b787a523e48d219844ce07120b30e25b
Author: Rodrigo Vivi <rodrigo.vivi at intel.com>
Date:   Thu Jul 27 09:53:34 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
    
    v2: Rebased after changes on xe_guc_mcr usage of xe_mmio_wait32.
    
    Reviewed-by: Matthew Brost <matthew.brost at intel.com>
    Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
+ /mt/dim checkpatch 580f19a11f9c682fa0f2c6b89578ae07226c3793 drm-intel
953fa2d5b drm/xe: Invert mask and val in xe_mmio_wait32.




More information about the Intel-xe mailing list