All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: <intel-xe@lists.freedesktop.org>
Subject: Re: [PATCH v2] drm/xe: Move xe_uc_fw_abi.h to abi/
Date: Wed, 27 May 2026 11:32:02 -0400	[thread overview]
Message-ID: <ahcOcsiSvCL2bAoS@intel.com> (raw)
In-Reply-To: <20260527112608.22448-1-michal.wajdeczko@intel.com>

On Wed, May 27, 2026 at 01:26:07PM +0200, Michal Wajdeczko wrote:
> We aim to keep all pure ABI headers in the abi/ folder, but
> somehow we missed this file.
> 
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
> ---
> v2: fix documentation link (Sashiko)
> ---
>  Documentation/gpu/xe/xe_firmware.rst                   | 4 ++--
>  drivers/gpu/drm/xe/{xe_uc_fw_abi.h => abi/uc_fw_abi.h} | 4 ++--
>  drivers/gpu/drm/xe/xe_late_bind_fw_types.h             | 3 ++-
>  drivers/gpu/drm/xe/xe_uc_fw.h                          | 2 +-
>  4 files changed, 7 insertions(+), 6 deletions(-)
>  rename drivers/gpu/drm/xe/{xe_uc_fw_abi.h => abi/uc_fw_abi.h} (99%)
> 
> diff --git a/Documentation/gpu/xe/xe_firmware.rst b/Documentation/gpu/xe/xe_firmware.rst
> index 9c15a300bc62..d3030d1c9a84 100644
> --- a/Documentation/gpu/xe/xe_firmware.rst
> +++ b/Documentation/gpu/xe/xe_firmware.rst
> @@ -7,10 +7,10 @@ Firmware
>  Firmware Layout
>  ===============
>  
> -.. kernel-doc:: drivers/gpu/drm/xe/xe_uc_fw_abi.h
> +.. kernel-doc:: drivers/gpu/drm/xe/abi/uc_fw_abi.h
>     :doc: CSS-based Firmware Layout
>  
> -.. kernel-doc:: drivers/gpu/drm/xe/xe_uc_fw_abi.h
> +.. kernel-doc:: drivers/gpu/drm/xe/abi/uc_fw_abi.h
>     :doc: GSC-based Firmware Layout
>  
>  Write Once Protected Content Memory (WOPCM) Layout
> diff --git a/drivers/gpu/drm/xe/xe_uc_fw_abi.h b/drivers/gpu/drm/xe/abi/uc_fw_abi.h
> similarity index 99%
> rename from drivers/gpu/drm/xe/xe_uc_fw_abi.h
> rename to drivers/gpu/drm/xe/abi/uc_fw_abi.h
> index 74b888904fdc..198e949660e0 100644
> --- a/drivers/gpu/drm/xe/xe_uc_fw_abi.h
> +++ b/drivers/gpu/drm/xe/abi/uc_fw_abi.h
> @@ -3,8 +3,8 @@
>   * Copyright © 2022 Intel Corporation
>   */
>  
> -#ifndef _XE_UC_FW_ABI_H_
> -#define _XE_UC_FW_ABI_H_
> +#ifndef _ABI_UC_FW_ABI_H
> +#define _ABI_UC_FW_ABI_H

I was going to complain about the duplicated 'ABI',
but I noticed that we already do this everywhere :/

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>

>  
>  #include <linux/build_bug.h>
>  #include <linux/types.h>
> diff --git a/drivers/gpu/drm/xe/xe_late_bind_fw_types.h b/drivers/gpu/drm/xe/xe_late_bind_fw_types.h
> index 7fdb24e810b3..ee5efe60774e 100644
> --- a/drivers/gpu/drm/xe/xe_late_bind_fw_types.h
> +++ b/drivers/gpu/drm/xe/xe_late_bind_fw_types.h
> @@ -10,7 +10,8 @@
>  #include <linux/mutex.h>
>  #include <linux/types.h>
>  #include <linux/workqueue.h>
> -#include "xe_uc_fw_abi.h"
> +
> +#include "abi/uc_fw_abi.h"
>  
>  #define XE_LB_MAX_PAYLOAD_SIZE SZ_4K
>  
> diff --git a/drivers/gpu/drm/xe/xe_uc_fw.h b/drivers/gpu/drm/xe/xe_uc_fw.h
> index bb281b72a677..f2d3a3e7208b 100644
> --- a/drivers/gpu/drm/xe/xe_uc_fw.h
> +++ b/drivers/gpu/drm/xe/xe_uc_fw.h
> @@ -8,8 +8,8 @@
>  
>  #include <linux/errno.h>
>  
> +#include "abi/uc_fw_abi.h"
>  #include "xe_macros.h"
> -#include "xe_uc_fw_abi.h"
>  #include "xe_uc_fw_types.h"
>  
>  struct drm_printer;
> -- 
> 2.47.1
> 

  parent reply	other threads:[~2026-05-27 15:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-27 11:26 [PATCH v2] drm/xe: Move xe_uc_fw_abi.h to abi/ Michal Wajdeczko
2026-05-27 13:43 ` ✗ CI.checkpatch: warning for drm/xe: Move xe_uc_fw_abi.h to abi/ (rev2) Patchwork
2026-05-27 13:44 ` ✓ CI.KUnit: success " Patchwork
2026-05-27 14:45 ` ✓ Xe.CI.BAT: " Patchwork
2026-05-27 15:32 ` Rodrigo Vivi [this message]
2026-05-27 16:27   ` [PATCH v2] drm/xe: Move xe_uc_fw_abi.h to abi/ Michal Wajdeczko
2026-05-27 18:03 ` ✓ Xe.CI.FULL: success for drm/xe: Move xe_uc_fw_abi.h to abi/ (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=ahcOcsiSvCL2bAoS@intel.com \
    --to=rodrigo.vivi@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=michal.wajdeczko@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.