mbox series

[0/7] drm/i915: Add HWMON support

Message ID 20220916150054.807590-1-badal.nilawar@intel.com (mailing list archive)
Headers show
Series drm/i915: Add HWMON support | expand

Message

Nilawar, Badal Sept. 16, 2022, 3 p.m. UTC
This series adds the HWMON support for DGFX

Test-with: 20220914140721.3500129-1-riana.tauro@intel.com

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)

v6: 
  - Fixed review comments (Ashutosh)
  - Updated date and kernel version in documentation

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             | 761 ++++++++++++++++++
 drivers/gpu/drm/i915/i915_hwmon.h             |  21 +
 drivers/gpu/drm/i915/i915_reg.h               |  14 +
 drivers/gpu/drm/i915/intel_mchbar_regs.h      |  12 +
 9 files changed, 901 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

Comments

Gupta, Anshuman Sept. 19, 2022, 10:15 a.m. UTC | #1
> -----Original Message-----
> From: Nilawar, Badal <badal.nilawar@intel.com>
> Sent: Friday, September 16, 2022 8:31 PM
> To: intel-gfx@lists.freedesktop.org
> Cc: Dixit, Ashutosh <ashutosh.dixit@intel.com>; Tauro, Riana
> <riana.tauro@intel.com>; Gupta, Anshuman <anshuman.gupta@intel.com>;
> Ewins, Jon <jon.ewins@intel.com>; linux-hwmon@vger.kernel.org; dri-
> devel@lists.freedesktop.org
> Subject: [PATCH 0/7] drm/i915: Add HWMON support
> 
> This series adds the HWMON support for DGFX
> 
> Test-with: 20220914140721.3500129-1-riana.tauro@intel.com
CI-BAT is failing with this series,
Could you please check the failures, whether related to this series ?

Thanks,
Anshuman Gupta. 
> 
> 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)
> 
> v6:
>   - Fixed review comments (Ashutosh)
>   - Updated date and kernel version in documentation
> 
> 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             | 761 ++++++++++++++++++
>  drivers/gpu/drm/i915/i915_hwmon.h             |  21 +
>  drivers/gpu/drm/i915/i915_reg.h               |  14 +
>  drivers/gpu/drm/i915/intel_mchbar_regs.h      |  12 +
>  9 files changed, 901 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
> 
> --
> 2.25.1
Nilawar, Badal Sept. 19, 2022, 12:13 p.m. UTC | #2
On 19-09-2022 15:45, Gupta, Anshuman wrote:
> 
> 
>> -----Original Message-----
>> From: Nilawar, Badal <badal.nilawar@intel.com>
>> Sent: Friday, September 16, 2022 8:31 PM
>> To: intel-gfx@lists.freedesktop.org
>> Cc: Dixit, Ashutosh <ashutosh.dixit@intel.com>; Tauro, Riana
>> <riana.tauro@intel.com>; Gupta, Anshuman <anshuman.gupta@intel.com>;
>> Ewins, Jon <jon.ewins@intel.com>; linux-hwmon@vger.kernel.org; dri-
>> devel@lists.freedesktop.org
>> Subject: [PATCH 0/7] drm/i915: Add HWMON support
>>
>> This series adds the HWMON support for DGFX
>>
>> Test-with: 20220914140721.3500129-1-riana.tauro@intel.com
> CI-BAT is failing with this series,
> Could you please check the failures, whether related to this series ?
Thanks for pointing out. I checked the failures, those are not related 
to this series. I responded to "✗ Fi.CI.BAT: failure" thread

Regards,
Badal Nilawar
> 
> Thanks,
> Anshuman Gupta.
>>
>> 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)
>>
>> v6:
>>    - Fixed review comments (Ashutosh)
>>    - Updated date and kernel version in documentation
>>
>> 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             | 761 ++++++++++++++++++
>>   drivers/gpu/drm/i915/i915_hwmon.h             |  21 +
>>   drivers/gpu/drm/i915/i915_reg.h               |  14 +
>>   drivers/gpu/drm/i915/intel_mchbar_regs.h      |  12 +
>>   9 files changed, 901 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
>>
>> --
>> 2.25.1
>