All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: Jani Nikula <jani.nikula@intel.com>
Cc: <intel-gfx@lists.freedesktop.org>,
	<intel-xe@lists.freedesktop.org>, <lucas.demarchi@intel.com>
Subject: Re: [PATCH 01/10] drm/i915/display: include gem/i915_gem_stolen.h where needed
Date: Tue, 4 Jun 2024 16:34:11 -0400	[thread overview]
Message-ID: <Zl96QxcG1CurXnM5@intel.com> (raw)
In-Reply-To: <87h6e9c4vc.fsf@intel.com>

On Tue, Jun 04, 2024 at 02:41:11PM +0300, Jani Nikula wrote:
> On Fri, 31 May 2024, Jani Nikula <jani.nikula@intel.com> wrote:
> > On Fri, 31 May 2024, Rodrigo Vivi <rodrigo.vivi@intel.com> wrote:
> >> On Wed, May 29, 2024 at 08:48:05PM +0300, Jani Nikula wrote:
> >>> Include what you use. We need to move the compat i915_gem_stolen.h under
> >>> gem subdir.
> >>
> >> The patch below looks fine, but this message here is strange.
> >> It looks like this patch is moving the header file from a top dir to
> >> under 'gem' dir. But the header is already there.
> >
> > Huh, in compat-i915-headers it's not? And that's the point, the
> > hierarchy should match i915 but for a couple of files it doesn't.
> 
> Rodrigo, any follow-up here? Am I missing something?

Sorry for not getting back sooner on this. I had missunderstood
your latest response.

As well as I had missunderstood the commit...
you are indeed moving the files with git mv. it is just that git is smartly showing
that and I'm poorly reading that...
(doh! & facepalm)


Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
(for the series)

