[PATCH v1 0/3] drm: Drop unused include of <drm/drm_pciids.h>

Uwe Kleine-König (The Capable Hub) posted 3 patches 1 month, 2 weeks ago
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 1 -
drivers/gpu/drm/gma500/psb_drv.c        | 1 -
drivers/gpu/drm/mgag200/mgag200_drv.c   | 1 -
3 files changed, 3 deletions(-)
[PATCH v1 0/3] drm: Drop unused include of <drm/drm_pciids.h>
Posted by Uwe Kleine-König (The Capable Hub) 1 month, 2 weeks ago
Hello,

<drm/drm_pciids.h> is only actually used in the radeon driver but
included in several others. This series drops these includes.

The obvious continuation would be to fold the definition of
radeon_PCI_IDS into the only .c file using it. But I post-pone that
until
https://lore.kernel.org/all/20260430102958.136859-2-u.kleine-koenig@baylibre.com/
is out of the way.

There are no dependencies between the patches, so I suggest that each
maintainer team applies their material to their own tree at their own
pace.

To state the obvious: This is merge window material.

Best regards
Uwe

Uwe Kleine-König (The Capable Hub) (3):
  drm/amdgpu: Drop unused include of <drm/drm_pciids.h>
  drm/gma500: Drop unused include of <drm/drm_pciids.h>
  drm/mgag200: Drop unused include of <drm/drm_pciids.h>

 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 1 -
 drivers/gpu/drm/gma500/psb_drv.c        | 1 -
 drivers/gpu/drm/mgag200/mgag200_drv.c   | 1 -
 3 files changed, 3 deletions(-)


base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731
-- 
2.47.3

Re: [PATCH v1 0/3] drm: Drop unused include of <drm/drm_pciids.h>
Posted by Uwe Kleine-König (The Capable Hub) 1 week ago
Hello,

On Thu, Apr 30, 2026 at 12:45:12PM +0200, Uwe Kleine-König (The Capable Hub) wrote:
> Hello,
> 
> <drm/drm_pciids.h> is only actually used in the radeon driver but
> included in several others. This series drops these includes.
> 
> The obvious continuation would be to fold the definition of
> radeon_PCI_IDS into the only .c file using it. But I post-pone that
> until
> https://lore.kernel.org/all/20260430102958.136859-2-u.kleine-koenig@baylibre.com/
> is out of the way.
> 
> There are no dependencies between the patches, so I suggest that each
> maintainer team applies their material to their own tree at their own
> pace.
> 
> To state the obvious: This is merge window material.
> 
> Best regards
> Uwe
> 
> Uwe Kleine-König (The Capable Hub) (3):
>   drm/amdgpu: Drop unused include of <drm/drm_pciids.h>
>   drm/gma500: Drop unused include of <drm/drm_pciids.h>
>   drm/mgag200: Drop unused include of <drm/drm_pciids.h>

Patches #2 and #3 are currently waiting in next for the merge window.
Can you please pick #1, too?

Best regards
Uwe

Re: [PATCH v1 0/3] drm: Drop unused include of <drm/drm_pciids.h>
Posted by Thomas Zimmermann 1 month, 1 week ago
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>

Am 30.04.26 um 12:45 schrieb Uwe Kleine-König (The Capable Hub):
> Hello,
>
> <drm/drm_pciids.h> is only actually used in the radeon driver but
> included in several others. This series drops these includes.
>
> The obvious continuation would be to fold the definition of
> radeon_PCI_IDS into the only .c file using it. But I post-pone that
> until
> https://lore.kernel.org/all/20260430102958.136859-2-u.kleine-koenig@baylibre.com/
> is out of the way.
>
> There are no dependencies between the patches, so I suggest that each
> maintainer team applies their material to their own tree at their own
> pace.
>
> To state the obvious: This is merge window material.
>
> Best regards
> Uwe
>
> Uwe Kleine-König (The Capable Hub) (3):
>    drm/amdgpu: Drop unused include of <drm/drm_pciids.h>
>    drm/gma500: Drop unused include of <drm/drm_pciids.h>
>    drm/mgag200: Drop unused include of <drm/drm_pciids.h>
>
>   drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 1 -
>   drivers/gpu/drm/gma500/psb_drv.c        | 1 -
>   drivers/gpu/drm/mgag200/mgag200_drv.c   | 1 -
>   3 files changed, 3 deletions(-)
>
>
> base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731

-- 
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstr. 146, 90461 Nürnberg, Germany, www.suse.com
GF: Jochen Jaser, Andrew McDonald, Werner Knoblich, (HRB 36809, AG Nürnberg)