mbox series

[0/3] drm/i915/hwmon: PL1 power limit fixes for ATSM

Message ID 20230213210049.1900681-1-ashutosh.dixit@intel.com (mailing list archive)
Headers show
Series drm/i915/hwmon: PL1 power limit fixes for ATSM | expand

Message

Dixit, Ashutosh Feb. 13, 2023, 9 p.m. UTC
Previous PL1 power limit implementation assumed that the PL1 limit is
always enabled in HW. However we now find this not to be the case on ATSM
where the PL1 limit is disabled at power up. This requires changes in the
previous PL1 implementation.

Ashutosh Dixit (3):
  drm/i915/hwmon: Replace hwm_field_scale_and_write with
    hwm_power_max_write
  drm/i915/hwmon: Enable PL1 limit when writing limit value to HW
  drm/i915/hwmon: Use -1 to designate disabled PL1 power limit

 .../ABI/testing/sysfs-driver-intel-i915-hwmon |  3 +-
 drivers/gpu/drm/i915/i915_hwmon.c             | 61 +++++++++++++------
 2 files changed, 43 insertions(+), 21 deletions(-)