From: Imre Deak <imre.deak@intel.com>
To: Nirmoy Das <nirmoy.das@intel.com>
Cc: intel-xe@lists.freedesktop.org,
Neil Armstrong <neil.armstrong@linaro.org>,
Michal Wajdeczko <michal.wajdeczko@intel.com>,
Jani Nikula <jani.nikula@intel.com>
Subject: Re: [PATCH] drm/xe/pf: Remove unused xe var in pf_get_threshold
Date: Fri, 28 Jun 2024 14:18:10 +0300 [thread overview]
Message-ID: <Zn6b8oyAJ7GtTdka@ideak-desk.fi.intel.com> (raw)
In-Reply-To: <20240628085457.21929-1-nirmoy.das@intel.com>
On Fri, Jun 28, 2024 at 10:54:57AM +0200, Nirmoy Das wrote:
> Remove unused xe var which probably came for resolving a merge
> conflict, commit 2817ef9704e7 ("Merge remote-tracking branch
> 'drm/drm-next' into drm-tip")
>
> Cc: Neil Armstrong <neil.armstrong@linaro.org>
> Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
> Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
> ---
> drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
> index a5c9dfa1077c..694671497f6e 100644
> --- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
> +++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
> @@ -1785,7 +1785,6 @@ static int pf_get_threshold(struct xe_gt *gt, unsigned int vfid,
> enum xe_guc_klv_threshold_index index)
> {
> struct xe_gt_sriov_config *config = pf_pick_vf_config(gt, vfid);
> - struct xe_device *xe = gt_to_xe(gt);
I noticed the same issue after pushing a patch to drm-tip, afaiu the
correct way to apply these kinds of fixups is
$ cat patch | dim cat-to-fixup
$ dim rebuild-tip
as described in
https://drm.pages.freedesktop.org/maintainer-tools/drm-tip.html
I did this now for the above fixup.
>
> return config->thresholds[index];
> }
> --
> 2.42.0
>
next prev parent reply other threads:[~2024-06-28 11:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-28 8:54 [PATCH] drm/xe/pf: Remove unused xe var in pf_get_threshold Nirmoy Das
2024-06-28 11:18 ` Imre Deak [this message]
2024-06-28 11:27 ` Nirmoy Das
2024-07-01 16:28 ` ✗ CI.Patch_applied: failure for drm/xe/pf: Remove unused xe var in pf_get_threshold (rev2) 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=Zn6b8oyAJ7GtTdka@ideak-desk.fi.intel.com \
--to=imre.deak@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=jani.nikula@intel.com \
--cc=michal.wajdeczko@intel.com \
--cc=neil.armstrong@linaro.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox