]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/gt: Expose per-gt RPS defaults in sysfs
authorAshutosh Dixit <ashutosh.dixit@intel.com>
Tue, 19 Jul 2022 01:07:08 +0000 (18:07 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Jul 2022 10:14:08 +0000 (06:14 -0400)
commitfdff0a852ec8b8ddba6fc193f187d5d85717ab2e
tree90496ee06c2b2b247f193ef349235972f5dbe2e8
parent5dca122f8388695b1048a48a69d3cf9210036d9a
drm/i915/gt: Expose per-gt RPS defaults in sysfs

Add the following sysfs files to gt/gtN/.defaults/:
* rps_min_freq_mhz
* rps_max_freq_mhz

v2: Correct gt/gtN/.defaults/* file names in commit message
v3: Remove rps_boost_freq_mhz since it is not consumed by userspace

Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Cc: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/cf6e483bf79f871c2c8c74af6005bf6a83a3a1ce.1658192398.git.ashutosh.dixit@intel.com
drivers/gpu/drm/i915/gt/intel_gt_sysfs.c
drivers/gpu/drm/i915/gt/intel_gt_sysfs.h
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c
drivers/gpu/drm/i915/gt/intel_gt_types.h
drivers/gpu/drm/i915/gt/intel_rps.c
drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c