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 3/3] drm/xe: Fix xe_device.h
Date: Tue, 7 May 2024 08:31:05 -0400	[thread overview]
Message-ID: <ZjofCeC-0U-xVyAx@intel.com> (raw)
In-Reply-To: <20240507110959.2747-4-michal.wajdeczko@intel.com>

On Tue, May 07, 2024 at 01:09:59PM +0200, Michal Wajdeczko wrote:
> Some explicit includes are needed only from the xe_device.c.
> And there is no need for redundant forward declarations.
> 
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>

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

> ---
>  drivers/gpu/drm/xe/xe_device.c | 2 ++
>  drivers/gpu/drm/xe/xe_device.h | 6 ------
>  2 files changed, 2 insertions(+), 6 deletions(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
> index 05c28314b748..b63d98872a41 100644
> --- a/drivers/gpu/drm/xe/xe_device.c
> +++ b/drivers/gpu/drm/xe/xe_device.c
> @@ -17,6 +17,7 @@
>  #include <drm/xe_drm.h>
>  
>  #include "display/xe_display.h"
> +#include "regs/xe_gpu_commands.h"
>  #include "regs/xe_gt_regs.h"
>  #include "regs/xe_regs.h"
>  #include "xe_bo.h"
> @@ -27,6 +28,7 @@
>  #include "xe_drv.h"
>  #include "xe_exec.h"
>  #include "xe_exec_queue.h"
> +#include "xe_force_wake.h"
>  #include "xe_ggtt.h"
>  #include "xe_gsc_proxy.h"
>  #include "xe_gt.h"
> diff --git a/drivers/gpu/drm/xe/xe_device.h b/drivers/gpu/drm/xe/xe_device.h
> index 0940ade6a352..bb07f5669dbb 100644
> --- a/drivers/gpu/drm/xe/xe_device.h
> +++ b/drivers/gpu/drm/xe/xe_device.h
> @@ -6,15 +6,9 @@
>  #ifndef _XE_DEVICE_H_
>  #define _XE_DEVICE_H_
>  
> -struct xe_exec_queue;
> -struct xe_file;
> -
>  #include <drm/drm_util.h>
>  
> -#include "regs/xe_gpu_commands.h"
>  #include "xe_device_types.h"
> -#include "xe_force_wake.h"
> -#include "xe_macros.h"
>  
>  static inline struct xe_device *to_xe_device(const struct drm_device *dev)
>  {
> -- 
> 2.43.0
> 

  reply	other threads:[~2024-05-07 12:31 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-07 11:09 [PATCH 0/3] Fix xe_device.h Michal Wajdeczko
2024-05-07 11:09 ` [PATCH 1/3] drm/xe: Don't rely on xe_assert.h to be included elsewhere Michal Wajdeczko
2024-05-07 12:30   ` Rodrigo Vivi
2024-05-07 11:09 ` [PATCH 2/3] drm/xe: Don't rely on xe_force_wake.h " Michal Wajdeczko
2024-05-07 12:30   ` Rodrigo Vivi
2024-05-07 11:09 ` [PATCH 3/3] drm/xe: Fix xe_device.h Michal Wajdeczko
2024-05-07 12:31   ` Rodrigo Vivi [this message]
2024-05-07 11:46 ` ✓ CI.Patch_applied: success for " Patchwork
2024-05-07 11:46 ` ✓ CI.checkpatch: " Patchwork
2024-05-07 11:48 ` ✓ CI.KUnit: " Patchwork
2024-05-07 12:11 ` ✓ CI.Build: " Patchwork
2024-05-07 12:16 ` ✓ CI.Hooks: " Patchwork
2024-05-07 12:19 ` ✓ CI.checksparse: " Patchwork
2024-05-07 12:53 ` ✓ CI.BAT: " Patchwork
2024-05-07 17:12 ` ✗ CI.FULL: failure " Patchwork
2024-05-07 21:13   ` Michal Wajdeczko
2024-05-09  6:09     ` Balne, VinayX Kumar Goud

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=ZjofCeC-0U-xVyAx@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.