> 
> BR,
> Jani.
> 
> 
> >
> > BR,
> > Jani.
> >
> >
> >>
> >>> With this, we can drop the include from xe compat
> >>> i915_drv.h.
> >>> 
> >>> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
> >>> ---
> >>>  drivers/gpu/drm/i915/display/intel_fbc.c                         | 1 +
> >>>  .../gpu/drm/xe/compat-i915-headers/{ => gem}/i915_gem_stolen.h   | 0
> >>>  drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h                | 1 -
> >>>  3 files changed, 1 insertion(+), 1 deletion(-)
> >>>  rename drivers/gpu/drm/xe/compat-i915-headers/{ => gem}/i915_gem_stolen.h (100%)
> >>> 
> >>> diff --git a/drivers/gpu/drm/i915/display/intel_fbc.c b/drivers/gpu/drm/i915/display/intel_fbc.c
> >>> index e9189a864f69..6985abeb6102 100644
> >>> --- a/drivers/gpu/drm/i915/display/intel_fbc.c
> >>> +++ b/drivers/gpu/drm/i915/display/intel_fbc.c
> >>> @@ -43,6 +43,7 @@
> >>>  #include <drm/drm_blend.h>
> >>>  #include <drm/drm_fourcc.h>
> >>>  
> >>> +#include "gem/i915_gem_stolen.h"
> >>>  #include "i915_drv.h"
> >>>  #include "i915_reg.h"
> >>>  #include "i915_utils.h"
> >>> diff --git a/drivers/gpu/drm/xe/compat-i915-headers/i915_gem_stolen.h b/drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_stolen.h
> >>> similarity index 100%
> >>> rename from drivers/gpu/drm/xe/compat-i915-headers/i915_gem_stolen.h
> >>> rename to drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_stolen.h
> >>> diff --git a/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h b/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h
> >>> index cd4632276141..3be3d419530a 100644
> >>> --- a/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h
> >>> +++ b/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h
> >>> @@ -19,7 +19,6 @@
> >>>  #include "xe_bo.h"
> >>>  #include "xe_pm.h"
> >>>  #include "xe_step.h"
> >>> -#include "i915_gem_stolen.h"
> >>>  #include "i915_gpu_error.h"
> >>>  #include "i915_reg_defs.h"
> >>>  #include "i915_utils.h"
> >>> -- 
> >>> 2.39.2
> >>> 
> 
> -- 
> Jani Nikula, Intel

  reply	other threads:[~2024-06-04 20:34 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-29 17:48 [PATCH 00/10] drm/i915 and drm/xe display and compat cleanups Jani Nikula
2024-05-29 17:48 ` [PATCH 01/10] drm/i915/display: include gem/i915_gem_stolen.h where needed Jani Nikula
2024-05-31 11:03   ` Rodrigo Vivi
2024-05-31 12:03     ` Jani Nikula
2024-06-04 11:41       ` Jani Nikula
2024-06-04 20:34         ` Rodrigo Vivi [this message]
2024-05-29 17:48 ` [PATCH 02/10] drm/i915/display: include gt/intel_gt_types.h " Jani Nikula
2024-05-31 11:05   ` Rodrigo Vivi
2024-05-29 17:48 ` [PATCH 03/10] drm/i915/display: include i915_gpu_error.h " Jani Nikula
2024-05-31 11:07   ` Rodrigo Vivi
2024-05-31 11:35   ` Ville Syrjälä
2024-05-31 12:07     ` Jani Nikula
2024-05-31 12:17       ` Jani Nikula
2024-05-29 17:48 ` [PATCH 04/10] drm/i915/display: include intel_uncore.h " Jani Nikula
2024-05-31 11:07   ` Rodrigo Vivi
2024-05-29 17:48 ` [PATCH 05/10] drm/i915/display: include intel_step.h " Jani Nikula
2024-05-31 12:03   ` Rodrigo Vivi
2024-05-31 12:08     ` Jani Nikula
2024-05-29 17:48 ` [PATCH 06/10] drm/i915/display: include xe_bo.h, gem_object_types etc. " Jani Nikula
2024-05-31 12:07   ` Rodrigo Vivi
2024-05-29 17:48 ` [PATCH 07/10] drm/xe/display: move compat uncore stubs to the correct file Jani Nikula
2024-05-31 12:08   ` Rodrigo Vivi
2024-05-29 17:48 ` [PATCH 08/10] drm/xe/display: move compat runtime pm " Jani Nikula
2024-05-31 12:09   ` Rodrigo Vivi
2024-05-29 17:48 ` [PATCH 09/10] drm/xe/display: reduce includes in compat i915_drv.h Jani Nikula
2024-05-31 12:09   ` Rodrigo Vivi
2024-05-29 17:48 ` [PATCH 10/10] drm/xe/display: drop i915_drv.h include from xe code Jani Nikula
2024-05-31 12:10   ` Rodrigo Vivi
2024-05-29 18:26 ` ✓ CI.Patch_applied: success for drm/i915 and drm/xe display and compat cleanups Patchwork
2024-05-29 18:26 ` ✗ CI.checkpatch: warning " Patchwork
2024-05-29 18:27 ` ✓ CI.KUnit: success " Patchwork
2024-05-29 18:39 ` ✓ CI.Build: " Patchwork
2024-05-29 18:39 ` ✗ CI.Hooks: failure " Patchwork
2024-05-29 18:41 ` ✗ CI.checksparse: warning " Patchwork
2024-05-29 18:48 ` ✗ Fi.CI.CHECKPATCH: " Patchwork
2024-05-29 18:48 ` ✗ Fi.CI.SPARSE: " Patchwork
2024-05-29 18:56 ` ✓ Fi.CI.BAT: success " Patchwork
2024-05-29 19:20 ` ✓ CI.BAT: " Patchwork
2024-05-29 21:57 ` ✗ CI.FULL: failure " Patchwork
2024-05-30 19:38 ` ✗ Fi.CI.IGT: " 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=Zl96QxcG1CurXnM5@intel.com \
    --to=rodrigo.vivi@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    --cc=lucas.demarchi@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.