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

Patchwork patchwork at emeril.freedesktop.org
Fri Mar 29 00:32:28 UTC 2024


== Series Details ==

Series: drm/xe/hwmon: Add infra to support card power and energy attributes (rev5)
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
10b531c2aeb176a1a539b4a77216232f97719cec
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 20a9de688bfda727e08211ff2536f78e51f46aa6
Author: Karthik Poosa <karthik.poosa at intel.com>
Date:   Thu Mar 28 23:24:35 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 these are 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: Fix checkpatch errors.
    
    v3:
     - Update intel-xe-hwmon documentation. (Riana, Badal)
     - Rename hwmon card channel enum from CHANNEL_PLATFORM
       to CHANNEL_CARD. (Riana)
    
    v4:
     - Remove unrelated changes from patch. (Anshuman)
     - Fix typo in commit msg.
    
    v5:
     - Update commit message and intel-xe-hwmon documentation with "Xe"
       instead of xe when using it as a name. (Rodrigo)
    
    Signed-off-by: Karthik Poosa <karthik.poosa at intel.com>
    Reviewed-by: Badal Nilawar <badal.nilawar at intel.com>
+ /mt/dim checkpatch fd0e020a1ae193182068dcfe04b6e5727cf97660 drm-intel
20a9de688bfd drm/xe/hwmon: Add infra to support card power and energy attributes




More information about the Intel-xe mailing list