All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ashutosh Dixit <ashutosh.dixit@intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: [Intel-gfx] [PATCH 0/2] drm/i915/gt: Expose per gt defaults in sysfs
Date: Thu, 26 May 2022 11:35:33 -0700	[thread overview]
Message-ID: <cover.1653589699.git.ashutosh.dixit@intel.com> (raw)

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


             reply	other threads:[~2022-05-26 18:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-26 18:35 Ashutosh Dixit [this message]
2022-05-26 18:35 ` [Intel-gfx] [PATCH 1/2] drm/i915/gt: Expose per-gt RPS defaults in sysfs Ashutosh Dixit
2022-05-26 18:35 ` [Intel-gfx] [PATCH 2/2] drm/i915/gt: Expose default value for media_freq_factor in per-gt sysfs Ashutosh Dixit
2022-05-26 18:58 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915/gt: Expose per gt defaults in sysfs Patchwork
2022-05-26 20:31 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2022-05-26 23:02 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2022-07-19  1:07 [Intel-gfx] [PATCH 0/2] " Ashutosh Dixit
2022-07-19 10:19 ` Rodrigo Vivi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1653589699.git.ashutosh.dixit@intel.com \
    --to=ashutosh.dixit@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.