[Intel-xe] ✗ CI.checkpatch: warning for drm/xe: Raise GT frequency before GuC/HuC load (rev2)

Patchwork patchwork at emeril.freedesktop.org
Thu Nov 9 23:00:14 UTC 2023


== Series Details ==

Series: drm/xe: Raise GT frequency before GuC/HuC load (rev2)
URL   : https://patchwork.freedesktop.org/series/126162/
State : warning

== 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 4b0f0e12bbe73db24b4eb0f7381f5f61bdaf2789
Author: Vinay Belgaumkar <vinay.belgaumkar at intel.com>
Date:   Wed Nov 8 16:33:39 2023 -0800

    drm/xe: Raise GT frequency before GuC/HuC load
    
    Starting GT freq is usually RPn. Raising freq to RP0 will
    help speed up GuC load times. As an example, this data was
    collected on DG2-
    
    GuC Load time @RPn ~ 41 ms
    GuC Load time @RP0 ~ 11 ms
    
    v2: Raise GT freq before hwconfig init. This will speed up
    both HuC and GuC loads. Address review comments (Rodrigo).
    Also add a small usleep after requesting frequency which gives
    pcode some time to react.
    
    Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
    Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar at intel.com>
    Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
+ /mt/dim checkpatch b11007e91f8785a96903d9d3c3d1efbe7e969eaf drm-intel
4b0f0e12b drm/xe: Raise GT frequency before GuC/HuC load
-:93: CHECK:PREFER_KERNEL_TYPES: Prefer kernel type 'u32' over 'uint32_t'
#93: FILE: drivers/gpu/drm/xe/xe_guc_pc.c:278:
+	uint32_t rpnswreq;

total: 0 errors, 0 warnings, 1 checks, 105 lines checked




More information about the Intel-xe mailing list