drm/i915: Add HWMON support
Subsystems (3)
cover drm/i915: Add HWMON support
This series adds the HWMON support for DGFX
v2:
- Reorganized series. Created first patch as infrastructure patch followed by feature patches. (Ashutosh)
- Fixed review comments (Jani)
- Fixed review comments (Ashutosh)
v3:
- Fixed review comments from Guenter
- Exposed energy inferface as standard hwmon interface (Ashutosh)
- For power interface added entries for critical power and maintained standard interface for all the entries except power1_max_interval
- Extended support for XEHPSDV (Ashutosh)
v4:
- Fixed review comment from Guenter
- Cleaned up unused code
v5:
- Fixed review comments (Jani)
Ashutosh Dixit (2):
drm/i915/hwmon: Expose card reactive critical power drm/i915/hwmon: Expose power1_max_interval
Dale B Stimson (4):
drm/i915/hwmon: Add HWMON infrastructure
drm/i915/hwmon: Power PL1 limit and TDP setting
drm/i915/hwmon: Show device level energy usage
drm/i915/hwmon: Extend power/energy for XEHPSDV
Riana Tauro (1):
drm/i915/hwmon: Add HWMON current voltage support
.../ABI/testing/sysfs-driver-intel-i915-hwmon | 75 ++ drivers/gpu/drm/i915/Makefile | 3 + drivers/gpu/drm/i915/gt/intel_gt_regs.h | 8 + drivers/gpu/drm/i915/i915_driver.c | 5 + drivers/gpu/drm/i915/i915_drv.h | 2 + drivers/gpu/drm/i915/i915_hwmon.c | 788 ++++++++++++++++++ drivers/gpu/drm/i915/i915_hwmon.h | 21 + drivers/gpu/drm/i915/i915_reg.h | 22 + drivers/gpu/drm/i915/intel_mchbar_regs.h | 12 + 9 files changed, 936 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon create mode 100644 drivers/gpu/drm/i915/i915_hwmon.c create mode 100644 drivers/gpu/drm/i915/i915_hwmon.h
Signature · 1 line
2.25.1
PATCH 1/7 drm/i915/hwmon: Add HWMON infrastructure
From: Dale B Stimson <[email protected]>
The i915 HWMON module will be used to expose voltage, power and energy values for dGfx. Here we set up i915 hwmon infrastructure including i915 hwmon registration, basic data structures and functions.
v2:
- Create HWMON infra patch (Ashutosh)
- Fixed review comments (Jani)
- Remove "select HWMON" from i915/Kconfig (Jani)
v3: Use hwm_ prefix for static functions (Ashutosh)
v4: s/#ifdef CONFIG_HWMON/#if IS_REACHABLE(CONFIG_HWMON)/ since the former
doesn't work if hwmon is compiled as a module (Guenter)
v5: Fixed review comments (Jani)
--- drivers/gpu/drm/i915/Makefile | 3 + drivers/gpu/drm/i915/i915_driver.c | 5 ++ drivers/gpu/drm/i915/i915_drv.h | 2 + drivers/gpu/drm/i915/i915_hwmon.c | 136 +++++++++++++++++++++++++++++ drivers/gpu/drm/i915/i915_hwmon.h | 20 +++++ 5 files changed, 166 insertions(+) create mode 100644 drivers/gpu/drm/i915/i915_hwmon.c create mode 100644 drivers/gpu/drm/i915/i915_hwmon.h
drivers/gpu/drm/i915/Makefile +3 -0
@@ -208,6 +208,9 @@ i915-y += gt/uc/intel_uc.o \ # graphics system controller (GSC) support i915-y += gt/intel_gsc.o +# graphics hardware monitoring (HWMON) support +i915-$(CONFIG_HWMON) += i915_hwmon.o + # modesetting core code i915-y += \ display/hsw_ips.o \
drivers/gpu/drm/i915/i915_driver.c +5 -0
@@ -80,6 +80,7 @@#include "i915_drm_client.h" #include "i915_drv.h" #include "i915_getparam.h" +#include "i915_hwmon.h" #include "i915_ioc32.h" #include "i915_ioctl.h" #include "i915_irq.h"
@@ -736,6 +737,8 @@ static void i915_driver_register(struct drm_i915_private *dev_priv)intel_gt_driver_register (to_gt (dev_priv)); +i915_hwmon_register (dev_priv); +intel_display_driver_register (dev_priv);intel_power_domains_enable (dev_priv);
@@ -762,6 +765,8 @@ static void i915_driver_unregister(struct drm_i915_private *dev_priv)intel_display_driver_unregister (dev_priv); +i915_hwmon_unregister (dev_priv); +intel_gt_driver_unregister (to_gt (dev_priv));i915_perf_unregister (dev_priv);
drivers/gpu/drm/i915/i915_drv.h +2 -0
@@ -705,6 +705,8 @@ struct drm_i915_private {struct i915_perf perf; +struct i915_hwmon *hwmon; +/* Abstract the submission mechanism (legacy ringbuffer or execlists) away */ struct intel_gt gt0;
drivers/gpu/drm/i915/i915_hwmon.c new file +136 -0
136 lines not on this page · raw message
drivers/gpu/drm/i915/i915_hwmon.h new file +20 -0
@@ -0,0 +1,20 @@ +/* SPDX-License-Identifier: MIT */ + +/* +* Copyright © 2022 Intel Corporation +*/ + +#ifndef __I915_HWMON_H__ +#define __I915_HWMON_H__ + +struct drm_i915_private ; + +#if IS_REACHABLE (CONFIG_HWMON ) +void i915_hwmon_register (struct drm_i915_private *i915); +void i915_hwmon_unregister (struct drm_i915_private *i915); +#else +static inline void i915_hwmon_register (struct drm_i915_private *i915) { }; +static inline void i915_hwmon_unregister (struct drm_i915_private *i915) { }; +#endif + +#endif /* __I915_HWMON_H__ */
Signature · 1 line
2.25.1
Re: [Intel-gfx] [PATCH 1/7] drm/i915/hwmon: Add HWMON infrastructure
Quoted 15 lines · Badal Nilawar
From: Dale B Stimson <[email protected]>
The i915 HWMON module will be used to expose voltage, power and energy values for dGfx. Here we set up i915 hwmon infrastructure including i915 hwmon registration, basic data structures and functions.
v2:
- Create HWMON infra patch (Ashutosh)
- Fixed review comments (Jani)
- Remove "select HWMON" from i915/Kconfig (Jani)
v3: Usehwm_prefix for static functions (Ashutosh)
v4: s/#ifdef CONFIG_HWMON/#if IS_REACHABLE(CONFIG_HWMON)/ since the former
doesn't work if hwmon is compiled as a module (Guenter)
v5: Fixed review comments (Jani)
Quoted 5 lines
Cc Guenter Roeck <[email protected]>Signed-off-by Dale B Stimson <[email protected]>Signed-off-by Ashutosh Dixit <[email protected]>Signed-off-by Riana Tauro <[email protected]>Signed-off-by Badal Nilawar <[email protected]>
Quoted 238 lines
--- drivers/gpu/drm/i915/Makefile | 3 + drivers/gpu/drm/i915/i915_driver.c | 5 ++ drivers/gpu/drm/i915/i915_drv.h | 2 + drivers/gpu/drm/i915/i915_hwmon.c | 136 +++++++++++++++++++++++++++++ drivers/gpu/drm/i915/i915_hwmon.h | 20 +++++ 5 files changed, 166 insertions(+) create mode 100644 drivers/gpu/drm/i915/i915_hwmon.c create mode 100644 drivers/gpu/drm/i915/i915_hwmon.hdrivers/gpu/drm/i915/Makefile +3
-0@@ -208,6 +208,9 @@ i915-y += gt/uc/intel_uc.o \ # graphics system controller (GSC) support i915-y += gt/intel_gsc.o +# graphics hardware monitoring (HWMON) support +i915-$(CONFIG_HWMON) += i915_hwmon.o + # modesetting core code i915-y += \ display/hsw_ips.o \drivers/gpu/drm/i915/i915_driver.c +5
-0@@ -80,6 +80,7 @@#include "i915_drm_client.h" #include "i915_drv.h" #include "i915_getparam.h" +#include "i915_hwmon.h" #include "i915_ioc32.h" #include "i915_ioctl.h" #include "i915_irq.h" @@ -736,6 +737,8 @@ static void i915_driver_register(struct drm_i915_private *dev_priv)intel_gt_driver_register (to_gt (dev_priv)); +i915_hwmon_register (dev_priv); +intel_display_driver_register (dev_priv);intel_power_domains_enable (dev_priv);@@ -762,6 +765,8 @@ static void i915_driver_unregister(struct drm_i915_private *dev_priv)intel_display_driver_unregister (dev_priv); +i915_hwmon_unregister (dev_priv); +intel_gt_driver_unregister (to_gt (dev_priv));i915_perf_unregister (dev_priv);drivers/gpu/drm/i915/i915_drv.h +2
-0@@ -705,6 +705,8 @@ struct drm_i915_private {struct i915_perf perf; +struct i915_hwmon *hwmon; +/* Abstract the submission mechanism (legacy ringbuffer or execlists) away */ struct intel_gt gt0;drivers/gpu/drm/i915/i915_hwmon.c new file +136
-0@@ -0,0 +1,136 @@ +// SPDX-License-Identifier: MIT +/* +* Copyright © 2022 Intel Corporation +*/ + +#include <linux/hwmon.h> +#include <linux/hwmon-sysfs.h> +#include <linux/types.h> + +#include "i915_drv.h" +#include "i915_hwmon.h" +#include "i915_reg.h" +#include "intel_mchbar_regs.h" + +struct hwm_reg { +}; + +struct hwm_drvdata { +struct i915_hwmon *hwmon; +struct intel_uncore *uncore; +struct device *hwmon_dev; +char name[12 ]; +}; + +struct i915_hwmon { +struct hwm_drvdata ddat; +struct mutex hwmon_lock;/* counter overflow logic and rmw */ +struct hwm_reg rg; +}; + +static const struct hwmon_channel_info *hwm_info[] = { +NULL +}; + +static umode_t +hwm_is_visible (const void *drvdata,enum hwmon_sensor_types type, +u32 attr,int channel) +{ +switch (type) { +default : +return 0 ; + } +} + +static int +hwm_read (struct device *dev,enum hwmon_sensor_types type,u32 attr, +int channel,long *val) +{ +switch (type) { +default : +return -EOPNOTSUPP ; + } +} + +static int +hwm_write (struct device *dev,enum hwmon_sensor_types type,u32 attr, +int channel,long val) +{ +switch (type) { +default : +return -EOPNOTSUPP ; + } +} + +static const struct hwmon_ops hwm_ops = { + .is_visible = hwm_is_visible, + .read = hwm_read, + .write = hwm_write, +}; + +static const struct hwmon_chip_info hwm_chip_info = { + .ops = &hwm_ops, + .info = hwm_info, +}; + +static void +hwm_get_preregistration_info (struct drm_i915_private *i915) +{ +} + +void i915_hwmon_register (struct drm_i915_private *i915) +{ +struct device *dev = i915->drm.dev; +struct i915_hwmon *hwmon; +struct device *hwmon_dev; +struct hwm_drvdata *ddat; + +/* hwmon is available only for dGfx */ +if (!IS_DGFX (i915)) +return ; + + hwmon =kzalloc (sizeof (*hwmon),GFP_KERNEL ); +if (!hwmon) +return ; + + i915->hwmon = hwmon; +mutex_init (&hwmon->hwmon_lock); + ddat = &hwmon->ddat; + + ddat->hwmon = hwmon; + ddat->uncore = &i915->uncore; +snprintf (ddat->name,sizeof (ddat->name),"i915" ); + +hwm_get_preregistration_info (i915); + +/* hwmon_dev points to device hwmon<i> */ + hwmon_dev =hwmon_device_register_with_info (dev, ddat->name, + ddat, + &hwm_chip_info, +NULL ); +if (IS_ERR (hwmon_dev)) { +mutex_destroy (&hwmon->hwmon_lock); + i915->hwmon =NULL ; +kfree (hwmon); +return ; + } + + ddat->hwmon_dev = hwmon_dev; +} + +void i915_hwmon_unregister (struct drm_i915_private *i915) +{ +struct i915_hwmon *hwmon; +struct hwm_drvdata *ddat; + + hwmon =fetch_and_zero (&i915->hwmon); +if (!hwmon) +return ; + + ddat = &hwmon->ddat; +if (ddat->hwmon_dev) +hwmon_device_unregister (ddat->hwmon_dev); + +mutex_destroy (&hwmon->hwmon_lock); +kfree (hwmon); +}drivers/gpu/drm/i915/i915_hwmon.h new file +20
-0@@ -0,0 +1,20 @@ +/* SPDX-License-Identifier: MIT */ + +/* +* Copyright © 2022 Intel Corporation +*/ + +#ifndef __I915_HWMON_H__ +#define __I915_HWMON_H__ + +struct drm_i915_private ; + +#if IS_REACHABLE (CONFIG_HWMON ) +void i915_hwmon_register (struct drm_i915_private *i915); +void i915_hwmon_unregister (struct drm_i915_private *i915); +#else +static inline void i915_hwmon_register (struct drm_i915_private *i915) { }; +static inline void i915_hwmon_unregister (struct drm_i915_private *i915) { }; +#endif + +#endif /* __I915_HWMON_H__ */ Signature · 1 line
2.25.1
Re: [Intel-gfx] [PATCH 1/7] drm/i915/hwmon: Add HWMON infrastructure
In reply to Badal NilawarQuoted 1 line · Badal Nilawar
A couple of minor observations below but otherwise this patch is:
drivers/gpu/drm/i915/i915_hwmon.c
Quoted 5 lines
drivers/gpu/drm/i915/i915_hwmon.c new file +0
-0
/snip/
drivers/gpu/drm/i915/i915_hwmon.c line 20
Quoted 6 lines
drivers/gpu/drm/i915/i915_hwmon.c new file +6
-0+struct hwm_reg { +}; + +struct hwm_drvdata { +struct i915_hwmon *hwmon; +struct intel_uncore *uncore;
Instead of 'struct intel_uncore' we could have a 'struct intel_gt' here since intel_gt is a higher level but I think uncore is fine and anyway has a backpointer to intel_gt should we need it. So no changes needed.
drivers/gpu/drm/i915/i915_hwmon.c line 29
Quoted 9 lines
drivers/gpu/drm/i915/i915_hwmon.c new file +9
-0+struct device *hwmon_dev; +char name[12 ]; +}; + +struct i915_hwmon { +struct hwm_drvdata ddat; +struct mutex hwmon_lock;/* counter overflow logic and rmw */ +struct hwm_reg rg; +};
Somebody looking at just this patch might wonder why we have two data structs hwm_drvdata and i915_hwmon, rather than just one. The answer becomes clear in a later patch and that of course is that i915 exposes multiple hwmon devices. Anyway, just an observation, no changes required.
PATCH 2/7 drm/i915/hwmon: Add HWMON current voltage support
In reply to Badal NilawarFrom: Riana Tauro <[email protected]>
Use i915 HWMON subsystem to display current input voltage.
v2:
- Updated date and kernel version in feature description
- Fixed review comments (Ashutosh)
v3: Use macro HWMON_CHANNEL_INFO to define hwmon channel (Guenter) v4:
- Fixed review comments (Ashutosh)
- Use hwm_ prefix for static functions (Ashutosh)
--- .../ABI/testing/sysfs-driver-intel-i915-hwmon | 7 +++ drivers/gpu/drm/i915/gt/intel_gt_regs.h | 3 ++ drivers/gpu/drm/i915/i915_hwmon.c | 47 +++++++++++++++++++ 3 files changed, 57 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon
Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon new file +7 -0
@@ -0,0 +1,7 @@ +What: /sys/devices/.../hwmon/hwmon<i>/in0_input +Date: June 2022 +KernelVersion: 5.19 +Contact: [email protected] +Description: RO. Current Voltage in millivolt. + + Only supported for particular Intel i915 graphics platforms.
drivers/gpu/drm/i915/gt/intel_gt_regs.h +3 -0
@@ -1508,6 +1508,9 @@#define VLV_RENDER_C0_COUNT _MMIO(0x138118)#define VLV_MEDIA_C0_COUNT _MMIO(0x13811c) +#define GEN12_RPSTAT1 _MMIO(0x1381b4) +#define GEN12_VOLTAGE_MASK REG_GENMASK(10, 0) +#define GEN11_GT_INTR_DW (x) _MMIO(0x190018 + ((x) * 4))#define GEN11_CSME (31)#define GEN11_GUNIT (28)
drivers/gpu/drm/i915/i915_hwmon.c +47 -0
82 lines not on this page · raw message
Signature · 1 line
2.25.1
Re: [Intel-gfx] [PATCH 2/7] drm/i915/hwmon: Add HWMON current voltage support
Quoted 4 lines · Badal Nilawar
From: Riana Tauro <[email protected]>
Use i915 HWMON subsystem to display current input voltage.
A couple of suggestions to improve comments in this patch below and after addressing those this patch is:
drivers/gpu/drm/i915/i915_hwmon.c line 14
Quoted 9 lines
drivers/gpu/drm/i915/i915_hwmon.c +1
-0@@ -11,8 +11,10 @@#include "i915_hwmon.h" #include "i915_reg.h" #include "intel_mchbar_regs.h" +#include "gt/intel_gt_regs.h"
In later patches we have added units for different quantities here. So I think we should add those units for voltage to this patch too. It's in Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon but I think it's better to add to this file too otherwise if anyone looks at it is seems to be missing.
So I would add the following to this patch:
/*
* SF_* - scale factors for particular quantities according to hwmon spec.
* - voltage - millivolts
*/
#define SF_VOLTAGE 1000
drivers/gpu/drm/i915/i915_hwmon.c struct i915_hwmon { · line 61
Quoted 13 lines
drivers/gpu/drm/i915/i915_hwmon.c +13
-0+static int +hwm_in_read (struct hwm_drvdata *ddat,u32 attr,long *val) +{ +struct i915_hwmon *hwmon = ddat->hwmon; +intel_wakeref_t wakeref; +u32 reg_value; + +switch (attr) { +case hwmon_in_input: +with_intel_runtime_pm (ddat->uncore->rpm, wakeref) + reg_value = intel_uncore_read(ddat->uncore, hwmon->rg.gt_perf_status); +/* In units of 2.5 millivolt */ + *val =DIV_ROUND_CLOSEST (REG_FIELD_GET (GEN12_VOLTAGE_MASK , reg_value) *25 ,10 );
Let's complete this comment to so that it is clear what's happening:
/* HW register value is in units of 2.5 millivolt */
Re: [Intel-gfx] [PATCH 2/7] drm/i915/hwmon: Add HWMON current voltage support
Quoted 27 lines · Ashutosh
Quoted 4 lines · Badal Nilawar
From: Riana Tauro <[email protected]>
Use i915 HWMON subsystem to display current input voltage.
A couple of suggestions to improve comments in this patch below and after addressing those this patch is:
Reviewed-by Ashutosh Dixit <[email protected]>drivers/gpu/drm/i915/i915_hwmon.c line 14
Quoted 9 lines
drivers/gpu/drm/i915/i915_hwmon.c +1
-0@@ -11,8 +11,10 @@#include "i915_hwmon.h" #include "i915_reg.h" #include "intel_mchbar_regs.h" +#include "gt/intel_gt_regs.h" In later patches we have added units for different quantities here. So I think we should add those units for voltage to this patch too. It's in
Documentation/ABI/testing/sysfs-driver-intel-i915-hwmonbut I think it's better to add to this file too otherwise if anyone looks at it is seems to be missing.
Quoted 6 lines
So I would add the following to this patch:
/*
* SF_* - scale factors for particular quantities according to hwmon spec.
* - voltage - millivolts
*/
Sure I will add above comment.
Quoted 1 line
#define
SF_VOLTAGE1000
we are not using above scale factor for voltage. As our scale factor is 2.5 millivolts shall I add like. #define SF_VOLTAGE_MUL 25
#define SF_VOLTAGE_DIV 10
Quoted 14 lines
Quoted 4 lines
drivers/gpu/drm/i915/i915_hwmon.c +3
-0+static int +hwm_in_read (struct hwm_drvdata *ddat,u32 attr,long *val) +{drivers/gpu/drm/i915/i915_hwmon.c struct i915_hwmon { · line 61
Quoted 10 lines
drivers/gpu/drm/i915/i915_hwmon.c +10
-0+struct i915_hwmon *hwmon = ddat->hwmon; +intel_wakeref_t wakeref; +u32 reg_value; + +switch (attr) { +case hwmon_in_input: +with_intel_runtime_pm (ddat->uncore->rpm, wakeref) + reg_value = intel_uncore_read(ddat->uncore, hwmon->rg.gt_perf_status); +/* In units of 2.5 millivolt */ + *val =DIV_ROUND_CLOSEST (REG_FIELD_GET (GEN12_VOLTAGE_MASK , reg_value) *25 ,10 );
And use above scale factors here.
*val = DIV_ROUND_CLOSEST(REG_FIELD_GET(GEN12_VOLTAGE_MASK, reg_value) * SF_VOLTAGE_MUL, SF_VOLTAGE_DIV); Regards,
Badal
Quoted 4 lines
Let's complete this comment to so that it is clear what's happening:
/* HW register value is in units of 2.5 millivolt */
Re: [Intel-gfx] [PATCH 2/7] drm/i915/hwmon: Add HWMON current voltage support
Quoted 15 lines · Badal
Quoted 13 lines · Ashutosh
Quoted 12 lines · Badal Nilawar
drivers/gpu/drm/i915/i915_hwmon.c +11
-0+static int +hwm_in_read (struct hwm_drvdata *ddat,u32 attr,long *val) +{ +struct i915_hwmon *hwmon = ddat->hwmon; +intel_wakeref_t wakeref; +u32 reg_value; + +switch (attr) { +case hwmon_in_input: +with_intel_runtime_pm (ddat->uncore->rpm, wakeref) + reg_value = intel_uncore_read(ddat->uncore, hwmon->rg.gt_perf_status);
Quoted 12 lines
Quoted 2 lines
drivers/gpu/drm/i915/i915_hwmon.c struct i915_hwmon { · line 61
Quoted 2 lines
drivers/gpu/drm/i915/i915_hwmon.c +2
-0+/* In units of 2.5 millivolt */ + *val =DIV_ROUND_CLOSEST (REG_FIELD_GET (GEN12_VOLTAGE_MASK , reg_value) *25 ,10 );And use above scale factors here.
*val =DIV_ROUND_CLOSEST(REG_FIELD_GET(GEN12_VOLTAGE_MASK, reg_value) * SF_VOLTAGE_MUL, SF_VOLTAGE_DIV);
Regards,
BadalQuoted 4 lines
Let's complete this comment to so that it is clear what's happening:
/* HW register value is in units of 2.5 millivolt */
This was missed in the latest rev so if we could remember to add this that would be great.
Re: [Intel-gfx] [PATCH 2/7] drm/i915/hwmon: Add HWMON current voltage support
In reply to Badal NilawarQuoted 98 lines
-----Original Message-----
From: Nilawar, Badal <[email protected]>
Sent: Thursday, August 25, 2022 6:51 PM
To: [email protected]
Cc: Dixit, Ashutosh <[email protected]>; Tauro, Riana <[email protected]>; Gupta, Anshuman <[email protected]>; Ewins, Jon <[email protected]>; [email protected]
Subject: [PATCH 2/7] drm/i915/hwmon: Add HWMON current voltage supportFrom: Riana Tauro <[email protected]>
Use i915 HWMON subsystem to display current input voltage.
v2:
- Updated date and kernel version in feature description
- Fixed review comments (Ashutosh)
v3: Use macroHWMON_CHANNEL_INFOto define hwmon channel (Guenter) v4:
- Fixed review comments (Ashutosh)
- Usehwm_prefix for static functions (Ashutosh)Cc Guenter Roeck <[email protected]>Cc Anshuman Gupta <[email protected]>Signed-off-by Riana Tauro <[email protected]>Signed-off-by Badal Nilawar <[email protected]>Acked-by Guenter Roeck <[email protected]>--- .../ABI/testing/sysfs-driver-intel-i915-hwmon | 7 +++ drivers/gpu/drm/i915/gt/intel_gt_regs.h | 3 ++ drivers/gpu/drm/i915/i915_hwmon.c | 47 +++++++++++++++++++ 3 files changed, 57 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-driver-intel-i915-hwmonDocumentation/ABI/testing/sysfs-driver-intel-i915-hwmon new file +7
-0@@ -0,0 +1,7 @@ +What: /sys/devices/.../hwmon/hwmon<i>/in0_input +Date: June 2022 +KernelVersion: 5.19 +Contact: [email protected] +Description: RO. Current Voltage in millivolt. + + Only supported for particular Intel i915 graphics platforms.drivers/gpu/drm/i915/gt/intel_gt_regs.h +3
-0@@ -1508,6 +1508,9 @@#define VLV_RENDER_C0_COUNT _MMIO(0x138118)#define VLV_MEDIA_C0_COUNT _MMIO(0x13811c) +#define GEN12_RPSTAT1 _MMIO(0x1381b4) +#define GEN12_VOLTAGE_MASK REG_GENMASK(10, 0) +#define GEN11_GT_INTR_DW (x) _MMIO(0x190018 + ((x) * 4))#define GEN11_CSME (31)#define
GEN11_GUNIT(28)drivers/gpu/drm/i915/i915_hwmon.c +11
-0@@ -11,8 +11,10 @@#include "i915_hwmon.h" #include "i915_reg.h" #include "intel_mchbar_regs.h" +#include "gt/intel_gt_regs.h" struct hwm_reg { +i915_reg_t gt_perf_status; };struct hwm_drvdata {@@ -29,14 +31,49 @@ struct i915_hwmon { };static const struct hwmon_channel_info *hwm_info[] = { +HWMON_CHANNEL_INFO (in,HWMON_I_INPUT ),NULL }; +static umode_t +hwm_in_is_visible (const struct hwm_drvdata *ddat,u32 attr) { +switch (attr) { +case hwmon_in_input: +return i915_mmio_reg_valid (ddat->hwmon->rg.gt_perf_status) ?0444 :0 ; +default : +return 0 ; + }
drivers/gpu/drm/i915/i915_hwmon.c struct i915_hwmon { · line 56
Quoted 10 lines
drivers/gpu/drm/i915/i915_hwmon.c +10
-0+} + +static int +hwm_in_read (struct hwm_drvdata *ddat,u32 attr,long *val) { +struct i915_hwmon *hwmon = ddat->hwmon; +intel_wakeref_t wakeref; +u32 reg_value; + +switch (attr) { +case hwmon_in_input:
Other attributes in this series take hwmon->lock before accessing i915 registers , So do we need lock here as well ?
Thanks,
Anshuman Gupta.
Quoted 50 lines
drivers/gpu/drm/i915/i915_hwmon.c +4
-0+with_intel_runtime_pm (ddat->uncore->rpm, wakeref) + reg_value = intel_uncore_read(ddat->uncore, hwmon- >rg.gt_perf_status); +/* In units of 2.5 millivolt */ + *val =
DIV_ROUND_CLOSEST(REG_FIELD_GET(GEN12_VOLTAGE_MASK, reg_value) * 25, 10);drivers/gpu/drm/i915/i915_hwmon.c +20
-1+return 0 ; +default : +return -EOPNOTSUPP ; + } +} +static umode_t hwm_is_visible (const void *drvdata,enum hwmon_sensor_types type,u32 attr,int channel) { +struct hwm_drvdata *ddat = (struct hwm_drvdata *)drvdata; +switch (type) { +case hwmon_in: +return hwm_in_is_visible (ddat, attr);default :return 0 ; }@@ -46,7 +83,11 @@ static int hwm_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *val) { + struct hwm_drvdata *ddat = dev_get_drvdata(dev); +switch (type) { +case hwmon_in: +return hwm_in_read (ddat, attr, val);default :return -EOPNOTSUPP ; }@@ -76,6 +117,12 @@ static const struct hwmon_chip_info hwm_chip_info = {static void hwm_get_preregistration_info (struct drm_i915_private *i915) { +struct i915_hwmon *hwmon = i915->hwmon; + +if (IS_DG1 (i915) ||IS_DG2 (i915)) + hwmon->rg.gt_perf_status =GEN12_RPSTAT1 ; +else + hwmon->rg.gt_perf_status =INVALID_MMIO_REG ; }void i915_hwmon_register (struct drm_i915_private *i915) --2.25.1
Re: [Intel-gfx] [PATCH 2/7] drm/i915/hwmon: Add HWMON current voltage support
Quoted 12 lines · Anshuman
drivers/gpu/drm/i915/i915_hwmon.c struct i915_hwmon { · line 57
Quoted 9 lines
drivers/gpu/drm/i915/i915_hwmon.c +8
-0+static int +hwm_in_read (struct hwm_drvdata *ddat,u32 attr,long *val) { +struct i915_hwmon *hwmon = ddat->hwmon; +intel_wakeref_t wakeref; +u32 reg_value; + +switch (attr) { +case hwmon_in_input:Other attributes in this series take
hwmon->lockbefore accessing i915 registers , So do we need lock here as well ?
The lock is being taken only for RMW and for making sure energy counter updates happen atomically. We are not taking the lock for just reads so IMO no lock is needed here.
Quoted 12 lines
drivers/gpu/drm/i915/i915_hwmon.c struct i915_hwmon { · line 66
Quoted 12 lines
(quoted diff) +2
-0+ with_intel_runtime_pm(ddat->uncore->rpm, wakeref) + reg_value = intel_uncore_read(ddat->uncore, hwmon-Quoted 1 line
rg.gt_perf_status);
(quoted diff) +2
-0+ /* In units of 2.5 millivolt */ + *val =
DIV_ROUND_CLOSEST(REG_FIELD_GET(GEN12_VOLTAGE_MASK, reg_value) * 25, 10);drivers/gpu/drm/i915/i915_hwmon.c +5
-0+return 0 ; +default : +return -EOPNOTSUPP ; + } +}
Thanks.
--
Ashutosh
Re: [Intel-gfx] [PATCH 2/7] drm/i915/hwmon: Add HWMON current voltage support
Quoted 26 lines
-----Original Message-----
From: Dixit, Ashutosh <[email protected]>
Sent: Monday, September 12, 2022 10:08 PM
To: Gupta, Anshuman <[email protected]>
Cc: Nilawar, Badal <[email protected]>; [email protected]; Tauro, Riana <[email protected]>; Ewins, Jon <[email protected]>; [email protected]
Subject: Re: [PATCH 2/7] drm/i915/hwmon: Add HWMON current voltage supportQuoted 12 lines · Anshuman
drivers/gpu/drm/i915/i915_hwmon.c struct i915_hwmon { · line 57
Quoted 9 lines
drivers/gpu/drm/i915/i915_hwmon.c +8
-0+static int +hwm_in_read (struct hwm_drvdata *ddat,u32 attr,long *val) { +struct i915_hwmon *hwmon = ddat->hwmon; +intel_wakeref_t wakeref; +u32 reg_value; + +switch (attr) { +case hwmon_in_input:Other attributes in this series take
hwmon->lockbefore accessing i915 registers , So do we need lock here as well ?
Quoted 3 lines
The lock is being taken only for RMW and for making sure energy counter updates happen atomically. We are not taking the lock for just reads so IMO no lock is needed here.
If that is the case, then why it needs to grab a lock for rmw on different Register ? Like in patch 3 of this series grabs hwmon->howmon_lock for rmw on two different register pkg_power_sku_unit and pkg_rapl_limit. One register rmw should be independent of other register here ?
Thanks,
Anshuman Gupta
Quoted 18 lines
Quoted 7 lines
Quoted 7 lines
(quoted diff) +2
-0+ with_intel_runtime_pm(ddat->uncore->rpm, wakeref) + reg_value = intel_uncore_read(ddat->uncore, hwmon-Quoted 1 line
rg.gt_perf_status);
(quoted diff) +2
-0+ /* In units of 2.5 millivolt */ + *val =DIV_ROUND_CLOSEST(REG_FIELD_GET(GEN12_VOLTAGE_MASK,
reg_value)* 25,
Quoted 6 lines
drivers/gpu/drm/i915/i915_hwmon.c struct i915_hwmon { · line 66
Quoted 6 lines
10);
drivers/gpu/drm/i915/i915_hwmon.c +5
-0+return 0 ; +default : +return -EOPNOTSUPP ; + } +}Thanks.
--
Ashutosh
Re: [Intel-gfx] [PATCH 2/7] drm/i915/hwmon: Add HWMON current voltage support
Quoted 1 line · Anshuman
Hi Anshuman,
Quoted 24 lines
Quoted 24 lines
-----Original Message-----
From: Dixit, Ashutosh <[email protected]>
Sent: Monday, September 12, 2022 10:08 PM
To: Gupta, Anshuman <[email protected]>
Cc: Nilawar, Badal <[email protected]>; [email protected]; Tauro, Riana <[email protected]>; Ewins, Jon <[email protected]>; [email protected]
Subject: Re: [PATCH 2/7] drm/i915/hwmon: Add HWMON current voltage supportQuoted 12 lines · Anshuman
drivers/gpu/drm/i915/i915_hwmon.c struct i915_hwmon { · line 57
Quoted 9 lines
drivers/gpu/drm/i915/i915_hwmon.c +8
-0+static int +hwm_in_read (struct hwm_drvdata *ddat,u32 attr,long *val) { +struct i915_hwmon *hwmon = ddat->hwmon; +intel_wakeref_t wakeref; +u32 reg_value; + +switch (attr) { +case hwmon_in_input:Other attributes in this series take
hwmon->lockbefore accessing i915 registers , So do we need lock here as well ?
Quoted 8 lines
Quoted 3 lines
The lock is being taken only for RMW and for making sure energy counter updates happen atomically. We are not taking the lock for just reads so IMO no lock is needed here.
If that is the case, then why it needs to grab a lock for rmw on different Register ? Like in patch 3 of this series grabs
hwmon->howmon_lockfor rmw on two different registerpkg_power_sku_unitandpkg_rapl_limit.
I don't see this happening, where do you see it?
Quoted 1 line
One register rmw should be independent of other register here ?
Yes each register RMW is independent. In Patch 3 only hwm_power_write (not hwm_power_read) is taking the lock for RMW on pkg_rapl_limit (lock is not taken for pkg_power_sku_unit). So the assumption is that RMW of a single register are not atomic and must be serialized with a lock. Reads are considered to not need a lock.
Thanks.
--
Ashutosh
Quoted 18 lines
Quoted 18 lines
Quoted 7 lines
Quoted 7 lines
(quoted diff) +2
-0+ with_intel_runtime_pm(ddat->uncore->rpm, wakeref) + reg_value = intel_uncore_read(ddat->uncore, hwmon-Quoted 1 line
rg.gt_perf_status);
(quoted diff) +2
-0+ /* In units of 2.5 millivolt */ + *val =DIV_ROUND_CLOSEST(REG_FIELD_GET(GEN12_VOLTAGE_MASK,
reg_value)* 25,
Quoted 6 lines
drivers/gpu/drm/i915/i915_hwmon.c struct i915_hwmon { · line 66
Quoted 6 lines
10);
drivers/gpu/drm/i915/i915_hwmon.c +5
-0+return 0 ; +default : +return -EOPNOTSUPP ; + } +}Thanks.
--
Ashutosh
Re: [Intel-gfx] [PATCH 2/7] drm/i915/hwmon: Add HWMON current voltage support
Quoted 54 lines
-----Original Message-----
From: Dixit, Ashutosh <[email protected]>
Sent: Tuesday, September 13, 2022 8:49 PM
To: Gupta, Anshuman <[email protected]>
Cc: Nilawar, Badal <[email protected]>; [email protected]; Tauro, Riana <[email protected]>; Ewins, Jon <[email protected]>; [email protected]
Subject: Re: [PATCH 2/7] drm/i915/hwmon: Add HWMON current voltage supportQuoted 1 line · Anshuman
Hi Anshuman,
Quoted 29 lines
Quoted 25 lines
-----Original Message-----
From: Dixit, Ashutosh <[email protected]>
Sent: Monday, September 12, 2022 10:08 PM
To: Gupta, Anshuman <[email protected]>
Cc: Nilawar, Badal <[email protected]>; [email protected]; Tauro, Riana <[email protected]>; Ewins, Jon <[email protected]>; [email protected]
Subject: Re: [PATCH 2/7] drm/i915/hwmon: Add HWMON current voltage supportQuoted 12 lines · Anshuman
drivers/gpu/drm/i915/i915_hwmon.c struct i915_hwmon { · line 57
Quoted 9 lines
drivers/gpu/drm/i915/i915_hwmon.c +8
-0+static int +hwm_in_read (struct hwm_drvdata *ddat,u32 attr,long *val) { +struct i915_hwmon *hwmon = ddat->hwmon; +intel_wakeref_t wakeref; +u32 reg_value; + +switch (attr) { +case hwmon_in_input:Other attributes in this series take
hwmon->lockbefore accessing i915 registers , So do we need lock here as well ?Quoted 3 lines
The lock is being taken only for RMW and for making sure energy counter updates happen atomically. We are not taking the lock for just reads so IMO no lock is needed here.
Quoted 5 lines
If that is the case, then why it needs to grab a lock for rmw on different Register ? Like in patch 3 of this series grabs
hwmon->howmon_lockfor rmw on two different registerhwmon->pkg_power_sku_unit
andpkg_rapl_limit.I don't see this happening, where do you see it?
Quoted 7 lines
Quoted 1 line
One register rmw should be independent of other register here ?
Yes each register RMW is independent. In Patch 3 only
hwm_power_write(nothwm_power_read) is taking the lock for RMW onpkg_rapl_limit(lock is not taken forpkg_power_sku_unit). So the assumption is that RMW of a single register are not atomic and must be serialized with a lock. Reads are considered to not need a lock.
Thanks for explanation , and my apologies for the noise. Br,
Anshuman Gupta.
Quoted 26 lines
Thanks.
--
AshutoshQuoted 3 lines
Quoted 3 lines
Quoted 3 lines
Review
Quoted 3 lines
(quoted diff) +2
-0+ with_intel_runtime_pm(ddat->uncore->rpm, wakeref) + reg_value = intel_uncore_read(ddat->uncore,hwmon-
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 1 line
rg.gt_perf_status);
(quoted diff) +2
-0+ /* In units of 2.5 millivolt */ + *val =DIV_ROUND_CLOSEST(REG_FIELD_GET(GEN12_VOLTAGE_MASK,
reg_value)Quoted 11 lines
Quoted 11 lines
* 25,
Quoted 6 lines
drivers/gpu/drm/i915/i915_hwmon.c struct i915_hwmon { · line 66
Quoted 6 lines
10);
drivers/gpu/drm/i915/i915_hwmon.c +5
-0+return 0 ; +default : +return -EOPNOTSUPP ; + } +}Thanks.
--
Ashutosh
PATCH 3/7 drm/i915/hwmon: Power PL1 limit and TDP setting
In reply to Badal NilawarFrom: Dale B Stimson <[email protected]>
Use i915 HWMON to display/modify dGfx power PL1 limit and TDP setting.
v2:
- Fix review comments (Ashutosh)
- Do not restore power1_max upon module unload/load sequence because on production systems modules are always loaded and not unloaded/reloaded (Ashutosh)
- Fix review comments (Jani)
- Remove endianness conversion (Ashutosh)
v3: Add power1_rated_max (Ashutosh)
v4:
- Use macro HWMON_CHANNEL_INFO to define power channel (Guenter)
- Update the date and kernel version in Documentation (Badal)
v5: Use hwm_ prefix for static functions (Ashutosh)
--- .../ABI/testing/sysfs-driver-intel-i915-hwmon | 20 ++ drivers/gpu/drm/i915/i915_hwmon.c | 175 +++++++++++++++++- drivers/gpu/drm/i915/i915_reg.h | 16 ++ drivers/gpu/drm/i915/intel_mchbar_regs.h | 6 + 4 files changed, 215 insertions(+), 2 deletions(-)
Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon +20 -0
@@ -5,3 +5,23 @@ Contact: [email protected] Description: RO. Current Voltage in millivolt. Only supported for particular Intel i915 graphics platforms. + +What: /sys/devices/.../hwmon/hwmon<i>/power1_max +Date: June 2022 +KernelVersion: 5.19 +Contact: [email protected] +Description: RW. Card reactive sustained (PL1/Tau) power limit in microwatts. + + The power controller will throttle the operating frequency + if the power averaged over a window (typically seconds) + exceeds this limit. + + Only supported for particular Intel i915 graphics platforms. + +What: /sys/devices/.../hwmon/hwmon<i>/power1_rated_max +Date: June 2022 +KernelVersion: 5.19 +Contact: [email protected] +Description: RO. Card default power limit (default TDP setting). + + Only supported for particular Intel i915 graphics platforms.
drivers/gpu/drm/i915/i915_hwmon.c +173 -2
227 lines not on this page · raw message
drivers/gpu/drm/i915/i915_reg.h +16 -0
@@ -1866,6 +1866,22 @@#define POWER_LIMIT_1_MASK REG_BIT(11)#define POWER_LIMIT_2_MASK REG_BIT(12) +/* +* *_PACKAGE_POWER_SKU - SKU power and timing parameters. +* Used herein as a 64-bit register. +* These masks are defined using GENMASK_ULL as REG_GENMASK is limited to u32 +* and as GENMASK is "long" and therefore 32-bits on a 32-bit system. +* PKG_PKG_TDP, PKG_MIN_PWR, and PKG_MAX_PWR are scaled in the same way as +* PKG_PWR_LIM_*, above. +* PKG_MAX_WIN has sub-fields for x and y, and has the value: is 1.x * 2^y. +*/ +#define PKG_PKG_TDP GENMASK_ULL(14, 0) +#define PKG_MIN_PWR GENMASK_ULL(30, 16) +#define PKG_MAX_PWR GENMASK_ULL(46, 32) +#define PKG_MAX_WIN GENMASK_ULL(54, 48) +#define PKG_MAX_WIN_Y GENMASK_ULL(54, 53) +#define PKG_MAX_WIN_X GENMASK_ULL(52, 48) +#define CHV_CLK_CTL1 _MMIO(0x101100)#define VLV_CLK_CTL2 _MMIO(0x101104)#define CLK_CTL2_CZCOUNT_30NS_SHIFT 28
drivers/gpu/drm/i915/intel_mchbar_regs.h +6 -0
@@ -189,6 +189,10 @@#define DG1_QCLK_RATIO_MASK REG_GENMASK(9, 2)#define DG1_QCLK_REFERENCE REG_BIT(10) +#define PCU_PACKAGE_POWER_SKU_UNIT _MMIO(MCHBAR_MIRROR_BASE_SNB + 0x5938) +#define PKG_PWR_UNIT REG_GENMASK(3, 0) +#define PKG_TIME_UNIT REG_GENMASK(19, 16) +#define GEN6_GT_PERF_STATUS _MMIO(MCHBAR_MIRROR_BASE_SNB + 0x5948)#define GEN6_RP_STATE_LIMITS _MMIO(MCHBAR_MIRROR_BASE_SNB + 0x5994)#define GEN6_RP_STATE_CAP _MMIO(MCHBAR_MIRROR_BASE_SNB + 0x5998)
@@ -198,6 +202,8 @@#define GEN10_FREQ_INFO_REC _MMIO(MCHBAR_MIRROR_BASE_SNB + 0x5ef0)#define RPE_MASK REG_GENMASK(15, 8) +#define PCU_PACKAGE_RAPL_LIMIT _MMIO(MCHBAR_MIRROR_BASE_SNB + 0x59a0) +#define PKG_PWR_LIM_1 REG_GENMASK(14, 0)/* snb MCH registers for priority tuning */ #define MCH_SSKPD _MMIO(MCHBAR_MIRROR_BASE_SNB + 0x5d10)
Signature · 1 line
2.25.1
Re: [Intel-gfx] [PATCH 3/7] drm/i915/hwmon: Power PL1 limit and TDP setting
Quoted 9 lines · Badal Nilawar
drivers/gpu/drm/i915/i915_hwmon.c +0
-0@@ -13,8 +13,22 @@#include "intel_mchbar_regs.h" #include "gt/intel_gt_regs.h"
drivers/gpu/drm/i915/i915_hwmon.c line 25
Quoted 10 lines
drivers/gpu/drm/i915/i915_hwmon.c +10
-0+/* +* SF_* - scale factors for particular quantities according to hwmon spec. +* - power - microwatts +*/ +#define SF_POWER 1000000 + +#define FIELD_SHIFT (__mask) \ + (BUILD_BUG_ON_ZERO(!__builtin_constant_p(__mask)) + \ + BUILD_BUG_ON_ZERO((__mask) == 0) + \ + __bf_shf(__mask))
Let's remove this macro, it's not needed, see below.
drivers/gpu/drm/i915/i915_hwmon.c struct i915_hwmon { · line 71
Quoted 8 lines
drivers/gpu/drm/i915/i915_hwmon.c +8
-0+/* +* This function's return type of u64 allows for the case where the scaling +* of the field taken from the 32-bit register value might cause a result to +* exceed 32 bits. +*/ +static u64 +hwm_field_read_and_scale(struct hwm_drvdata *ddat, i915_reg_t rgadr, + u32 field_msk, int field_shift,
Let's remove field_shift arg.
drivers/gpu/drm/i915/i915_hwmon.c struct i915_hwmon { · line 81
Quoted 10 lines
drivers/gpu/drm/i915/i915_hwmon.c +10
-0+ int nshift, u32 scale_factor) +{ +struct intel_uncore *uncore = ddat->uncore; +intel_wakeref_t wakeref; +u32 reg_value; + +with_intel_runtime_pm (uncore->rpm, wakeref) + reg_value = intel_uncore_read(uncore, rgadr); + + reg_value = (reg_value & field_msk) >> field_shift;
This is just 'REG_FIELD_GET(field_msk, reg_value)'.
drivers/gpu/drm/i915/i915_hwmon.c struct i915_hwmon { · line 88
Quoted 7 lines
drivers/gpu/drm/i915/i915_hwmon.c +7
-0+ +return mul_u64_u32_shr (reg_value, scale_factor, nshift); +} + +static void +hwm_field_scale_and_write(struct hwm_drvdata *ddat, i915_reg_t rgadr, + u32 field_msk, int field_shift,
Let's remove field_shift arg.
drivers/gpu/drm/i915/i915_hwmon.c struct i915_hwmon { · line 99
Quoted 11 lines
drivers/gpu/drm/i915/i915_hwmon.c +11
-0+ int nshift, unsigned int scale_factor, long lval) +{ + u32 nval; +u32 bits_to_clear; +u32 bits_to_set; + +/* Computation in 64-bits to avoid overflow. Round to nearest. */ + nval =DIV_ROUND_CLOSEST_ULL ((u64 )lval << nshift, scale_factor); + + bits_to_clear = field_msk; + bits_to_set = (nval << field_shift) & field_msk;
This is just 'REG_FIELD_PREP(field_msk, nval)'.
Quoted 21 lines
drivers/gpu/drm/i915/i915_hwmon.c +12
-2@@ -118,11 +260,40 @@ static void hwm_get_preregistration_info(struct drm_i915_private *i915) {struct i915_hwmon *hwmon = i915->hwmon; +struct intel_uncore *uncore = &i915->uncore; +intel_wakeref_t wakeref; +u32 val_sku_unit; -if (IS_DG1 (i915) ||IS_DG2 (i915)) +if (IS_DG1 (i915) ||IS_DG2 (i915)) { hwmon->rg.gt_perf_status =GEN12_RPSTAT1 ; -else + hwmon->rg.pkg_power_sku_unit =PCU_PACKAGE_POWER_SKU_UNIT ; + hwmon->rg.pkg_power_sku =INVALID_MMIO_REG ; + hwmon->rg.pkg_rapl_limit =PCU_PACKAGE_RAPL_LIMIT ; + }else { hwmon->rg.gt_perf_status =INVALID_MMIO_REG ; + hwmon->rg.pkg_power_sku_unit =INVALID_MMIO_REG ; + hwmon->rg.pkg_power_sku =INVALID_MMIO_REG ; + hwmon->rg.pkg_rapl_limit =INVALID_MMIO_REG ; + }
drivers/gpu/drm/i915/i915_hwmon.c static void · line 287
Quoted 10 lines
drivers/gpu/drm/i915/i915_hwmon.c +10
-0+ + with_intel_runtime_pm(uncore->rpm, wakeref) { +/* +* The contents of register hwmon->rg.pkg_power_sku_unit do not change, +* so read it once and store the shift values. +* +* For some platforms, this value is defined as available "for all +* tiles", with the values consistent across all tiles. +* In this case, use the tile 0 value for all. +*/
Let's delete this 2nd paragraph above, if values are available per tile we should just be using per tile counters consistently (this is only true for energy in our case, that patch will need to be fixed).
Quoted 13 lines
drivers/gpu/drm/i915/i915_reg.h +5
-0@@ -1866,6 +1866,22 @@#define POWER_LIMIT_1_MASK REG_BIT(11)#define POWER_LIMIT_2_MASK REG_BIT(12) +/* +* *_PACKAGE_POWER_SKU - SKU power and timing parameters. +* Used herein as a 64-bit register. +* These masks are defined using GENMASK_ULL as REG_GENMASK is limited to u32 +* and as GENMASK is "long" and therefore 32-bits on a 32-bit system.
drivers/gpu/drm/i915/i915_reg.h line 1883
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h +10
-0+* PKG_PKG_TDP, PKG_MIN_PWR, and PKG_MAX_PWR are scaled in the same way as +* PKG_PWR_LIM_*, above. +* PKG_MAX_WIN has sub-fields for x and y, and has the value: is 1.x * 2^y. +*/ +#define PKG_PKG_TDP GENMASK_ULL(14, 0) +#define PKG_MIN_PWR GENMASK_ULL(30, 16) +#define PKG_MAX_PWR GENMASK_ULL(46, 32) +#define PKG_MAX_WIN GENMASK_ULL(54, 48) +#define PKG_MAX_WIN_Y GENMASK_ULL(54, 53) +#define PKG_MAX_WIN_X GENMASK_ULL(52, 48)
Let's change this entire block above to just the following for this patch:
/* *_PACKAGE_POWER_SKU - SKU power and timing parameters */
#define PKG_PKG_TDP GENMASK_ULL(14, 0)
That is because none of the following #define's are used in this patch, they will be added in the patches they are used (PKG_MIN_PWR and PKG_MAX_PWR are not used at all). Also these fields are explained in i915_hwmon.c, no need to explain so much in a common header file.
Thanks.
--
Ashutosh
PATCH 4/7 drm/i915/hwmon: Show device level energy usage
In reply to Badal NilawarFrom: Dale B Stimson <[email protected]>
Use i915 HWMON to display device level energy input.
v2:
- Updated the date and kernel version in feature description
--- .../ABI/testing/sysfs-driver-intel-i915-hwmon | 8 ++ drivers/gpu/drm/i915/i915_hwmon.c | 119 +++++++++++++++++- drivers/gpu/drm/i915/i915_hwmon.h | 1 + drivers/gpu/drm/i915/intel_mchbar_regs.h | 2 + 4 files changed, 128 insertions(+), 2 deletions(-)
Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon +8 -0
@@ -25,3 +25,11 @@ Contact: [email protected] Description: RO. Card default power limit (default TDP setting). Only supported for particular Intel i915 graphics platforms. + +What: /sys/devices/.../hwmon/hwmon<i>/energy1_input +Date: June 2022 +KernelVersion: 5.19 +Contact: [email protected] +Description: RO. Energy input of device in microjoules. + + Only supported for particular Intel i915 graphics platforms.
drivers/gpu/drm/i915/i915_hwmon.c +117 -2
198 lines not on this page · raw message
drivers/gpu/drm/i915/i915_hwmon.h +1 -0
@@ -17,4 +17,5 @@ static inline void i915_hwmon_register(struct drm_i915_private *i915) { };static inline void i915_hwmon_unregister (struct drm_i915_private *i915) { };#endif +int i915_hwmon_energy_status_get (struct drm_i915_private *i915,long *energy);#endif /* __I915_HWMON_H__ */
drivers/gpu/drm/i915/intel_mchbar_regs.h +2 -0
@@ -191,7 +191,9 @@#define PCU_PACKAGE_POWER_SKU_UNIT _MMIO(MCHBAR_MIRROR_BASE_SNB + 0x5938)#define PKG_PWR_UNIT REG_GENMASK(3, 0) +#define PKG_ENERGY_UNIT REG_GENMASK(12, 8)#define PKG_TIME_UNIT REG_GENMASK(19, 16) +#define PCU_PACKAGE_ENERGY_STATUS _MMIO(MCHBAR_MIRROR_BASE_SNB + 0x593c)#define GEN6_GT_PERF_STATUS _MMIO(MCHBAR_MIRROR_BASE_SNB + 0x5948)#define GEN6_RP_STATE_LIMITS _MMIO(MCHBAR_MIRROR_BASE_SNB + 0x5994)
Signature · 1 line
2.25.1
Re: [Intel-gfx] [PATCH 4/7] drm/i915/hwmon: Show device level energy usage
Quoted 7 lines · Badal Nilawar
From: Dale B Stimson <[email protected]>
Use i915 HWMON to display device level energy input.
v2:
- Updated the date and kernel version in feature description
A few things to delete below but since no other changes this is:
Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon Contact: [email protected] · line 31
Quoted 12 lines
Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon +4
-0@@ -25,3 +25,11 @@ Contact: [email protected] Description: RO. Card default power limit (default TDP setting). Only supported for particular Intel i915 graphics platforms. + +What: /sys/devices/.../hwmon/hwmon<i>/energy1_input +Date: June 2022 +KernelVersion: 5.19
Need to update kernel version on all patches now at least to 6.0 if not 6.1.
Quoted 4 lines
Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon +4
-0+static int +hwm_energy(struct hwm_drvdata *ddat, long *energy) +{ + struct intel_uncore *uncore = ddat->uncore;
Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon Contact: [email protected]
Quoted 10 lines
Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon +10
-0+ struct i915_hwmon *hwmon = ddat->hwmon; + struct hwm_energy_info *ei = &ddat->ei; + intel_wakeref_t wakeref; + i915_reg_t rgaddr; + u32 reg_val; + + rgaddr = hwmon->rg.energy_status_all; + + if (!i915_mmio_reg_valid(rgaddr)) + return -EOPNOTSUPP;
Delete two lines above. Something like this is only needed if we have i915_hwmon_energy_status_get() which we are deleting below. hwm_energy_is_visible() takes care of making the sysfs node invisible when something cannot be supported and has the same check.
Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon
Quoted 8 lines
Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon +8
-0+int +i915_hwmon_energy_status_get(struct drm_i915_private *i915, long *energy) +{ + struct i915_hwmon *hwmon = i915->hwmon; + struct hwm_drvdata *ddat = &hwmon->ddat; + + return hwm_energy(ddat, energy); +}
Let's delete this function, there are no users for it at present.
drivers/gpu/drm/i915/i915_hwmon.h static inline void i915_hwmon_register(struct drm_i915_private *i915) { }; · line 20
Quoted 9 lines
drivers/gpu/drm/i915/i915_hwmon.h +1
-0@@ -17,4 +17,5 @@ static inline void i915_hwmon_register(struct drm_i915_private *i915) { };static inline void i915_hwmon_unregister (struct drm_i915_private *i915) { };#endif +int i915_hwmon_energy_status_get (struct drm_i915_private *i915,long *energy);
Delete.
Re: [Intel-gfx] [PATCH 4/7] drm/i915/hwmon: Show device level energy usage
In reply to Badal NilawarQuoted 24 lines · Badal Nilawar
From: Dale B Stimson <[email protected]>
Use i915 HWMON to display device level energy input.
v2:
- Updated the date and kernel version in feature descriptionSigned-off-by Dale B Stimson <[email protected]>Signed-off-by Ashutosh Dixit <[email protected]>Signed-off-by Riana Tauro <[email protected]>Signed-off-by Badal Nilawar <[email protected]>Acked-by Guenter Roeck <[email protected]>--- .../ABI/testing/sysfs-driver-intel-i915-hwmon | 8 ++ drivers/gpu/drm/i915/i915_hwmon.c | 119 +++++++++++++++++- drivers/gpu/drm/i915/i915_hwmon.h | 1 + drivers/gpu/drm/i915/intel_mchbar_regs.h | 2 + 4 files changed, 128 insertions(+), 2 deletions(-)Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon +0
-0
Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon Contact: [email protected] · line 31
Quoted 7 lines
Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon +4
-0@@ -25,3 +25,11 @@ Contact: [email protected] Description: RO. Card default power limit (default TDP setting). Only supported for particular Intel i915 graphics platforms. + +What: /sys/devices/.../hwmon/hwmon<i>/energy1_input +Date: June 2022 +KernelVersion: 5.19
Date and kernel version will need updating throughout I think.
But why I am here actually is to ask if there are plans to make intel_gpu_top support this? It would be nice to have since it reports power for integrated.
Regards,
Tvrtko
Quoted 239 lines
Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon +4
-0+Contact: [email protected] +Description: RO. Energy input of device in microjoules. + + Only supported for particular Intel i915 graphics platforms.drivers/gpu/drm/i915/i915_hwmon.c +117
-2@@ -16,8 +16,10 @@/* * SF_* - scale factors for particular quantities according to hwmon spec. * - power - microwatts +* - energy - microjoules */ #define SF_POWER 1000000 +#define SF_ENERGY 1000000#define FIELD_SHIFT (__mask) \ (BUILD_BUG_ON_ZERO(!__builtin_constant_p(__mask)) + \@@ -29,12 +31,19 @@ struct hwm_reg {i915_reg_t pkg_power_sku_unit;i915_reg_t pkg_power_sku;i915_reg_t pkg_rapl_limit; +i915_reg_t energy_status_all; +}; + +struct hwm_energy_info { +u32 reg_val_prev; +long accum_energy;/* Accumulated energy for energy1_input */ };struct hwm_drvdata {struct i915_hwmon *hwmon;struct intel_uncore *uncore;struct device *hwmon_dev; +struct hwm_energy_info ei;/* Energy info for energy1_input */ char name[12 ]; };@@ -43,6 +52,7 @@ struct i915_hwmon {struct mutex hwmon_lock;/* counter overflow logic and rmw */ struct hwm_reg rg;int scl_shift_power; +int scl_shift_energy; }; static void@@ -102,9 +112,72 @@ hwm_field_scale_and_write(struct hwm_drvdata *ddat, i915_reg_t rgadr, bits_to_clear, bits_to_set); } +/* +* hwm_energy - Obtain energy value +* +* The underlying energy hardware register is 32-bits and is subject to +* overflow. How long before overflow? For example, with an example +* scaling bit shift of 14 bits (see register *PACKAGE_POWER_SKU_UNIT) and +* a power draw of 1000 watts, the 32-bit counter will overflow in +* approximately 4.36 minutes. +* +* Examples: +* 1 watt: (2^32 >> 14) / 1 W / (60 * 60 * 24) secs/day -> 3 days +* 1000 watts: (2^32 >> 14) / 1000 W / 60 secs/min -> 4.36 minutes +* +* The function significantly increases overflow duration (from 4.36 +* minutes) by accumulating the energy register into a 'long' as allowed by +* the hwmon API. Using x86_64 128 bit arithmetic (see mul_u64_u32_shr()), +* a 'long' of 63 bits, SF_ENERGY of 1e6 (~20 bits) and +* hwmon->scl_shift_energy of 14 bits we have 57 (63 - 20 + 14) bits before +* energy1_input overflows. This at 1000 W is an overflow duration of 278 years. +*/ +static int +hwm_energy (struct hwm_drvdata *ddat,long *energy) +{ +struct intel_uncore *uncore = ddat->uncore; +struct i915_hwmon *hwmon = ddat->hwmon; +struct hwm_energy_info *ei = &ddat->ei; +intel_wakeref_t wakeref; +i915_reg_t rgaddr; +u32 reg_val; + + rgaddr = hwmon->rg.energy_status_all; + +if (!i915_mmio_reg_valid (rgaddr)) +return -EOPNOTSUPP ; + +mutex_lock (&hwmon->hwmon_lock); + +with_intel_runtime_pm (uncore->rpm, wakeref) + reg_val = intel_uncore_read(uncore, rgaddr); + +if (reg_val >= ei->reg_val_prev) + ei->accum_energy += reg_val - ei->reg_val_prev; +else + ei->accum_energy +=UINT_MAX - ei->reg_val_prev + reg_val; + ei->reg_val_prev = reg_val; + + *energy =mul_u64_u32_shr (ei->accum_energy,SF_ENERGY , + hwmon->scl_shift_energy); +mutex_unlock (&hwmon->hwmon_lock); + +return 0 ; +} + +int +i915_hwmon_energy_status_get (struct drm_i915_private *i915,long *energy) +{ +struct i915_hwmon *hwmon = i915->hwmon; +struct hwm_drvdata *ddat = &hwmon->ddat; + +return hwm_energy (ddat, energy); +} +static const struct hwmon_channel_info *hwm_info[] = {HWMON_CHANNEL_INFO (in,HWMON_I_INPUT ),HWMON_CHANNEL_INFO (power,HWMON_P_MAX |HWMON_P_RATED_MAX ), +HWMON_CHANNEL_INFO (energy,HWMON_E_INPUT ),NULL };@@ -199,6 +272,32 @@ hwm_power_write(struct hwm_drvdata *ddat, u32 attr, int chan, long val) } } +static umode_t +hwm_energy_is_visible (const struct hwm_drvdata *ddat,u32 attr) +{ +struct i915_hwmon *hwmon = ddat->hwmon; +i915_reg_t rgaddr; + +switch (attr) { +case hwmon_energy_input: + rgaddr = hwmon->rg.energy_status_all; +return i915_mmio_reg_valid (rgaddr) ?0444 :0 ; +default : +return 0 ; + } +} + +static int +hwm_energy_read (struct hwm_drvdata *ddat,u32 attr,long *val) +{ +switch (attr) { +case hwmon_energy_input: +return hwm_energy (ddat, val); +default : +return -EOPNOTSUPP ; + } +} +static umode_t hwm_is_visible (const void *drvdata,enum hwmon_sensor_types type,u32 attr,int channel)@@ -210,6 +309,8 @@ hwm_is_visible(const void *drvdata, enum hwmon_sensor_types type,return hwm_in_is_visible (ddat, attr);case hwmon_power:return hwm_power_is_visible (ddat, attr, channel); +case hwmon_energy: +return hwm_energy_is_visible (ddat, attr);default :return 0 ; }@@ -226,6 +327,8 @@ hwm_read(struct device *dev, enum hwmon_sensor_types type, u32 attr,return hwm_in_read (ddat, attr, val);case hwmon_power:return hwm_power_read (ddat, attr, channel, val); +case hwmon_energy: +return hwm_energy_read (ddat, attr, val);default :return -EOPNOTSUPP ; }@@ -261,19 +364,23 @@ hwm_get_preregistration_info(struct drm_i915_private *i915) {struct i915_hwmon *hwmon = i915->hwmon;struct intel_uncore *uncore = &i915->uncore; +struct hwm_drvdata *ddat = &hwmon->ddat;intel_wakeref_t wakeref;u32 val_sku_unit; +long energy;if (IS_DG1 (i915) ||IS_DG2 (i915)) { hwmon->rg.gt_perf_status =GEN12_RPSTAT1 ; hwmon->rg.pkg_power_sku_unit =PCU_PACKAGE_POWER_SKU_UNIT ; hwmon->rg.pkg_power_sku =INVALID_MMIO_REG ; hwmon->rg.pkg_rapl_limit =PCU_PACKAGE_RAPL_LIMIT ; + hwmon->rg.energy_status_all =PCU_PACKAGE_ENERGY_STATUS ; }else { hwmon->rg.gt_perf_status =INVALID_MMIO_REG ; hwmon->rg.pkg_power_sku_unit =INVALID_MMIO_REG ; hwmon->rg.pkg_power_sku =INVALID_MMIO_REG ; hwmon->rg.pkg_rapl_limit =INVALID_MMIO_REG ; + hwmon->rg.energy_status_all =INVALID_MMIO_REG ; } with_intel_runtime_pm(uncore->rpm, wakeref) {@@ -291,9 +398,17 @@ hwm_get_preregistration_info(struct drm_i915_private *i915) }else { val_sku_unit =0 ; } - - hwmon->scl_shift_power =REG_FIELD_GET (PKG_PWR_UNIT , val_sku_unit); } + + hwmon->scl_shift_power =REG_FIELD_GET (PKG_PWR_UNIT , val_sku_unit); + hwmon->scl_shift_energy =REG_FIELD_GET (PKG_ENERGY_UNIT , val_sku_unit); + +/* +* Initialize 'struct hwm_energy_info', i.e. set fields to the +* first value of the energy register read +*/ +if (i915_mmio_reg_valid (hwmon->rg.energy_status_all)) +hwm_energy (ddat, &energy); }void i915_hwmon_register (struct drm_i915_private *i915)drivers/gpu/drm/i915/i915_hwmon.h +1
-0@@ -17,4 +17,5 @@ static inline void i915_hwmon_register(struct drm_i915_private *i915) { };static inline void i915_hwmon_unregister (struct drm_i915_private *i915) { };#endif +int i915_hwmon_energy_status_get (struct drm_i915_private *i915,long *energy);#endif /* __I915_HWMON_H__ */ drivers/gpu/drm/i915/intel_mchbar_regs.h +2
-0@@ -191,7 +191,9 @@#define PCU_PACKAGE_POWER_SKU_UNIT _MMIO(MCHBAR_MIRROR_BASE_SNB + 0x5938)#define PKG_PWR_UNIT REG_GENMASK(3, 0) +#define PKG_ENERGY_UNIT REG_GENMASK(12, 8)#define PKG_TIME_UNIT REG_GENMASK(19, 16) +#define PCU_PACKAGE_ENERGY_STATUS _MMIO(MCHBAR_MIRROR_BASE_SNB + 0x593c)#define GEN6_GT_PERF_STATUS _MMIO(MCHBAR_MIRROR_BASE_SNB + 0x5948)#define GEN6_RP_STATE_LIMITS _MMIO(MCHBAR_MIRROR_BASE_SNB + 0x5994)
Re: [Intel-gfx] [PATCH 4/7] drm/i915/hwmon: Show device level energy usage
Quoted 1 line · Tvrtko Ursulin
Hi Tvrtko,
Quoted 18 lines · Badal Nilawar
Quoted 10 lines
From: Dale B Stimson <[email protected]>
Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon +0
-0@@ -25,3 +25,11 @@ Contact: [email protected] Description: RO. Card default power limit (default TDP setting). Only supported for particular Intel i915 graphicsplatforms.
Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon Contact: [email protected] · line 31
Quoted 4 lines
Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon +4
-0+ +What: /sys/devices/.../hwmon/hwmon<i>/energy1_input +Date: June 2022 +KernelVersion: 5.19Date and kernel version will need updating throughout I think.
Quoted 3 lines
But why I am here actually is to ask if there are plans to make
intel_gpu_topsupport this? It would be nice to have since it reports power for integrated.
There were no plans but now Riana has an IGT patch series which exposes a unified inteface for rapl/hwmon (igfx/dgfx):
https://patchwork.freedesktop.org/series/108185/
So perhaps we can either have intel_gpu_top use this IGT lib or if it doesn't, copy some functions to intel_gpu_top.
Thanks.
--
Ashutosh
Re: [Intel-gfx] [PATCH 4/7] drm/i915/hwmon: Show device level energy usage
Quoted 27 lines · Ashutosh
Quoted 1 line · Tvrtko Ursulin
Hi Tvrtko,
Quoted 18 lines · Badal Nilawar
Quoted 10 lines
From: Dale B Stimson <[email protected]>
Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon +0
-0@@ -25,3 +25,11 @@ Contact: [email protected] Description: RO. Card default power limit (default TDP setting). Only supported for particular Intel i915 graphicsplatforms.
Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon Contact: [email protected] · line 31
Quoted 4 lines
Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon +4
-0+ +What: /sys/devices/.../hwmon/hwmon<i>/energy1_input +Date: June 2022 +KernelVersion: 5.19Date and kernel version will need updating throughout I think.
Quoted 3 lines
But why I am here actually is to ask if there are plans to make
intel_gpu_topsupport this? It would be nice to have since it reports power for integrated.
Quoted 7 lines
There were no plans but now Riana has an IGT patch series which exposes a unified inteface for rapl/hwmon (igfx/dgfx):
https://patchwork.freedesktop.org/series/108185/
So perhaps we can either have
intel_gpu_topuse this IGT lib or if it doesn't, copy some functions tointel_gpu_top.
Looks promising and would be nice yeah.
On the practicalities, first thing which comes to mind that probably it would need to be a separate library like igt_perf and igt_device_scan, since so far we have avoided linking intel_gpu_top with the whole lib_igt.
Regards,
Tvrtko
PATCH 5/7 drm/i915/hwmon: Expose card reactive critical power
In reply to Badal NilawarFrom: Ashutosh Dixit <[email protected]>
Expose the card reactive critical (I1) power. I1 is exposed as power1_crit in microwatts (typically for client products) or as curr1_crit in milliamperes (typically for server).
v2: Add curr1_crit functionality (Ashutosh)
v3:
- Use HWMON_CHANNEL_INFO to define power1_crit, curr1_crit (Badal)
- Update date and kernel version in Documentation.
v4: Use hwm_ prefix for static functions (Ashutosh)
--- .../ABI/testing/sysfs-driver-intel-i915-hwmon | 26 +++++ drivers/gpu/drm/i915/i915_hwmon.c | 95 ++++++++++++++++++- drivers/gpu/drm/i915/i915_reg.h | 6 ++ 3 files changed, 126 insertions(+), 1 deletion(-)
Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon +26 -0
@@ -26,6 +26,32 @@ Description: RO. Card default power limit (default TDP setting). Only supported for particular Intel i915 graphics platforms. +What: /sys/devices/.../hwmon/hwmon<i>/power1_crit +Date: June 2022 +KernelVersion: 5.19 +Contact: [email protected] +Description: RW. Card reactive critical (I1) power limit in microwatts. + + Card reactive critical (I1) power limit in microwatts is exposed + for client products. The power controller will throttle the + operating frequency if the power averaged over a window exceeds + this limit. + + Only supported for particular Intel i915 graphics platforms. + +What: /sys/devices/.../hwmon/hwmon<i>/curr1_crit +Date: June 2022 +KernelVersion: 5.19 +Contact: [email protected] +Description: RW. Card reactive critical (I1) power limit in milliamperes. + + Card reactive critical (I1) power limit in milliamperes is + exposed for server products. The power controller will throttle + the operating frequency if the power averaged over a window + exceeds this limit. + + Only supported for particular Intel i915 graphics platforms. + What: /sys/devices/.../hwmon/hwmon<i>/energy1_input Date: June 2022 KernelVersion: 5.19
drivers/gpu/drm/i915/i915_hwmon.c +94 -1
180 lines not on this page · raw message
drivers/gpu/drm/i915/i915_reg.h +6 -0
@@ -6676,6 +6676,12 @@#define DG1_PCODE_STATUS 0x7E#define DG1_UNCORE_GET_INIT_STATUS 0x0#define DG1_UNCORE_INIT_STATUS_COMPLETE 0x1 +#define PCODE_POWER_SETUP 0x7C +#define POWER_SETUP_SUBCOMMAND_READ_I1 0x4 +#define POWER_SETUP_SUBCOMMAND_WRITE_I1 0x5 +#define POWER_SETUP_I1_WATTS REG_BIT(31) +#define POWER_SETUP_I1_SHIFT 6/* 10.6 fixed point format */ +#define POWER_SETUP_I1_DATA_MASK REG_GENMASK(15, 0)#define GEN12_PCODE_READ_SAGV_BLOCK_TIME_US 0x23#define XEHP_PCODE_FREQUENCY_CONFIG 0x6e/* xehpsdv, pvc */ /* XEHP_PCODE_FREQUENCY_CONFIG sub-commands (param1) */
Signature · 1 line
2.25.1
PATCH 6/7 drm/i915/hwmon: Expose power1_max_interval
In reply to Badal NilawarFrom: Ashutosh Dixit <[email protected]>
Expose power1_max_interval, that is the tau corresponding to PL1. Some bit manipulation is needed because of the format of PKG_PWR_LIM_1_TIME in GT0_PACKAGE_RAPL_LIMIT register (1.x * power(2,y)).
v2: Update date and kernel version in Documentation (Badal)
v3: Cleaned up hwm_power1_max_interval_store() (Badal)
--- .../ABI/testing/sysfs-driver-intel-i915-hwmon | 9 ++ drivers/gpu/drm/i915/i915_hwmon.c | 114 +++++++++++++++++- drivers/gpu/drm/i915/i915_reg.h | 4 +- drivers/gpu/drm/i915/intel_mchbar_regs.h | 4 + 4 files changed, 128 insertions(+), 3 deletions(-)
Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon +9 -0
@@ -26,6 +26,15 @@ Description: RO. Card default power limit (default TDP setting). Only supported for particular Intel i915 graphics platforms. +What: /sys/devices/.../hwmon/hwmon<i>/power1_max_interval +Date: June 2022 +KernelVersion: 5.19 +Contact: [email protected] +Description: RW. Sustained power limit interval (Tau in PL1/Tau) in + milliseconds over which sustained power is averaged. + + Only supported for particular Intel i915 graphics platforms. + What: /sys/devices/.../hwmon/hwmon<i>/power1_crit Date: June 2022 KernelVersion: 5.19
drivers/gpu/drm/i915/i915_hwmon.c +113 -1
148 lines not on this page · raw message
drivers/gpu/drm/i915/i915_reg.h +2 -2
@@ -1879,8 +1879,8 @@#define PKG_MIN_PWR GENMASK_ULL(30, 16)#define PKG_MAX_PWR GENMASK_ULL(46, 32)#define PKG_MAX_WIN GENMASK_ULL(54, 48) -#define PKG_MAX_WIN_Y GENMASK_ULL(54, 53) -#define PKG_MAX_WIN_X GENMASK_ULL(52, 48) +#define PKG_MAX_WIN_X GENMASK_ULL(54, 53) +#define PKG_MAX_WIN_Y GENMASK_ULL(52, 48)#define CHV_CLK_CTL1 _MMIO(0x101100)#define VLV_CLK_CTL2 _MMIO(0x101104)
drivers/gpu/drm/i915/intel_mchbar_regs.h +4 -0
@@ -206,6 +206,10 @@#define RPE_MASK REG_GENMASK(15, 8)#define PCU_PACKAGE_RAPL_LIMIT _MMIO(MCHBAR_MIRROR_BASE_SNB + 0x59a0)#define PKG_PWR_LIM_1 REG_GENMASK(14, 0) +#define PKG_PWR_LIM_1_EN REG_BIT(15) +#define PKG_PWR_LIM_1_TIME REG_GENMASK(23, 17) +#define PKG_PWR_LIM_1_TIME_X REG_GENMASK(23, 22) +#define PKG_PWR_LIM_1_TIME_Y REG_GENMASK(21, 17)/* snb MCH registers for priority tuning */ #define MCH_SSKPD _MMIO(MCHBAR_MIRROR_BASE_SNB + 0x5d10)
Signature · 1 line
2.25.1
PATCH 7/7 drm/i915/hwmon: Extend power/energy for XEHPSDV
In reply to Badal NilawarFrom: Dale B Stimson <[email protected]>
Extend hwmon power/energy for XEHPSDV especially per gt level energy usage.
v2: Update to latest HWMON spec (Ashutosh)
--- .../ABI/testing/sysfs-driver-intel-i915-hwmon | 7 +- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 5 + drivers/gpu/drm/i915/i915_hwmon.c | 120 +++++++++++++++++- 3 files changed, 128 insertions(+), 4 deletions(-)
Documentation/ABI/testing/sysfs-driver-intel-i915-hwmon +6 -1
@@ -65,6 +65,11 @@ What: /sys/devices/.../hwmon/hwmon<i>/energy1_input Date: June 2022 KernelVersion: 5.19 Contact: [email protected] -Description: RO. Energy input of device in microjoules. +Description: RO. Energy input of device or gt in microjoules. + + For i915 device level hwmon devices (name "i915") this + reflects energy input for the entire device. For gt level + hwmon devices (name "i915_gtN") this reflects energy input + for the gt. Only supported for particular Intel i915 graphics platforms.
drivers/gpu/drm/i915/gt/intel_gt_regs.h +5 -0
@@ -1579,4 +1579,9 @@#define GEN12_SFC_DONE (n) _MMIO(0x1cc000 + (n) * 0x1000) +#define GT0_PACKAGE_ENERGY_STATUS _MMIO(0x250004) +#define GT0_PACKAGE_RAPL_LIMIT _MMIO(0x250008) +#define GT0_PACKAGE_POWER_SKU_UNIT _MMIO(0x250068) +#define GT0_PLATFORM_ENERGY_STATUS _MMIO(0x25006c) +#endif /* __INTEL_GT_REGS__ */
drivers/gpu/drm/i915/i915_hwmon.c +117 -3
227 lines not on this page · raw message
Signature · 1 line
2.25.1
Re: [Intel-gfx] [PATCH 7/7] drm/i915/hwmon: Extend power/energy for XEHPSDV
Quoted 5 lines · Badal Nilawar
From: Dale B Stimson <[email protected]>
Extend hwmon power/energy for XEHPSDV especially per gt level energy usage.
A couple of very minor nits below which need to be fixed. But otherwise this patch is:
Quoted 13 lines
drivers/gpu/drm/i915/i915_hwmon.c +1
-0@@ -12,6 +12,7 @@#include "i915_reg.h" #include "intel_mchbar_regs.h" #include "intel_pcode.h" +#include "gt/intel_gt.h" #include "gt/intel_gt_regs.h" /*
drivers/gpu/drm/i915/i915_hwmon.c line 25
Quoted 5 lines
drivers/gpu/drm/i915/i915_hwmon.c +1
-1@@ -21,7 +22,7 @@* - curr - milliamperes * - energy - microjoules */ -#define SF_TIME 1000 +#define SF_TIME 1000
This change should not be in this patch, it seems an unnecessary space has been inserted.
drivers/gpu/drm/i915/i915_hwmon.c void i915_hwmon_register(struct drm_i915_private *i915) · line 695
Quoted 7 lines
drivers/gpu/drm/i915/i915_hwmon.c +3
-0@@ -622,6 +690,10 @@ void i915_hwmon_register(struct drm_i915_private *i915)struct i915_hwmon *hwmon;struct device *hwmon_dev;struct hwm_drvdata *ddat; +struct hwm_drvdata *ddat_gt; +struct intel_gt *gt; +const char *ddname;
Variable is not needed, let's delete it and directly use ddat_gt->name.
Quoted 12 lines
drivers/gpu/drm/i915/i915_hwmon.c +0
-0void i915_hwmon_unregister (struct drm_i915_private *i915) {struct i915_hwmon *hwmon;struct hwm_drvdata *ddat;drivers/gpu/drm/i915/i915_hwmon.c +2
-0+struct intel_gt *gt; +int i;hwmon = fetch_and_zero(&i915->hwmon); if (!hwmon) return; ddat = &hwmon->ddat;
drivers/gpu/drm/i915/i915_hwmon.c void i915_hwmon_register(struct drm_i915_private *i915) · line 779
Quoted 9 lines
drivers/gpu/drm/i915/i915_hwmon.c +9
-0+ +for_each_gt (gt, i915, i) { +struct hwm_drvdata *ddat_gt; + + ddat_gt = hwmon->ddat_gt + i; + +if (ddat_gt->hwmon_dev) { +hwmon_device_unregister (ddat_gt->hwmon_dev); + ddat_gt->hwmon_dev =NULL ;
No need to set to NULL, we are doing 'kfree(hwmon)' below, let's just delete this line.
Thanks.
--
Ashutosh
Patchwork
CI[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Add HWMON support (rev5)
In reply to Badal Nilawar== Series Details ==
== Series Details ==
Series: drm/i915: Add HWMON support (rev5)
URL : https://patchwork.freedesktop.org/series/104278/
State : warning
== Summary ==
Error: dim checkpatch failed4d2dbe77d024 drm/i915/hwmon: Add HWMON infrastructure
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'
-:83: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #83:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 196 lines checkedc2288792c911 drm/i915/hwmon: Add HWMON current voltage support
-:23: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #23:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 98 lines checked896c4806810e drm/i915/hwmon: Power PL1 limit and TDP setting
-:70: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__mask' - possible side-effects? #70: FILE: drivers/gpu/drm/i915/i915_hwmon.c:22:
+#define FIELD_SHIFT(__mask) \
+ (BUILD_BUG_ON_ZERO(!__builtin_constant_p(__mask)) + \
+ BUILD_BUG_ON_ZERO((__mask) == 0) + \
+ __bf_shf(__mask))
total: 0 errors, 0 warnings, 1 checks, 290 lines checked 0d7f6bd1a25b drm/i915/hwmon: Show device level energy usage cc18f86da554 drm/i915/hwmon: Expose card reactive critical power 90028741f465 drm/i915/hwmon: Expose power1_max_interval 0f7b7b59ec09 drm/i915/hwmon: Extend power/energy for XEHPSDV
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915: Add HWMON support (rev5)
In reply to Badal Nilawar== Series Details ==
== Series Details ==
Series: drm/i915: Add HWMON support (rev5)
URL : https://patchwork.freedesktop.org/series/104278/
State : warning
== Summary ==
Error: dim sparse failed
Sparse version: v0.6.2
Fast mode used, each commit won't be checked separately.
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Add HWMON support (rev5)
In reply to Badal Nilawar== Series Details ==
== Series Details ==
Series: drm/i915: Add HWMON support (rev5)
URL : https://patchwork.freedesktop.org/series/104278/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12024 -> Patchwork_104278v5
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/index.html
Participating hosts (35 -> 35)
------------------------------
Additional (1): bat-dg1-6
Missing (1): bat-dg2-8
Known issues
------------
Here are the changes found in Patchwork_104278v5 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_mmap@basic:
- bat-dg1-6: NOTRUN -> [SKIP][1] ([i915#4083])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/bat-dg1-6/igt@[email protected]
* igt@gem_render_tiled_blits@basic:
- bat-dg1-6: NOTRUN -> [SKIP][2] ([i915#4079]) +1 similar issue
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/bat-dg1-6/igt@[email protected]
* igt@gem_tiled_fence_blits@basic:
- bat-dg1-6: NOTRUN -> [SKIP][3] ([i915#4077]) +2 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/bat-dg1-6/igt@[email protected]
* igt@i915_pm_backlight@basic-brightness:
- bat-dg1-6: NOTRUN -> [SKIP][4] ([i915#1155])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/bat-dg1-6/igt@[email protected]
* igt@i915_pm_rps@basic-api:
- bat-dg1-6: NOTRUN -> [SKIP][5] ([i915#6621])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/bat-dg1-6/igt@[email protected]
* igt@i915_selftest@live@hangcheck:
- bat-dg1-6: NOTRUN -> [DMESG-FAIL][6] ([i915#4494] / [i915#4957])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/bat-dg1-6/igt@i915_selftest@[email protected]
* igt@i915_suspend@basic-s2idle-without-i915:
- bat-dg1-6: NOTRUN -> [INCOMPLETE][7] ([i915#6011])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/bat-dg1-6/igt@[email protected]
* igt@kms_addfb_basic@basic-y-tiled-legacy:
- bat-dg1-6: NOTRUN -> [SKIP][8] ([i915#4215])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/bat-dg1-6/igt@[email protected]
* igt@kms_addfb_basic@tile-pitch-mismatch:
- bat-dg1-6: NOTRUN -> [SKIP][9] ([i915#4212]) +7 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/bat-dg1-6/igt@[email protected]
* igt@kms_chamelium@hdmi-crc-fast:
- bat-dg1-6: NOTRUN -> [SKIP][10] ([fdo#111827]) +7 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/bat-dg1-6/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor:
- bat-dg1-6: NOTRUN -> [SKIP][11] ([i915#4103] / [i915#4213])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/bat-dg1-6/igt@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- bat-dg1-6: NOTRUN -> [SKIP][12] ([fdo#109285])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/bat-dg1-6/igt@[email protected]
* igt@kms_psr@sprite_plane_onoff:
- bat-dg1-6: NOTRUN -> [SKIP][13] ([i915#1072] / [i915#4078]) +3 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/bat-dg1-6/igt@kms_psr@sprite_plane_onoff.html
* igt@kms_setmode@basic-clone-single-crtc:
- bat-dg1-6: NOTRUN -> [SKIP][14] ([i915#3555])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/bat-dg1-6/igt@[email protected]
* igt@prime_vgem@basic-gtt:
- bat-dg1-6: NOTRUN -> [SKIP][15] ([i915#3708] / [i915#4077]) +1 similar issue
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/bat-dg1-6/igt@[email protected]
* igt@prime_vgem@basic-read:
- bat-dg1-6: NOTRUN -> [SKIP][16] ([i915#3708]) +3 similar issues
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/bat-dg1-6/igt@[email protected]
* igt@prime_vgem@basic-userptr:
- bat-dg1-6: NOTRUN -> [SKIP][17] ([i915#3708] / [i915#4873])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/bat-dg1-6/igt@[email protected]
* igt@runner@aborted:
- bat-dg1-6: NOTRUN -> [FAIL][18] ([i915#4312] / [i915#5257])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/bat-dg1-6/igt@[email protected]
#### Possible fixes ####
* igt@i915_selftest@live@hugepages:
- {bat-rpls-1}: [DMESG-WARN][19] ([i915#5278]) -> [PASS][20]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/bat-rpls-1/igt@i915_selftest@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/bat-rpls-1/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@reset:
- {bat-rpls-1}: [DMESG-FAIL][21] ([i915#4983]) -> [PASS][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/bat-rpls-1/igt@i915_selftest@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/bat-rpls-1/igt@i915_selftest@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1155]: https://gitlab.freedesktop.org/drm/intel/issues/1155
[i915#2867]: https://gitlab.freedesktop.org/drm/intel/issues/2867
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#4215]: https://gitlab.freedesktop.org/drm/intel/issues/4215
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4494]: https://gitlab.freedesktop.org/drm/intel/issues/4494
[i915#4873]: https://gitlab.freedesktop.org/drm/intel/issues/4873
[i915#4957]: https://gitlab.freedesktop.org/drm/intel/issues/4957
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5257]: https://gitlab.freedesktop.org/drm/intel/issues/5257
[i915#5278]: https://gitlab.freedesktop.org/drm/intel/issues/5278
[i915#6011]: https://gitlab.freedesktop.org/drm/intel/issues/6011
[i915#6579]: https://gitlab.freedesktop.org/drm/intel/issues/6579
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
Build changes
-------------
* Linux: CI_DRM_12024 -> Patchwork_104278v5
CI-20190529: 20190529
CI_DRM_12024: 656b7e74f416705f11953d30cda518a98f18ba2e @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6636: 1298b5f0e1b3e010657ffba41d2e775fab028e08 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_104278v5: 656b7e74f416705f11953d30cda518a98f18ba2e @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
96e56ea6c84c drm/i915/hwmon: Extend power/energy for XEHPSDV d48b7d965b4f drm/i915/hwmon: Expose power1_max_interval 9b1a57715012 drm/i915/hwmon: Expose card reactive critical power 5b52825dfe58 drm/i915/hwmon: Show device level energy usage a585bc5d3bd7 drm/i915/hwmon: Power PL1 limit and TDP setting f23a5e0dae49 drm/i915/hwmon: Add HWMON current voltage support 30e69a346db6 drm/i915/hwmon: Add HWMON infrastructure
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/index.html
Patchwork
CI[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: Add HWMON support (rev5)
In reply to Badal Nilawar== Series Details ==
== Series Details ==
Series: drm/i915: Add HWMON support (rev5)
URL : https://patchwork.freedesktop.org/series/104278/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_12024_full -> Patchwork_104278v5_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_104278v5_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_104278v5_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
Participating hosts (11 -> 12)
------------------------------
Additional (1): shard-rkl
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_104278v5_full:
### IGT changes ###
#### Possible regressions ####
* igt@perf_pmu@rc6-suspend:
- shard-iclb: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-iclb6/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-iclb2/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_104278v5_full that come from known issues:
### CI changes ###
#### Issues hit ####
* boot:
- shard-glk: ([PASS][3], [PASS][4], [PASS][5], [PASS][6], [PASS][7], [PASS][8], [PASS][9], [PASS][10], [PASS][11], [PASS][12], [PASS][13], [PASS][14], [PASS][15], [PASS][16], [PASS][17], [PASS][18], [PASS][19], [PASS][20], [PASS][21], [PASS][22], [PASS][23], [PASS][24], [PASS][25]) -> ([PASS][26], [PASS][27], [PASS][28], [PASS][29], [PASS][30], [PASS][31], [PASS][32], [FAIL][33], [PASS][34], [PASS][35], [PASS][36], [PASS][37], [PASS][38], [PASS][39], [PASS][40], [PASS][41], [PASS][42], [PASS][43], [PASS][44], [PASS][45], [FAIL][46], [PASS][47], [PASS][48], [PASS][49], [PASS][50]) ([i915#4392])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-glk2/boot.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-glk2/boot.html
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-glk2/boot.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-glk3/boot.html
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-glk3/boot.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-glk3/boot.html
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-glk5/boot.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-glk5/boot.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-glk5/boot.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-glk6/boot.html
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-glk6/boot.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-glk6/boot.html
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-glk6/boot.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-glk7/boot.html
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-glk7/boot.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-glk7/boot.html
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-glk8/boot.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-glk8/boot.html
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-glk8/boot.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-glk9/boot.html
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-glk9/boot.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-glk9/boot.html
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-glk9/boot.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk1/boot.html
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk1/boot.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk1/boot.html
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk1/boot.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk2/boot.html
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk2/boot.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk3/boot.html
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk3/boot.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk3/boot.html
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk5/boot.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk5/boot.html
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk5/boot.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk6/boot.html
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk6/boot.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk6/boot.html
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk6/boot.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk7/boot.html
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk7/boot.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk7/boot.html
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk8/boot.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk8/boot.html
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk9/boot.html
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk8/boot.html
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk9/boot.html
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk9/boot.html
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_balancer@parallel-bb-first:
- shard-iclb: [PASS][51] -> [SKIP][52] ([i915#4525]) +2 similar issues
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-iclb2/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-iclb8/igt@[email protected]
* igt@gem_exec_fair@basic-none-vip@rcs0:
- shard-tglb: [PASS][53] -> [FAIL][54] ([i915#2842]) +2 similar issues
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-tglb6/igt@gem_exec_fair@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-tglb5/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none@vcs0:
- shard-kbl: [PASS][55] -> [FAIL][56] ([i915#2842]) +1 similar issue
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-kbl4/igt@gem_exec_fair@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-kbl4/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none@vcs1:
- shard-iclb: NOTRUN -> [FAIL][57] ([i915#2842])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-iclb2/igt@gem_exec_fair@[email protected]
* igt@gem_userptr_blits@input-checking:
- shard-glk: NOTRUN -> [DMESG-WARN][58] ([i915#4991])
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk9/igt@[email protected]
* igt@i915_pm_dc@dc6-psr:
- shard-iclb: [PASS][59] -> [FAIL][60] ([i915#454])
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-iclb2/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-iclb6/igt@[email protected]
* igt@i915_pm_rpm@dpms-lpsp:
- shard-kbl: NOTRUN -> [SKIP][61] ([fdo#109271]) +15 similar issues
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-kbl4/igt@[email protected]
* igt@i915_selftest@live@hangcheck:
- shard-snb: [PASS][62] -> [INCOMPLETE][63] ([i915#3921])
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-snb4/igt@i915_selftest@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-snb5/igt@i915_selftest@[email protected]
* igt@i915_suspend@sysfs-reader:
- shard-kbl: [PASS][64] -> [DMESG-WARN][65] ([i915#180]) +2 similar issues
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-kbl1/igt@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-kbl1/igt@[email protected]
* igt@kms_ccs@pipe-a-bad-aux-stride-y_tiled_gen12_rc_ccs_cc:
- shard-apl: NOTRUN -> [SKIP][66] ([fdo#109271] / [i915#3886])
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-apl2/igt@kms_ccs@pipe-a-bad-aux-stride-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-a-crc-primary-rotation-180-y_tiled_gen12_rc_ccs_cc:
- shard-kbl: NOTRUN -> [SKIP][67] ([fdo#109271] / [i915#3886])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-kbl4/igt@kms_ccs@pipe-a-crc-primary-rotation-180-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-a-missing-ccs-buffer-y_tiled_gen12_mc_ccs:
- shard-glk: NOTRUN -> [SKIP][68] ([fdo#109271] / [i915#3886]) +4 similar issues
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk9/igt@kms_ccs@pipe-a-missing-ccs-buffer-y_tiled_gen12_mc_ccs.html
* igt@kms_chamelium@dp-edid-change-during-suspend:
- shard-glk: NOTRUN -> [SKIP][69] ([fdo#109271] / [fdo#111827]) +4 similar issues
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk9/igt@[email protected]
* igt@kms_chamelium@hdmi-mode-timings:
- shard-kbl: NOTRUN -> [SKIP][70] ([fdo#109271] / [fdo#111827])
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-kbl4/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor@atomic-transitions:
- shard-apl: [PASS][71] -> [FAIL][72] ([i915#2346])
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-apl7/igt@kms_cursor_legacy@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-apl7/igt@kms_cursor_legacy@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor@varying-size:
- shard-iclb: [PASS][73] -> [FAIL][74] ([i915#2346]) +2 similar issues
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-iclb1/igt@kms_cursor_legacy@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-iclb7/igt@kms_cursor_legacy@[email protected]
* igt@kms_flip@flip-vs-expired-vblank@c-hdmi-a2:
- shard-glk: [PASS][75] -> [FAIL][76] ([i915#79])
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-glk3/igt@kms_flip@[email protected]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk6/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend@a-edp1:
- shard-iclb: NOTRUN -> [INCOMPLETE][77] ([i915#6598])
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-iclb8/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-64bpp-4tile-downscaling@pipe-a-valid-mode:
- shard-iclb: NOTRUN -> [SKIP][78] ([i915#2672]) +2 similar issues
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-iclb5/igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-64bpp-4tile-downscaling@pipe-a-valid-mode.html
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-downscaling@pipe-a-default-mode:
- shard-iclb: NOTRUN -> [SKIP][79] ([i915#2672] / [i915#3555]) +1 similar issue
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-iclb2/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-downscaling@pipe-a-default-mode.html
* igt@kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile-downscaling@pipe-a-default-mode:
- shard-iclb: [PASS][80] -> [SKIP][81] ([i915#3555])
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-iclb3/igt@kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile-downscaling@pipe-a-default-mode.html
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-iclb2/igt@kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile-downscaling@pipe-a-default-mode.html
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-fullscreen:
- shard-apl: NOTRUN -> [SKIP][82] ([fdo#109271]) +13 similar issues
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-apl2/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-fullscreen.html
* igt@kms_plane@plane-panning-bottom-right-suspend@pipe-b-planes:
- shard-glk: NOTRUN -> [INCOMPLETE][83] ([i915#6598])
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk9/igt@kms_plane@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-alpha-transparent-fb:
- shard-glk: NOTRUN -> [FAIL][84] ([i915#265])
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk9/igt@[email protected]
* igt@kms_plane_scaling@planes-unity-scaling-downscale-factor-0-5@pipe-c-edp-1:
- shard-iclb: [PASS][85] -> [SKIP][86] ([i915#5235]) +2 similar issues
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-iclb3/igt@kms_plane_scaling@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-iclb2/igt@kms_plane_scaling@[email protected]
* igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-5@pipe-c-hdmi-a-1:
- shard-glk: NOTRUN -> [SKIP][87] ([fdo#109271]) +57 similar issues
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk9/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-5@pipe-c-hdmi-a-1.html
* igt@kms_psr@psr2_cursor_mmap_gtt:
- shard-iclb: [PASS][88] -> [SKIP][89] ([fdo#109441]) +2 similar issues
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-iclb2/igt@kms_psr@psr2_cursor_mmap_gtt.html
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-iclb3/igt@kms_psr@psr2_cursor_mmap_gtt.html
* igt@kms_writeback@writeback-fb-id:
- shard-apl: NOTRUN -> [SKIP][90] ([fdo#109271] / [i915#2437])
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-apl2/igt@[email protected]
* igt@kms_writeback@writeback-invalid-parameters:
- shard-kbl: NOTRUN -> [SKIP][91] ([fdo#109271] / [i915#2437])
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-kbl4/igt@[email protected]
* igt@runner@aborted:
- shard-glk: NOTRUN -> [FAIL][92] ([i915#3002] / [i915#4312] / [i915#5257] / [i915#6599])
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk9/igt@[email protected]
* igt@sysfs_clients@create:
- shard-glk: NOTRUN -> [SKIP][93] ([fdo#109271] / [i915#2994])
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk9/igt@[email protected]
#### Possible fixes ####
* igt@gem_busy@close-race:
- shard-iclb: [TIMEOUT][94] ([i915#6016]) -> [PASS][95]
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-iclb6/igt@[email protected]
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-iclb8/igt@[email protected]
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-glk: [FAIL][96] ([i915#2842]) -> [PASS][97]
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-glk7/igt@gem_exec_fair@[email protected]
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk2/igt@gem_exec_fair@[email protected]
* igt@gem_huc_copy@huc-copy:
- shard-tglb: [SKIP][98] ([i915#2190]) -> [PASS][99]
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-tglb6/igt@[email protected]
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-tglb1/igt@[email protected]
* igt@gen9_exec_parse@allowed-single:
- shard-apl: [DMESG-WARN][100] ([i915#5566] / [i915#716]) -> [PASS][101]
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-apl7/igt@[email protected]
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-apl2/igt@[email protected]
* igt@kms_big_fb@y-tiled-16bpp-rotate-0:
- shard-apl: [DMESG-WARN][102] ([i915#5904] / [i915#62]) -> [PASS][103] +11 similar issues
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-apl6/igt@[email protected]
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-apl1/igt@[email protected]
* igt@kms_cursor_crc@cursor-random@pipe-b-dp-1-64x21:
- shard-apl: [DMESG-WARN][104] ([i915#180] / [i915#5904] / [i915#62]) -> [PASS][105] +38 similar issues
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-apl6/igt@kms_cursor_crc@[email protected]
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-apl1/igt@kms_cursor_crc@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor@atomic-transitions-varying-size:
- shard-glk: [FAIL][106] ([i915#2346]) -> [PASS][107] +1 similar issue
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-glk9/igt@kms_cursor_legacy@[email protected]
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk6/igt@kms_cursor_legacy@[email protected]
* igt@kms_draw_crc@draw-method-rgb565-mmap-cpu-xtiled:
- shard-apl: [DMESG-FAIL][108] ([i915#62]) -> [PASS][109] +1 similar issue
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-apl6/igt@[email protected]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-apl1/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-shrfb-scaledprimary:
- shard-apl: [DMESG-WARN][110] ([i915#62]) -> [PASS][111] +12 similar issues
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-apl6/igt@[email protected]
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-apl1/igt@[email protected]
* igt@kms_hdr@bpc-switch@pipe-a-dp-1:
- shard-kbl: [FAIL][112] ([i915#1188]) -> [PASS][113]
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-kbl1/igt@kms_hdr@[email protected]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-kbl4/igt@kms_hdr@[email protected]
* igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-5@pipe-a-edp-1:
- shard-iclb: [SKIP][114] ([i915#5235]) -> [PASS][115] +2 similar issues
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-iclb2/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-5@pipe-a-edp-1.html
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-iclb8/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-5@pipe-a-edp-1.html
* igt@kms_psr@psr2_cursor_render:
- shard-iclb: [SKIP][116] ([fdo#109441]) -> [PASS][117] +1 similar issue
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-iclb3/igt@kms_psr@psr2_cursor_render.html
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-iclb2/igt@kms_psr@psr2_cursor_render.html
* igt@kms_psr_stress_test@flip-primary-invalidate-overlay:
- shard-tglb: [SKIP][118] ([i915#5519]) -> [PASS][119]
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-tglb1/igt@[email protected]
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-tglb5/igt@[email protected]
* igt@kms_vblank@pipe-c-ts-continuation-suspend:
- shard-kbl: [DMESG-WARN][120] ([i915#180]) -> [PASS][121]
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-kbl1/igt@[email protected]
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-kbl4/igt@[email protected]
#### Warnings ####
* igt@gem_eio@unwedge-stress:
- shard-tglb: [TIMEOUT][122] ([i915#3063]) -> [FAIL][123] ([i915#5784])
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-tglb6/igt@[email protected]
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-tglb2/igt@[email protected]
* igt@kms_big_fb@y-tiled-8bpp-rotate-0:
- shard-glk: [FAIL][124] ([i915#5138]) -> [FAIL][125] ([i915#1888] / [i915#5138])
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-glk2/igt@[email protected]
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-glk2/igt@[email protected]
* igt@kms_content_protection@uevent:
- shard-apl: [SKIP][126] ([fdo#109271]) -> [FAIL][127] ([i915#2105])
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-apl6/igt@[email protected]
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-apl1/igt@[email protected]
* igt@kms_psr2_sf@overlay-plane-move-continuous-exceed-fully-sf:
- shard-iclb: [SKIP][128] ([i915#658]) -> [SKIP][129] ([i915#2920])
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-iclb6/igt@[email protected]
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-iclb2/igt@[email protected]
* igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area:
- shard-iclb: [SKIP][130] ([i915#2920]) -> [SKIP][131] ([fdo#111068] / [i915#658])
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-iclb2/igt@[email protected]
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-iclb6/igt@[email protected]
* igt@kms_psr2_su@page_flip-p010:
- shard-iclb: [SKIP][132] ([fdo#109642] / [fdo#111068] / [i915#658]) -> [FAIL][133] ([i915#5939])
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-iclb3/igt@kms_psr2_su@page_flip-p010.html
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-iclb2/igt@kms_psr2_su@page_flip-p010.html
* igt@runner@aborted:
- shard-apl: ([FAIL][134], [FAIL][135]) ([fdo#109271] / [i915#3002] / [i915#4312] / [i915#5257] / [i915#6599]) -> [FAIL][136] ([i915#3002] / [i915#4312] / [i915#5257] / [i915#6599])
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-apl2/igt@[email protected]
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-apl7/igt@[email protected]
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-apl2/igt@[email protected]
- shard-kbl: ([FAIL][137], [FAIL][138], [FAIL][139], [FAIL][140], [FAIL][141]) ([fdo#109271] / [i915#180] / [i915#3002] / [i915#4312] / [i915#5257]) -> ([FAIL][142], [FAIL][143], [FAIL][144], [FAIL][145], [FAIL][146], [FAIL][147], [FAIL][148], [FAIL][149], [FAIL][150], [FAIL][151], [FAIL][152], [FAIL][153], [FAIL][154], [FAIL][155], [FAIL][156], [FAIL][157], [FAIL][158], [FAIL][159]) ([i915#180] / [i915#3002] / [i915#4312] / [i915#5257])
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-kbl1/igt@[email protected]
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-kbl1/igt@[email protected]
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-kbl1/igt@[email protected]
[140]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-kbl1/igt@[email protected]
[141]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12024/shard-kbl1/igt@[email protected]
[142]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-kbl1/igt@[email protected]
[143]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-kbl4/igt@[email protected]
[144]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-kbl6/igt@[email protected]
[145]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-kbl6/igt@[email protected]
[146]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-kbl6/igt@[email protected]
[147]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-kbl6/igt@[email protected]
[148]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-kbl4/igt@[email protected]
[149]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-kbl1/igt@[email protected]
[150]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-kbl1/igt@[email protected]
[151]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-kbl6/igt@[email protected]
[152]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-kbl6/igt@[email protected]
[153]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-kbl6/igt@[email protected]
[154]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-kbl6/igt@[email protected]
[155]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-kbl6/igt@[email protected]
[156]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-kbl6/igt@[email protected]
[157]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-kbl6/igt@[email protected]
[158]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-kbl6/igt@[email protected]
[159]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/shard-kbl6/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109283]: https://bugs.freedesktop.org/show_bug.cgi?id=109283
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109291]: https://bugs.freedesktop.org/show_bug.cgi?id=109291
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#109303]: https://bugs.freedesktop.org/show_bug.cgi?id=109303
[fdo#109307]: https://bugs.freedesktop.org/show_bug.cgi?id=109307
[fdo#109313]: https://bugs.freedesktop.org/show_bug.cgi?id=109313
[fdo#109314]: https://bugs.freedesktop.org/show_bug.cgi?id=109314
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109506]: https://bugs.freedesktop.org/show_bug.cgi?id=109506
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111314]: https://bugs.freedesktop.org/show_bug.cgi?id=111314
[fdo#111614]: https://bugs.freedesktop.org/show_bug.cgi?id=111614
[fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
[fdo#111644]: https://bugs.freedesktop.org/show_bug.cgi?id=111644
[fdo#111656]: https://bugs.freedesktop.org/show_bug.cgi?id=111656
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[fdo#112054]: https://bugs.freedesktop.org/show_bug.cgi?id=112054
[fdo#112283]: https://bugs.freedesktop.org/show_bug.cgi?id=112283
[i915#1063]: https://gitlab.freedesktop.org/drm/intel/issues/1063
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1188]: https://gitlab.freedesktop.org/drm/intel/issues/1188
[i915#132]: https://gitlab.freedesktop.org/drm/intel/issues/132
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#1769]: https://gitlab.freedesktop.org/drm/intel/issues/1769
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825
[i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
[i915#1888]: https://gitlab.freedesktop.org/drm/intel/issues/1888
[i915#2105]: https://gitlab.freedesktop.org/drm/intel/issues/2105
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2232]: https://gitlab.freedesktop.org/drm/intel/issues/2232
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2433]: https://gitlab.freedesktop.org/drm/intel/issues/2433
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2530]: https://gitlab.freedesktop.org/drm/intel/issues/2530
[i915#265]: https://gitlab.freedesktop.org/drm/intel/issues/265
[i915#2658]: https://gitlab.freedesktop.org/drm/intel/issues/2658
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681
[i915#2705]: https://gitlab.freedesktop.org/drm/intel/issues/2705
[i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2856]: https://gitlab.freedesktop.org/drm/intel/issues/2856
[i915#2920]: https://gitlab.freedesktop.org/drm/intel/issues/2920
[i915#2994]: https://gitlab.freedesktop.org/drm/intel/issues/2994
[i915#3002]: https://gitlab.freedesktop.org/drm/intel/issues/3002
[i915#3012]: https://gitlab.freedesktop.org/drm/intel/issues/3012
[i915#3063]: https://gitlab.freedesktop.org/drm/intel/issues/3063
[i915#3116]: https://gitlab.freedesktop.org/drm/intel/issues/3116
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3299]: https://gitlab.freedesktop.org/drm/intel/issues/3299
[i915#3318]: https://gitlab.freedesktop.org/drm/intel/issues/3318
[i915#3323]: https://gitlab.freedesktop.org/drm/intel/issues/3323
[i915#3376]: https://gitlab.freedesktop.org/drm/intel/issues/3376
[i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3558]: https://gitlab.freedesktop.org/drm/intel/issues/3558
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3742]: https://gitlab.freedesktop.org/drm/intel/issues/3742
[i915#3804]: https://gitlab.freedesktop.org/drm/intel/issues/3804
[i915#3828]: https://gitlab.freedesktop.org/drm/intel/issues/3828
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#3921]: https://gitlab.freedesktop.org/drm/intel/issues/3921
[i915#404]: https://gitlab.freedesktop.org/drm/intel/issues/404
[i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4369]: https://gitlab.freedesktop.org/drm/intel/issues/4369
[i915#4387]: https://gitlab.freedesktop.org/drm/intel/issues/4387
[i915#4392]: https://gitlab.freedesktop.org/drm/intel/issues/4392
[i915#4525]: https://gitlab.freedesktop.org/drm/intel/issues/4525
[i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4941]: https://gitlab.freedesktop.org/drm/intel/issues/4941
[i915#4991]: https://gitlab.freedesktop.org/drm/intel/issues/4991
[i915#5030]: https://gitlab.freedesktop.org/drm/intel/issues/5030
[i915#5138]: https://gitlab.freedesktop.org/drm/intel/issues/5138
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5182]: https://gitlab.freedesktop.org/drm/intel/issues/5182
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5257]: https://gitlab.freedesktop.org/drm/intel/issues/5257
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5287]: https://gitlab.freedesktop.org/drm/intel/issues/5287
[i915#5288]: https://gitlab.freedesktop.org/drm/intel/issues/5288
[i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5439]: https://gitlab.freedesktop.org/drm/intel/issues/5439
[i915#5461]: https://gitlab.freedesktop.org/drm/intel/issues/5461
[i915#5519]: https://gitlab.freedesktop.org/drm/intel/issues/5519
[i915#5566]: https://gitlab.freedesktop.org/drm/intel/issues/5566
[i915#5723]: https://gitlab.freedesktop.org/drm/intel/issues/5723
[i915#5784]: https://gitlab.freedesktop.org/drm/intel/issues/5784
[i915#5904]: https://gitlab.freedesktop.org/drm/intel/issues/5904
[i915#5939]: https://gitlab.freedesktop.org/drm/intel/issues/5939
[i915#6016]: https://gitlab.freedesktop.org/drm/intel/issues/6016
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#62]: https://gitlab.freedesktop.org/drm/intel/issues/62
[i915#6227]: https://gitlab.freedesktop.org/drm/intel/issues/6227
[i915#6245]: https://gitlab.freedesktop.org/drm/intel/issues/6245
[i915#6248]: https://gitlab.freedesktop.org/drm/intel/issues/6248
[i915#6252]: https://gitlab.freedesktop.org/drm/intel/issues/6252
[i915#6258]: https://gitlab.freedesktop.org/drm/intel/issues/6258
[i915#6433]: https://gitlab.freedesktop.org/drm/intel/issues/6433
[i915#6497]: https://gitlab.freedesktop.org/drm/intel/issues/6497
[i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6598]: https://gitlab.freedesktop.org/drm/intel/issues/6598
[i915#6599]: https://gitlab.freedesktop.org/drm/intel/issues/6599
[i915#716]: https://gitlab.freedesktop.org/drm/intel/issues/716
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
Build changes
-------------
* Linux: CI_DRM_12024 -> Patchwork_104278v5
CI-20190529: 20190529
CI_DRM_12024: 656b7e74f416705f11953d30cda518a98f18ba2e @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6636: 1298b5f0e1b3e010657ffba41d2e775fab028e08 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_104278v5: 656b7e74f416705f11953d30cda518a98f18ba2e @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_104278v5/index.html