✓ CI.checkpatch: success for drm/xe/hwmon: Add infra to support card power and energy attributes (rev3)

Patchwork patchwork at emeril.freedesktop.org
Fri Mar 22 20:43:16 UTC 2024


== Series Details ==

Series: drm/xe/hwmon: Add infra to support card power and energy attributes (rev3)
URL   : https://patchwork.freedesktop.org/series/131059/
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
a9eb1ac8298ef9f9146567c29fa762d8e9efa1ef
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 009a2933c0b258b1dcc526ab73c6871c2d6dcfa7
Author: Karthik Poosa <karthik.poosa at intel.com>
Date:   Sat Mar 23 00:58:36 2024 +0530

    drm/xe/hwmon: Add infra to support card power and energy attributes
    
    Add infra to support card power and energy attributes through channel 0.
    Package attributes will be now exposed through channel 1 rather than
    channel 0 as shown below.
    
    Channel 0 i.e power1/energy1_xxx used for card and
    channel 1 i.e power2/energy2_xxx used for package power,energy attributes.
    
    power1/curr1_crit and in0_input are moved to channel 1, i.e.
    power2/curr2_crit and in1_input as there available for package only.
    
    This would be needed for future platforms where they might be
    separate registers for package and card power and energy.
    
    Each discrete GPU supported by xe driver, would have a directory in
    /sys/class/hwmon/ with multiple channels under it.
    Each channel would have attributes for power, energy etc.
    
    Ex: /sys/class/hwmon/hwmon2/power1_max
                               /power1_label
                               /energy1_input
                               /energy1_label
    
    Attributes will have a label to get more description of it.
    Labelling is as below.
                    power1_label/energy1_label - "card",
                    power2_label/energy2_label - "pkg".
    
    v2: Updated intel-xe-hwmon documentation as per above changes and review
    comments (Riana, Badal).
    
    Signed-off-by: Karthik Poosa <karthik.poosa at intel.com>
+ /mt/dim checkpatch f5f393c524d44630c611fae934b60b1871194169 drm-intel
009a2933c0b2 drm/xe/hwmon: Add infra to support card power and energy attributes




More information about the Intel-xe mailing list