[Intel-xe] ✗ CI.checkpatch: warning for D3Cold Policy (rev8)

Patchwork patchwork at emeril.freedesktop.org
Tue Jul 18 08:50:41 UTC 2023


== Series Details ==

Series: D3Cold Policy (rev8)
URL   : https://patchwork.freedesktop.org/series/118035/
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
c7d32770e3cd31d9fc134ce41f329b10aa33ee15
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 22a25b40f4927b4d923f558a07f4f300d9447ec8
Author: Anshuman Gupta <anshuman.gupta at intel.com>
Date:   Tue Jul 18 13:37:03 2023 +0530

    drm/xe/pm: Init pcode and restore vram on power lost
    
    Don't init pcode and restore VRAM objects in vain.
    We can rely on primary GT GUC_STATUS to detect whether
    card has really lost power even when d3cold is allowed by xe.
    Adding d3cold.lost_power flag to avoid pcode init and vram
    restoration.
    Also cleaning up the TODO code comment.
    
    v2:
    - %s/xe_guc_has_lost_power()/xe_guc_in_reset().
    - Used existing gt instead of new variable. [Rodrigo]
    - Added kernel-doc function comment. [Rodrigo]
    - xe_guc_in_reset() return true if failed to get fw.
    
    Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
    Signed-off-by: Anshuman Gupta <anshuman.gupta at intel.com>
    Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
+ /mt/dim checkpatch a43fd52b7ab2009631518ead5ca0afe9bc44515a drm-intel
771454979 drm/xe/pm: Add pci d3cold_capable support
72c62f101 drm/xe/pm: Refactor xe_pm_runtime_init
8622bf793 drm/xe/pm: Add vram_d3cold_threshold Sysfs
Traceback (most recent call last):
  File "scripts/spdxcheck.py", line 6, in <module>
    from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
Traceback (most recent call last):
  File "scripts/spdxcheck.py", line 6, in <module>
    from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
-:42: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#42: 
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 264 lines checked
9a4bb27f4 xe/drm/pm: Toggle d3cold_allowed using vram_usages
22a25b40f drm/xe/pm: Init pcode and restore vram on power lost




More information about the Intel-xe mailing list