All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] drm: Completely remove struct drm_device.pdev
@ 2021-05-02 10:49 Thomas Zimmermann
  2021-05-02 10:49 ` [PATCH 1/7] drm/i810: Remove references to " Thomas Zimmermann
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Thomas Zimmermann @ 2021-05-02 10:49 UTC (permalink / raw)
  To: maarten.lankhorst, mripard, airlied, daniel; +Cc: Thomas Zimmermann, dri-devel

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
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2021-05-03  8:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-02 10:49 [PATCH 0/7] drm: Completely remove struct drm_device.pdev Thomas Zimmermann
2021-05-02 10:49 ` [PATCH 1/7] drm/i810: Remove references to " Thomas Zimmermann
2021-05-02 10:49 ` [PATCH 2/7] drm/mga: " Thomas Zimmermann
2021-05-02 10:49 ` [PATCH 3/7] drm/r128: " Thomas Zimmermann
2021-05-02 10:49 ` [PATCH 4/7] drm/savage: " Thomas Zimmermann
2021-05-02 10:49 ` [PATCH 5/7] drm/sis: " Thomas Zimmermann
2021-05-02 10:49 ` [PATCH 6/7] drm/via: Remove references to drm_device.pdev Thomas Zimmermann
2021-05-02 10:49 ` [PATCH 7/7] drm: Remove pdev field from struct drm_device Thomas Zimmermann
2021-05-03  8:38 ` [PATCH 0/7] drm: Completely remove struct drm_device.pdev Maxime Ripard

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.