[Intel-gfx] [PATCH 0/2] drm/i915/gt: Expose per gt defaults in sysfs
Ashutosh Dixit
ashutosh.dixit at intel.com
Thu May 26 18:35:33 UTC 2022
Create a gt/gtN/.defaults directory (similar to
engine/<engine-name>/.defaults) to expose default parameter values for each
gt in sysfs. This allows userspace to restore default parameter values
after they may have changed.
Signed-off-by: Ashutosh Dixit <ashutosh.dixit at intel.com>
Ashutosh Dixit (2):
drm/i915/gt: Expose per-gt RPS defaults in sysfs
drm/i915/gt: Expose default value for media_freq_factor in per-gt
sysfs
drivers/gpu/drm/i915/gt/intel_gt_sysfs.c | 10 +--
drivers/gpu/drm/i915/gt/intel_gt_sysfs.h | 6 ++
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c | 69 +++++++++++++++++++++
drivers/gpu/drm/i915/gt/intel_gt_types.h | 11 ++++
drivers/gpu/drm/i915/gt/intel_rps.c | 3 +
drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c | 19 ++++--
6 files changed, 108 insertions(+), 10 deletions(-)
--
2.34.1
More information about the Intel-gfx
mailing list