From: Andi Shyti <andi.shyti@linux.intel.com>
To: John Harrison <John.C.Harrison@Intel.com>
Cc: intel-gfx <intel-gfx@lists.freedesktop.org>,
dri-devel <dri-devel@lists.freedesktop.org>,
Nirmoy Das <nirmoy.das@intel.com>
Subject: [Intel-gfx] [PATCH v3 4/4] drm/i915/guc: Use the ce_to_guc() wrapper whenever possible
Date: Wed, 6 Dec 2023 21:46:44 +0100 [thread overview]
Message-ID: <20231206204644.105064-5-andi.shyti@linux.intel.com> (raw)
In-Reply-To: <20231206204644.105064-1-andi.shyti@linux.intel.com>
Get the guc reference from the ce using the ce_to_guc() helper.
Just a leftover from previous cleanups.
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
---
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c b/drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
index 4f51cc5f1604..3c7821ae9f0d 100644
--- a/drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
+++ b/drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
@@ -3513,7 +3513,7 @@ static inline void sub_context_inflight_prio(struct intel_context *ce,
static inline void update_context_prio(struct intel_context *ce)
{
- struct intel_guc *guc = &ce->engine->gt->uc.guc;
+ struct intel_guc *guc = ce_to_guc(ce);
int i;
BUILD_BUG_ON(GUC_CLIENT_PRIORITY_KMD_HIGH != 0);
--
2.43.0
WARNING: multiple messages have this Message-ID (diff)
From: Andi Shyti <andi.shyti@linux.intel.com>
To: John Harrison <John.C.Harrison@Intel.com>
Cc: intel-gfx <intel-gfx@lists.freedesktop.org>,
Andi Shyti <andi.shyti@linux.intel.com>,
dri-devel <dri-devel@lists.freedesktop.org>,
Nirmoy Das <nirmoy.das@intel.com>
Subject: [PATCH v3 4/4] drm/i915/guc: Use the ce_to_guc() wrapper whenever possible
Date: Wed, 6 Dec 2023 21:46:44 +0100 [thread overview]
Message-ID: <20231206204644.105064-5-andi.shyti@linux.intel.com> (raw)
In-Reply-To: <20231206204644.105064-1-andi.shyti@linux.intel.com>
Get the guc reference from the ce using the ce_to_guc() helper.
Just a leftover from previous cleanups.
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
---
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c b/drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
index 4f51cc5f1604..3c7821ae9f0d 100644
--- a/drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
+++ b/drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
@@ -3513,7 +3513,7 @@ static inline void sub_context_inflight_prio(struct intel_context *ce,
static inline void update_context_prio(struct intel_context *ce)
{
- struct intel_guc *guc = &ce->engine->gt->uc.guc;
+ struct intel_guc *guc = ce_to_guc(ce);
int i;
BUILD_BUG_ON(GUC_CLIENT_PRIORITY_KMD_HIGH != 0);
--
2.43.0
next prev parent reply other threads:[~2023-12-06 20:48 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-06 20:46 [Intel-gfx] [PATCH v3 0/4] Add gt_to_guc() helper Andi Shyti
2023-12-06 20:46 ` Andi Shyti
2023-12-06 20:46 ` [Intel-gfx] [PATCH v3 1/4] drm/i915/gt: Create the gt_to_guc() wrapper Andi Shyti
2023-12-06 20:46 ` Andi Shyti
2023-12-21 9:19 ` Nirmoy Das
2023-12-06 20:46 ` [Intel-gfx] [PATCH v3 2/4] drm/i915/guc: Use the new " Andi Shyti
2023-12-06 20:46 ` Andi Shyti
2023-12-21 9:20 ` Nirmoy Das
2023-12-06 20:46 ` [Intel-gfx] [PATCH v3 3/4] drm/i915: " Andi Shyti
2023-12-06 20:46 ` Andi Shyti
2023-12-21 9:21 ` Nirmoy Das
2023-12-06 20:46 ` Andi Shyti [this message]
2023-12-06 20:46 ` [PATCH v3 4/4] drm/i915/guc: Use the ce_to_guc() wrapper whenever possible Andi Shyti
2023-12-21 12:18 ` Nirmoy Das
2023-12-07 0:35 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for Add gt_to_guc() helper Patchwork
2023-12-07 0:53 ` [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=20231206204644.105064-5-andi.shyti@linux.intel.com \
--to=andi.shyti@linux.intel.com \
--cc=John.C.Harrison@Intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=nirmoy.das@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 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.