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

Patchwork patchwork at emeril.freedesktop.org
Tue Jul 18 08:07:39 UTC 2023


== Series Details ==

Series: D3Cold Policy (rev7)
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 eb2e79199ac752c10754364c6cefd56119c65236
Author: Anshuman Gupta <anshuman.gupta at intel.com>
Date:   Thu Jul 13 20:01:21 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 kenrel-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
5c262ed0f drm/xe/pm: Add pci d3cold_capable support
9b2083f43 drm/xe/pm: Refactor xe_pm_runtime_init
051b71119 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'
-:39: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#39: 
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 262 lines checked
c32938aac xe/drm/pm: Toggle d3cold_allowed using vram_usages
eb2e79199 drm/xe/pm: Init pcode and restore vram on power lost




More information about the Intel-xe mailing list