[Intel-xe] ✓ CI.checkpatch: success for Remove redundant call to intel_init_display_hooks()

Patchwork patchwork at emeril.freedesktop.org
Fri Sep 8 19:11:03 UTC 2023


== Series Details ==

Series: Remove redundant call to intel_init_display_hooks()
URL   : https://patchwork.freedesktop.org/series/123456/
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
63c2b6b160bca2df6efc7bc4cea6f442097d7854
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 6bb23effcbe04a23feb120ffd7136ef18acfd56f
Author: Gustavo Sousa <gustavo.sousa at intel.com>
Date:   Fri Sep 8 15:49:28 2023 -0300

    fixup! drm/xe/display: Implement display support
    
    In Xe initialization path, the function intel_init_display_hooks() is
    being called twice, which is redundant. To remove redundancy, let's
    remove one of the calls.
    
    That function sets up hooks that are called from: (i) later in the
    initialization path (i.e. intel_display_driver_probe_nogem()), (ii)
    resume, or (iii) mode set commits.
    
    In both call sites, none of the scenarios above are reached yet, so it
    would be safe to remove the redundant call from either of the two.
    However, since intel_display_driver_early_probe() is shared by both i915
    and Xe, prefer to remove the call done from xe_display_init_nommio().
    
    Signed-off-by: Gustavo Sousa <gustavo.sousa at intel.com>
+ /mt/dim checkpatch 92bbb05964b2237a76a8a68020896bdbe0cab459 drm-intel
6bb23effc fixup! drm/xe/display: Implement display support




More information about the Intel-xe mailing list