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

Patchwork patchwork at emeril.freedesktop.org
Fri Mar 22 06:26:12 UTC 2024


== Series Details ==

Series: drm/xe/hwmon: Add infra to support card power and energy attributes (rev2)
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 728c547cb69f5d625a862d769854807c817da824
Author: Karthik Poosa <karthik.poosa at intel.com>
Date:   Fri Mar 22 09:57:46 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/engery1_xxx used for card and
    channel 1 i.e power2/energy2_xxx used for package power,energy attributes.
    
    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".
    
    power1/curr1_crit and in0_input moved to channel 1, i.e power2/curr2_crit
    and in1_input as there available for package only.
    
    v2: Updated intel-xe-hwmon documentation as per above changes.
    
    Signed-off-by: Karthik Poosa <karthik.poosa at intel.com>
+ /mt/dim checkpatch 236ae2b6b695ecedc3cf4453a1679d53b2e06f32 drm-intel
728c547cb69f drm/xe/hwmon: Add infra to support card power and energy attributes




More information about the Intel-xe mailing list