Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
To: Michal Wajdeczko <michal.wajdeczko@intel.com>,
	<intel-xe@lists.freedesktop.org>
Cc: Brian Nguyen <brian3.nguyen@intel.com>,
	Matthew Brost <matthew.brost@intel.com>,
	Shuicheng Lin <shuicheng.lin@intel.com>
Subject: Re: [PATCH] drm/xe/guc: Fix version check for page-reclaim feature
Date: Mon, 15 Dec 2025 10:39:51 -0800	[thread overview]
Message-ID: <84f58059-1573-428a-a224-835ef5fea22d@intel.com> (raw)
In-Reply-To: <20251215170433.196398-1-michal.wajdeczko@intel.com>



On 12/15/2025 9:04 AM, Michal Wajdeczko wrote:
> Page reclamation interfaces were introduced in GuC firmware version
> 70.31.0 (which corresponds to GuC ABI version 1.14.0), but since this
> feature is also available for the VFs and VFs don't know the firmware
> version, use GuC compatibility version check instead.
>
> Fixes: 77ebc7c10d16 ("drm/xe/guc: Add page reclamation interface to GuC")
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
> Cc: Brian Nguyen <brian3.nguyen@intel.com>
> Cc: Matthew Brost <matthew.brost@intel.com>
> Cc: Shuicheng Lin <shuicheng.lin@intel.com>

Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>

Daniele

> ---
>   drivers/gpu/drm/xe/xe_guc.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_guc.c b/drivers/gpu/drm/xe/xe_guc.c
> index 7daae3294665..09ac092c3687 100644
> --- a/drivers/gpu/drm/xe/xe_guc.c
> +++ b/drivers/gpu/drm/xe/xe_guc.c
> @@ -768,7 +768,7 @@ int xe_guc_init(struct xe_guc *guc)
>   		return 0;
>   
>   	/* Disable page reclaim if GuC FW does not support */
> -	if (GUC_FIRMWARE_VER(guc) < MAKE_GUC_VER(70, 31, 0))
> +	if (GUC_SUBMIT_VER(guc) < MAKE_GUC_VER(1, 14, 0))
>   		xe->info.has_page_reclaim_hw_assist = false;
>   
>   	if (IS_SRIOV_VF(xe)) {


  parent reply	other threads:[~2025-12-15 18:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-15 17:04 [PATCH] drm/xe/guc: Fix version check for page-reclaim feature Michal Wajdeczko
2025-12-15 18:13 ` Nguyen, Brian3
2025-12-15 18:39 ` Daniele Ceraolo Spurio [this message]
2025-12-15 19:28 ` ✓ CI.KUnit: success for " Patchwork
2025-12-15 20:49 ` ✓ Xe.CI.BAT: " Patchwork
2025-12-16  3:50 ` ✗ Xe.CI.Full: 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=84f58059-1573-428a-a224-835ef5fea22d@intel.com \
    --to=daniele.ceraolospurio@intel.com \
    --cc=brian3.nguyen@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=matthew.brost@intel.com \
    --cc=michal.wajdeczko@intel.com \
    --cc=shuicheng.lin@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