public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe: remove unused struct 'xe_gt_desc'
@ 2024-05-22 17:58 linux
  2024-05-23 17:34 ` Rodrigo Vivi
  0 siblings, 1 reply; 2+ messages in thread
From: linux @ 2024-05-22 17:58 UTC (permalink / raw)
  To: matthew.d.roper, lucas.demarchi
  Cc: maarten.lankhorst, airlied, intel-xe, dri-devel, linux-kernel,
	Dr. David Alan Gilbert

From: "Dr. David Alan Gilbert" <linux@treblig.org>

'xe_gt_desc' is unused since
commit 1e6c20be6c83 ("drm/xe: Drop extra_gts[] declarations and
XE_GT_TYPE_REMOTE").

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
 drivers/gpu/drm/xe/xe_pci.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
index f326dbb1cecd..2ca210480bd1 100644
--- a/drivers/gpu/drm/xe/xe_pci.c
+++ b/drivers/gpu/drm/xe/xe_pci.c
@@ -40,12 +40,6 @@ struct xe_subplatform_desc {
 	const u16 *pciidlist;
 };
 
-struct xe_gt_desc {
-	enum xe_gt_type type;
-	u32 mmio_adj_limit;
-	u32 mmio_adj_offset;
-};
-
 struct xe_device_desc {
 	/* Should only ever be set for platforms without GMD_ID */
 	const struct xe_graphics_desc *graphics;
-- 
2.45.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm/xe: remove unused struct 'xe_gt_desc'
  2024-05-22 17:58 [PATCH] drm/xe: remove unused struct 'xe_gt_desc' linux
@ 2024-05-23 17:34 ` Rodrigo Vivi
  0 siblings, 0 replies; 2+ messages in thread
From: Rodrigo Vivi @ 2024-05-23 17:34 UTC (permalink / raw)
  To: linux
  Cc: matthew.d.roper, lucas.demarchi, maarten.lankhorst, airlied,
	intel-xe, dri-devel, linux-kernel

On Wed, May 22, 2024 at 06:58:40PM +0100, linux@treblig.org wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
> 
> 'xe_gt_desc' is unused since
> commit 1e6c20be6c83 ("drm/xe: Drop extra_gts[] declarations and
> XE_GT_TYPE_REMOTE").
> 
> Remove it.
> 
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>

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

and applying it right now...
thanks for the patch

> ---
>  drivers/gpu/drm/xe/xe_pci.c | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
> index f326dbb1cecd..2ca210480bd1 100644
> --- a/drivers/gpu/drm/xe/xe_pci.c
> +++ b/drivers/gpu/drm/xe/xe_pci.c
> @@ -40,12 +40,6 @@ struct xe_subplatform_desc {
>  	const u16 *pciidlist;
>  };
>  
> -struct xe_gt_desc {
> -	enum xe_gt_type type;
> -	u32 mmio_adj_limit;
> -	u32 mmio_adj_offset;
> -};
> -
>  struct xe_device_desc {
>  	/* Should only ever be set for platforms without GMD_ID */
>  	const struct xe_graphics_desc *graphics;
> -- 
> 2.45.1
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-23 17:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-22 17:58 [PATCH] drm/xe: remove unused struct 'xe_gt_desc' linux
2024-05-23 17:34 ` Rodrigo Vivi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox