Skip to content

drm: Completely remove struct drm_device.pdev

Thomas Zimmermann dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7drm/i810: Remove references to struct drm_device.pdevdrivers/gpu/drm/i810/i810_dma.c+5 -30 replies
2/7drm/mga: Remove references to struct drm_device.pdevdrivers/gpu/drm/mga/mga_dma.c drivers/gpu/drm/mga/mga_state.c+9 -70 replies
3/7drm/r128: Remove references to struct drm_device.pdevdrivers/gpu/drm/r128/ati_pcigart.c drivers/gpu/drm/r128/r128_drv.c drivers/gpu/drm/r128/r128_state.c+11 -70 replies
4/7drm/savage: Remove references to struct drm_device.pdevdrivers/gpu/drm/savage/savage_bci.c+14 -120 replies
5/7drm/sis: Remove references to struct drm_device.pdevdrivers/gpu/drm/sis/sis_drv.c+2 -10 replies
6/7drm/via: Remove references to drm_device.pdevdrivers/gpu/drm/via/via_dmablit.c drivers/gpu/drm/via/via_map.c+11 -70 replies
7/7drm: Remove pdev field from struct drm_devicedrivers/gpu/drm/drm_pci.c include/drm/drm_device.h+0 -40 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMaxime Ripard
SeriesR-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] drm: Completely remove struct drm_device.pdev

The pdev field in struct drm_device was recently moved into the legacy section. Remove it entirely. References are replaced with upcasts from the structure's dev field. This change only affects legacy drivers for userspace modesetting.

Thomas Zimmermann (7):
drm/i810: Remove references to struct drm_device.pdev drm/mga: Remove references to struct drm_device.pdev drm/r128: Remove references to struct drm_device.pdev drm/savage: Remove references to struct drm_device.pdev drm/sis: Remove references to struct drm_device.pdev drm/via: Remove references to drm_device.pdev
drm: Remove pdev field from struct drm_device

 drivers/gpu/drm/drm_pci.c           |  1 -
 drivers/gpu/drm/i810/i810_dma.c     |  8 +++++---
 drivers/gpu/drm/mga/mga_dma.c       | 13 +++++++------
 drivers/gpu/drm/mga/mga_state.c     |  3 ++-
 drivers/gpu/drm/r128/ati_pcigart.c  | 11 ++++++-----
 drivers/gpu/drm/r128/r128_drv.c     |  4 +++-
 drivers/gpu/drm/r128/r128_state.c   |  3 ++-
 drivers/gpu/drm/savage/savage_bci.c | 26 ++++++++++++++------------
 drivers/gpu/drm/sis/sis_drv.c       |  3 ++-
 drivers/gpu/drm/via/via_dmablit.c   | 15 +++++++++------
 drivers/gpu/drm/via/via_map.c       |  3 ++-
 include/drm/drm_device.h            |  3 ---
 12 files changed, 52 insertions(+), 41 deletions(-)

--
2.31.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel