From: Andi Shyti <andi.shyti@linux.intel.com>
To: Intel GFX <intel-gfx@lists.freedesktop.org>,
DRI Devel <dri-devel@lists.freedesktop.org>
Cc: "Michał Winiarski" <michal.winiarski@intel.com>,
"Lucas De Marchi" <lucas.demarchi@intel.com>,
"Chris Wilson" <chris@chris-wilson.co.uk>
Subject: [Intel-gfx] [PATCH v5 11/11] drm/i915: Rename i915->gt to i915->gt0
Date: Mon, 6 Dec 2021 02:49:01 +0200 [thread overview]
Message-ID: <20211206004901.69729-12-andi.shyti@linux.intel.com> (raw)
In-Reply-To: <20211206004901.69729-1-andi.shyti@linux.intel.com>
In preparation of the multitile support, highlight the root GT by
calling it gt0 inside the drm i915 private data.
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
---
drivers/gpu/drm/i915/i915_drv.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 39a1b5ef64e8..4ab50a04e1fd 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -1008,7 +1008,7 @@ struct drm_i915_private {
struct i915_perf perf;
/* Abstract the submission mechanism (legacy ringbuffer or execlists) away */
- struct intel_gt gt;
+ struct intel_gt gt0;
struct {
struct i915_gem_contexts {
@@ -1082,7 +1082,7 @@ static inline struct drm_i915_private *pdev_to_i915(struct pci_dev *pdev)
static inline struct intel_gt *to_gt(struct drm_i915_private *i915)
{
- return &i915->gt;
+ return &i915->gt0;
}
/* Simple iterator over all initialised engines */
--
2.34.1
next prev parent reply other threads:[~2021-12-06 10:29 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-06 0:48 [Intel-gfx] [PATCH v5 00/11] More preparation for multi gt patches Andi Shyti
2021-12-06 0:48 ` [Intel-gfx] [PATCH v5 01/11] drm/i915: Store backpointer to GT in uncore Andi Shyti
2021-12-06 0:48 ` [Intel-gfx] [PATCH v5 02/11] drm/i915: Introduce to_gt() helper Andi Shyti
2021-12-06 0:48 ` [Intel-gfx] [PATCH v5 03/11] drm/i915/display: Use " Andi Shyti
2021-12-06 0:48 ` [Intel-gfx] [PATCH v5 04/11] drm/i915/gt: " Andi Shyti
2021-12-06 0:48 ` [Intel-gfx] [PATCH v5 05/11] drm/i915/gem: " Andi Shyti
2021-12-06 0:48 ` [Intel-gfx] [PATCH v5 06/11] drm/i915/gvt: " Andi Shyti
2021-12-06 0:48 ` [Intel-gfx] [PATCH v5 07/11] drm/i915/selftests: " Andi Shyti
2021-12-06 0:48 ` [Intel-gfx] [PATCH v5 08/11] drm/i915/pxp: " Andi Shyti
2021-12-06 0:48 ` [Intel-gfx] [PATCH v5 09/11] drm/i915: " Andi Shyti
2021-12-06 0:49 ` [Intel-gfx] [PATCH v5 10/11] drm/i915: Use to_gt() helper for GGTT accesses Andi Shyti
2021-12-06 0:49 ` Andi Shyti [this message]
2021-12-06 11:51 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for More preparation for multi gt patches (rev5) Patchwork
2021-12-06 11:52 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2021-12-06 12:07 ` [Intel-gfx] ✗ Fi.CI.BAT: 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=20211206004901.69729-12-andi.shyti@linux.intel.com \
--to=andi.shyti@linux.intel.com \
--cc=chris@chris-wilson.co.uk \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=lucas.demarchi@intel.com \
--cc=michal.winiarski@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