All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH v2 0/3] drm/i915/gt: Expose per gt defaults in sysfs
@ 2022-05-26 19:00 Ashutosh Dixit
  2022-05-26 19:00 ` [Intel-gfx] [PATCH 1/3] drm/i915/gt: Create gt/gtN/.defaults for per gt sysfs defaults Ashutosh Dixit
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Ashutosh Dixit @ 2022-05-26 19:00 UTC (permalink / raw)
  To: intel-gfx

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.

Patch 1: Creates the gt/gtN/.defaults directory
Patch 2: Adds per-gt RPS defaults to gt/gtN/.defaults
Patch 3: Adds media_freq_factor to gt/gtN/.defaults

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>

Ashutosh Dixit (3):
  drm/i915/gt: Create gt/gtN/.defaults for per gt sysfs defaults
  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 | 64 +++++++++++++++++++++
 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, 103 insertions(+), 10 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 15+ messages in thread
* [PATCH 0/2] drm/i915/gt: Expose per gt defaults in sysfs
@ 2022-07-19  1:07 Ashutosh Dixit
  2022-07-19  1:48 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork
  0 siblings, 1 reply; 15+ messages in thread
From: Ashutosh Dixit @ 2022-07-19  1:07 UTC (permalink / raw)
  To: intel-gfx, dri-devel; +Cc: Tvrtko Ursulin, Andi Shyti

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.

Patch 1: Creates the gt/gtN/.defaults/ directory
Patch 2: Adds per-gt RPS defaults (rps_max_freq_mhz and rps_min_freq_mhz)
	 to gt/gtN/.defaults/

An approved Level-0/oneAPI UMD pull request which consumes the exposed
defaults can be seen here:
	https://github.com/intel/compute-runtime/pull/552
The UMD pull request will be merged if/after this series is merged to i915.

Previous discussion on these patches can be seen here:
	https://patchwork.freedesktop.org/patch/484238/?series=102665&rev=4
	https://patchwork.freedesktop.org/patch/483988/?series=102665&rev=3

Cc: Matt Roper <matthew.d.roper@intel.com>
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>

Ashutosh Dixit (2):
  drm/i915/gt: Create gt/gtN/.defaults/ for per gt sysfs defaults
  drm/i915/gt: Expose per-gt RPS defaults in 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 | 34 +++++++++++++++++++++
 drivers/gpu/drm/i915/gt/intel_gt_types.h    |  9 ++++++
 drivers/gpu/drm/i915/gt/intel_rps.c         |  2 ++
 drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c | 12 +++++---
 6 files changed, 64 insertions(+), 9 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 15+ messages in thread
* [Intel-gfx] [PATCH 0/2] drm/i915/gt: Expose per gt defaults in sysfs
@ 2022-05-26 18:35 Ashutosh Dixit
  2022-05-26 20:31 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork
  0 siblings, 1 reply; 15+ messages in thread
From: Ashutosh Dixit @ 2022-05-26 18:35 UTC (permalink / raw)
  To: intel-gfx

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@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


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2022-07-19  1:49 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-26 19:00 [Intel-gfx] [PATCH v2 0/3] drm/i915/gt: Expose per gt defaults in sysfs Ashutosh Dixit
2022-05-26 19:00 ` [Intel-gfx] [PATCH 1/3] drm/i915/gt: Create gt/gtN/.defaults for per gt sysfs defaults Ashutosh Dixit
2022-05-26 19:00 ` [Intel-gfx] [PATCH 2/3] drm/i915/gt: Expose per-gt RPS defaults in sysfs Ashutosh Dixit
2022-05-26 19:00 ` [Intel-gfx] [PATCH 3/3] drm/i915/gt: Expose default value for media_freq_factor in per-gt sysfs Ashutosh Dixit
2022-05-26 19:30 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915/gt: Expose per gt defaults in sysfs Patchwork
2022-05-26 21:42 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2022-05-27  0:26 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2022-05-27 23:41 ` [Intel-gfx] [PATCH v2 0/3] " Matt Roper
2022-06-02 23:36   ` Dixit, Ashutosh
2022-06-02 23:55     ` Matt Roper
2022-06-03  2:25       ` Dixit, Ashutosh
2022-07-19  1:09         ` Dixit, Ashutosh
2022-07-19  1:09           ` Dixit, Ashutosh
  -- strict thread matches above, loose matches on Subject: below --
2022-07-19  1:07 [PATCH 0/2] " Ashutosh Dixit
2022-07-19  1:48 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork
2022-05-26 18:35 [Intel-gfx] [PATCH 0/2] " Ashutosh Dixit
2022-05-26 20:31 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.