From: Matt Roper <matthew.d.roper@intel.com> To: Lucas De Marchi <lucas.demarchi@intel.com> Cc: Daniel Vetter <daniel.vetter@intel.com>, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH 3/3] gpu/drm/i915: nuke old GEN macros Date: Wed, 7 Jul 2021 12:41:56 -0700 [thread overview] Message-ID: <20210707194156.GR951094@mdroper-desk1.amr.corp.intel.com> (raw) In-Reply-To: <20210707181325.2130821-4-lucas.demarchi@intel.com> On Wed, Jul 07, 2021 at 11:13:25AM -0700, Lucas De Marchi wrote: > Now that all the codebase is converted to the new *VER macros, remove > the old GEN ones. > > Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> We're still going to need another patch or two to kill off IS_GEN9_{BC,LP}, but we can do that separately. We're less likely to be adding new instances of those macros now anyway. > --- > drivers/gpu/drm/i915/i915_drv.h | 15 --------------- > 1 file changed, 15 deletions(-) > > diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h > index 6dff4ca01241..bc6799f75670 100644 > --- a/drivers/gpu/drm/i915/i915_drv.h > +++ b/drivers/gpu/drm/i915/i915_drv.h > @@ -1243,21 +1243,6 @@ static inline struct drm_i915_private *pdev_to_i915(struct pci_dev *pdev) > > #define INTEL_DEVID(dev_priv) (RUNTIME_INFO(dev_priv)->device_id) > > -/* > - * Deprecated: this will be replaced by individual IP checks: > - * GRAPHICS_VER(), MEDIA_VER() and DISPLAY_VER() > - */ > -#define INTEL_GEN(dev_priv) GRAPHICS_VER(dev_priv) > -/* > - * Deprecated: use IS_GRAPHICS_VER(), IS_MEDIA_VER() and IS_DISPLAY_VER() as > - * appropriate. > - */ > -#define IS_GEN_RANGE(dev_priv, s, e) IS_GRAPHICS_VER(dev_priv, (s), (e)) > -/* > - * Deprecated: use GRAPHICS_VER(), MEDIA_VER() and DISPLAY_VER() as appropriate. > - */ > -#define IS_GEN(dev_priv, n) (GRAPHICS_VER(dev_priv) == (n)) > - > #define GRAPHICS_VER(i915) (INTEL_INFO(i915)->graphics_ver) > #define IS_GRAPHICS_VER(i915, from, until) \ > (GRAPHICS_VER(i915) >= (from) && GRAPHICS_VER(i915) <= (until)) > -- > 2.31.1 > -- Matt Roper Graphics Software Engineer VTT-OSGC Platform Enablement Intel Corporation (916) 356-2795
WARNING: multiple messages have this Message-ID (diff)
From: Matt Roper <matthew.d.roper@intel.com> To: Lucas De Marchi <lucas.demarchi@intel.com> Cc: Daniel Vetter <daniel.vetter@intel.com>, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: Re: [Intel-gfx] [PATCH 3/3] gpu/drm/i915: nuke old GEN macros Date: Wed, 7 Jul 2021 12:41:56 -0700 [thread overview] Message-ID: <20210707194156.GR951094@mdroper-desk1.amr.corp.intel.com> (raw) In-Reply-To: <20210707181325.2130821-4-lucas.demarchi@intel.com> On Wed, Jul 07, 2021 at 11:13:25AM -0700, Lucas De Marchi wrote: > Now that all the codebase is converted to the new *VER macros, remove > the old GEN ones. > > Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> We're still going to need another patch or two to kill off IS_GEN9_{BC,LP}, but we can do that separately. We're less likely to be adding new instances of those macros now anyway. > --- > drivers/gpu/drm/i915/i915_drv.h | 15 --------------- > 1 file changed, 15 deletions(-) > > diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h > index 6dff4ca01241..bc6799f75670 100644 > --- a/drivers/gpu/drm/i915/i915_drv.h > +++ b/drivers/gpu/drm/i915/i915_drv.h > @@ -1243,21 +1243,6 @@ static inline struct drm_i915_private *pdev_to_i915(struct pci_dev *pdev) > > #define INTEL_DEVID(dev_priv) (RUNTIME_INFO(dev_priv)->device_id) > > -/* > - * Deprecated: this will be replaced by individual IP checks: > - * GRAPHICS_VER(), MEDIA_VER() and DISPLAY_VER() > - */ > -#define INTEL_GEN(dev_priv) GRAPHICS_VER(dev_priv) > -/* > - * Deprecated: use IS_GRAPHICS_VER(), IS_MEDIA_VER() and IS_DISPLAY_VER() as > - * appropriate. > - */ > -#define IS_GEN_RANGE(dev_priv, s, e) IS_GRAPHICS_VER(dev_priv, (s), (e)) > -/* > - * Deprecated: use GRAPHICS_VER(), MEDIA_VER() and DISPLAY_VER() as appropriate. > - */ > -#define IS_GEN(dev_priv, n) (GRAPHICS_VER(dev_priv) == (n)) > - > #define GRAPHICS_VER(i915) (INTEL_INFO(i915)->graphics_ver) > #define IS_GRAPHICS_VER(i915, from, until) \ > (GRAPHICS_VER(i915) >= (from) && GRAPHICS_VER(i915) <= (until)) > -- > 2.31.1 > -- Matt Roper Graphics Software Engineer VTT-OSGC Platform Enablement Intel Corporation (916) 356-2795 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2021-07-07 19:42 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-07-07 18:13 [PATCH 0/3] drm/i915: Nuke GEN macros Lucas De Marchi 2021-07-07 18:13 ` [Intel-gfx] " Lucas De Marchi 2021-07-07 18:13 ` [PATCH 1/3] drm/i915/gt: finish INTEL_GEN and friends conversion Lucas De Marchi 2021-07-07 18:13 ` [Intel-gfx] " Lucas De Marchi 2021-07-07 19:36 ` Matt Roper 2021-07-07 19:36 ` [Intel-gfx] " Matt Roper 2021-07-07 18:13 ` [PATCH 2/3] drm/i915: " Lucas De Marchi 2021-07-07 18:13 ` [Intel-gfx] " Lucas De Marchi 2021-07-07 19:39 ` Matt Roper 2021-07-07 19:39 ` [Intel-gfx] " Matt Roper 2021-07-07 21:44 ` Lucas De Marchi 2021-07-07 21:44 ` [Intel-gfx] " Lucas De Marchi 2021-07-07 18:13 ` [PATCH 3/3] gpu/drm/i915: nuke old GEN macros Lucas De Marchi 2021-07-07 18:13 ` [Intel-gfx] " Lucas De Marchi 2021-07-07 19:41 ` Matt Roper [this message] 2021-07-07 19:41 ` Matt Roper 2021-07-07 18:27 ` [PATCH 0/3] drm/i915: Nuke " Jani Nikula 2021-07-07 18:27 ` [Intel-gfx] " Jani Nikula 2021-07-07 19:00 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork 2021-07-07 22:44 ` [Intel-gfx] ✓ 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=20210707194156.GR951094@mdroper-desk1.amr.corp.intel.com \ --to=matthew.d.roper@intel.com \ --cc=daniel.vetter@intel.com \ --cc=dri-devel@lists.freedesktop.org \ --cc=intel-gfx@lists.freedesktop.org \ --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: linkBe 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.