From: Andi Shyti <andi.shyti@linux.intel.com>
To: Intel GFX <intel-gfx@lists.freedesktop.org>,
DRI Devel <dri-devel@lists.freedesktop.org>
Cc: Abdiel Janulgue <abdiel.janulgue@gmail.com>,
Lucas De Marchi <lucas.demarchi@intel.com>,
Matthew Auld <matthew.auld@intel.com>
Subject: [Intel-gfx] [PATCH 0/2] Introduce multitile support
Date: Tue, 11 Jan 2022 14:15:50 +0200 [thread overview]
Message-ID: <20220111121552.35679-1-andi.shyti@linux.intel.com> (raw)
Hi,
This is the second series that prepares i915 to host multitile
platforms. It introduces the for_each_gt() macro that loops over
the tiles to perform per gt actions.
This patch is a combination of two patches developed originally
by Abdiel, who introduced some refactoring during probe, and then
Tvrtko has added the necessary tools to start using the various
tiles.
The second patch re-organises the sysfs interface to expose the
API for each of the GTs. I decided to prioritise this patch
over others to unblock Sujaritha for further development.
A third series will still follow this.
Andi Shyti (1):
drm/i915/gt: make a gt sysfs group and move power management files
Tvrtko Ursulin (1):
drm/i915: Prepare for multiple GTs
drivers/gpu/drm/i915/Makefile | 4 +-
drivers/gpu/drm/i915/gt/intel_gt.c | 141 ++++++-
drivers/gpu/drm/i915/gt/intel_gt.h | 14 +-
drivers/gpu/drm/i915/gt/intel_gt_pm.c | 9 +-
drivers/gpu/drm/i915/gt/intel_gt_types.h | 7 +
drivers/gpu/drm/i915/gt/sysfs_gt.c | 126 ++++++
drivers/gpu/drm/i915/gt/sysfs_gt.h | 44 ++
drivers/gpu/drm/i915/gt/sysfs_gt_pm.c | 394 ++++++++++++++++++
drivers/gpu/drm/i915/gt/sysfs_gt_pm.h | 16 +
drivers/gpu/drm/i915/i915_driver.c | 29 +-
drivers/gpu/drm/i915/i915_drv.h | 8 +
drivers/gpu/drm/i915/i915_reg.h | 1 +
drivers/gpu/drm/i915/i915_sysfs.c | 315 +-------------
drivers/gpu/drm/i915/i915_sysfs.h | 3 +
drivers/gpu/drm/i915/intel_memory_region.h | 3 +
drivers/gpu/drm/i915/intel_uncore.c | 12 +-
drivers/gpu/drm/i915/intel_uncore.h | 3 +-
.../gpu/drm/i915/selftests/mock_gem_device.c | 5 +-
18 files changed, 786 insertions(+), 348 deletions(-)
create mode 100644 drivers/gpu/drm/i915/gt/sysfs_gt.c
create mode 100644 drivers/gpu/drm/i915/gt/sysfs_gt.h
create mode 100644 drivers/gpu/drm/i915/gt/sysfs_gt_pm.c
create mode 100644 drivers/gpu/drm/i915/gt/sysfs_gt_pm.h
--
2.34.1
next reply other threads:[~2022-01-11 12:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-11 12:15 Andi Shyti [this message]
2022-01-11 12:15 ` [Intel-gfx] [PATCH 1/2] drm/i915: Prepare for multiple GTs Andi Shyti
2022-01-11 22:50 ` Stimson, Dale B
2022-01-12 18:43 ` Andi Shyti
2022-01-11 12:15 ` [Intel-gfx] [PATCH 2/2] drm/i915/gt: make a gt sysfs group and move power management files Andi Shyti
2022-01-12 17:10 ` Sundaresan, Sujaritha
2022-01-12 18:46 ` Andi Shyti
2022-01-11 15:33 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Introduce multitile support Patchwork
2022-01-11 15:34 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2022-01-11 15:54 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2022-01-11 21:42 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
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=20220111121552.35679-1-andi.shyti@linux.intel.com \
--to=andi.shyti@linux.intel.com \
--cc=abdiel.janulgue@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=lucas.demarchi@intel.com \
--cc=matthew.auld@intel.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox