DRM: Core Cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest20 patches 32 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/20 | drm/radeon: move drm_buffer to drm/radeon/drivers/ drivers/ drivers/ +5 more | +329 | 2 replies | |
| 2/20 | drm: mark drm_buf and drm_map as legacydrivers/ drivers/ drivers/ +9 more | +131 | 1 reply | |
| 3/20 | drm: move "struct drm_vma_entry" to drm_vm.cdrivers/ drivers/ drivers/ +1 more | +79 | 1 reply | |
| 4/20 | drm: move "struct drm_magic_entry" to drm_auth.cdrivers/ drivers/ include/ | +6 | 1 reply | |
| 5/20 | drm: drop unused "struct drm_waitlist"include/ | +0 | 1 reply | |
| 6/20 | drm: move AGP definitions harderdrivers/ drivers/ drivers/ +3 more | +32 | 2 replies | |
| 7/20 | drm: replace weird conditional includesdrivers/ include/ | +2 | 1 reply | |
| 8/20 | drm: drop __KERNEL__ protection in drmP.hinclude/ | +0 | 1 reply | |
| 9/20 | drm: merge drm_memory.h into drm_memory.cdrivers/ include/ include/ | +13 | 3 replies | |
| 10/20 | drm: move __OS_HAS_AGP into drm_agpsupport.hinclude/ include/ | +3 | 2 replies | |
| 11/20 | drm: order includes alphabetically in drmP.hinclude/ | +23 | 1 reply | |
| 12/20 | drm: drop DRM_DEBUG_CODEdrivers/ drivers/ drivers/ +2 more | +12 | 1 reply | |
| 13/20 | drm: inline "struct drm_sigdata"drivers/ include/ | +13 | 1 reply | |
| 14/20 | drm: move remaining includes in drmP.h to the topinclude/ include/ include/ | +22 | 1 reply | |
| 15/20 | drm: simplify drm_*_set_unique()drivers/ drivers/ | +16 | 2 replies | |
| 16/20 | drm: drop unused drm_master->unique_sizedrivers/ drivers/ drivers/ +1 more | +1 | 2 replies | |
| 17/20 | drm: add driver->set_busid() callbackdrivers/ drivers/ drivers/ +27 more | +58 | 3 replies | |
| 18/20 | drm: Goody bye, drm_bus!drivers/ drivers/ drivers/ +2 more | +1 | 2 replies | |
| 19/20 | drm: merge drm_usb into udlDocumentation/ drivers/ drivers/ +8 more | +70 | 2 replies | |
| 20/20 | drm: move drm-lock API to drm_legacy.hdrivers/ drivers/ drivers/ +6 more | +38 | 1 reply |
Reviews trailers per patch
19 of 20 patches have a Reviewed-by or Acked-by.
| Patch | Thierry Reding | Daniel Vetter | Alex Deucher |
|---|---|---|---|
| 1/20 | R-b | R-b | |
| 2/20 | R-b | ||
| 3/20 | R-b | ||
| 4/20 | R-b | ||
| 5/20 | R-b | ||
| 6/20 | R-b | ||
| 7/20 | R-b | ||
| 8/20 | R-b | ||
| 9/20 | R-b | ||
| 10/20 | |||
| 11/20 | A-b | ||
| 12/20 | R-b | ||
| 13/20 | R-b | ||
| 14/20 | R-b | ||
| 15/20 | R-b | R-b | |
| 16/20 | R-b | R-b | |
| 17/20 | R-b | ||
| 18/20 | R-b | R-b | |
| 19/20 | R-b | R-b | |
| 20/20 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 00/20] DRM: Core Cleanups
Hi
More cleanups of DRM core code. Diffstat says:
72 files changed, 832 insertions(+), 1038 deletions(-)
..which is already nice, but doesn't reflect that a lot of code is now hidden from main headers. Furthermore, with this series applied, drmP.h no longer looks as ugly as it is now (widly unstructured). It still ain't a beauty, though:
include/drm/drmP.h | 236 ++++++++-----------------------
Anyhow, highlights:
- drop "drm_memory.h"
- drop "drm_usb.c"
- drop "struct drm_waitlist"
- drop "struct drm_sigdata"
- drop "struct drm_bus"
- drop "drm_master->unique_size"
Two patches are driver related:
- radeon: Patch #1, moves drm_buffer.c to radeon/
- nouveau: Patch #17, splits drm_driver for nouveau
They're rather trivial. Everything else is DRM-core.
I've moved some legacy stuff around so it's easier to drop it once unused. If someone disagrees with move, let me know and I'll drop the patch.
I've pushed this to the 0-day testing bots now. I'll comment on the patches in case something shows up.
Comments welcome!
David
David Herrmann (20):
drm/radeon: move drm_buffer to drm/radeon/
drm: mark drm_buf and drm_map as legacy
drm: move "struct drm_vma_entry" to drm_vm.c
drm: move "struct drm_magic_entry" to drm_auth.c
drm: drop unused "struct drm_waitlist"
drm: move AGP definitions harder
drm: replace weird conditional includes
drm: drop __KERNEL__ protection in drmP.h
drm: merge drm_memory.h into drm_memory.c
drm: move __OS_HAS_AGP into drm_agpsupport.h
drm: order includes alphabetically in drmP.h
drm: drop DRM_DEBUG_CODE
drm: inline "struct drm_sigdata"
drm: move remaining includes in drmP.h to the top
drm: simplify drm_*_set_unique()
drm: drop unused drm_master->unique_size
drm: add driver->set_busid() callback
drm: Goody bye, drm_bus!
drm: merge drm_usb into udl
drm: move drm-lock API to drm_legacy.h
Documentation/DocBook/drm.tmpl | 3 +- drivers/gpu/drm/Kconfig | 6 - drivers/gpu/drm/Makefile | 5 +- drivers/gpu/drm/armada/armada_drv.c | 1 + drivers/gpu/drm/ast/ast_drv.c | 1 + drivers/gpu/drm/bochs/bochs_drv.c | 1 + drivers/gpu/drm/cirrus/cirrus_drv.c | 1 + drivers/gpu/drm/drm_agpsupport.c | 1 + drivers/gpu/drm/drm_auth.c | 6 + drivers/gpu/drm/drm_buffer.c | 181 ------------------------ drivers/gpu/drm/drm_bufs.c | 89 ++++++------ drivers/gpu/drm/drm_debugfs.c | 2 - drivers/gpu/drm/drm_drv.c | 11 +- drivers/gpu/drm/drm_fops.c | 16 +-- drivers/gpu/drm/drm_info.c | 59 -------- drivers/gpu/drm/drm_ioctl.c | 27 ++-- drivers/gpu/drm/drm_legacy.h | 39 +++++ drivers/gpu/drm/drm_lock.c | 35 ++--- drivers/gpu/drm/drm_memory.c | 12 ++ drivers/gpu/drm/drm_pci.c | 41 ++---- drivers/gpu/drm/drm_platform.c | 38 ++--- drivers/gpu/drm/drm_usb.c | 88 ------------ drivers/gpu/drm/drm_vm.c | 74 ++++++++++ drivers/gpu/drm/exynos/exynos_drm_drv.c | 1 + drivers/gpu/drm/gma500/psb_drv.c | 1 + drivers/gpu/drm/i810/i810_dma.c | 4 +- drivers/gpu/drm/i810/i810_drv.c | 1 + drivers/gpu/drm/i915/i915_dma.c | 2 +- drivers/gpu/drm/i915/i915_drv.c | 1 + drivers/gpu/drm/mga/mga_dma.c | 49 +++---- drivers/gpu/drm/mga/mga_drv.c | 1 + drivers/gpu/drm/mgag200/mgag200_drv.c | 1 + drivers/gpu/drm/msm/msm_drv.c | 1 + drivers/gpu/drm/nouveau/nouveau_drm.c | 19 ++- drivers/gpu/drm/omapdrm/omap_drv.c | 1 + drivers/gpu/drm/qxl/qxl_drv.c | 1 + drivers/gpu/drm/r128/r128_cce.c | 2 +- drivers/gpu/drm/r128/r128_drv.c | 1 + drivers/gpu/drm/radeon/Makefile | 2 +- drivers/gpu/drm/radeon/drm_buffer.c | 177 +++++++++++++++++++++++ drivers/gpu/drm/radeon/drm_buffer.h | 148 +++++++++++++++++++ drivers/gpu/drm/radeon/r300_cmdbuf.c | 2 +- drivers/gpu/drm/radeon/r600_cp.c | 2 +- drivers/gpu/drm/radeon/radeon.h | 17 ++- drivers/gpu/drm/radeon/radeon_cp.c | 22 +-- drivers/gpu/drm/radeon/radeon_drv.c | 2 + drivers/gpu/drm/radeon/radeon_ring.c | 21 --- drivers/gpu/drm/radeon/radeon_state.c | 2 +- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 1 + drivers/gpu/drm/savage/savage_bci.c | 23 +-- drivers/gpu/drm/savage/savage_drv.c | 1 + drivers/gpu/drm/shmobile/shmob_drm_drv.c | 1 + drivers/gpu/drm/sis/sis_drv.c | 1 + drivers/gpu/drm/sis/sis_mm.c | 6 +- drivers/gpu/drm/tdfx/tdfx_drv.c | 1 + drivers/gpu/drm/tilcdc/tilcdc_drv.c | 1 + drivers/gpu/drm/udl/Kconfig | 3 +- drivers/gpu/drm/udl/udl_connector.c | 4 +- drivers/gpu/drm/udl/udl_drv.c | 102 +++++++------ drivers/gpu/drm/udl/udl_drv.h | 1 + drivers/gpu/drm/udl/udl_main.c | 8 +- drivers/gpu/drm/via/via_drv.c | 1 + drivers/gpu/drm/via/via_map.c | 2 +- drivers/gpu/drm/via/via_mm.c | 6 +- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 1 + drivers/staging/imx-drm/imx-drm-core.c | 1 + include/drm/drmP.h | 236 ++++++++----------------------- include/drm/drm_agpsupport.h | 26 +++- include/drm/drm_buffer.h | 148 ------------------- include/drm/drm_crtc.h | 4 +- include/drm/drm_memory.h | 59 -------- include/drm/drm_usb.h | 15 -- 72 files changed, 832 insertions(+), 1038 deletions(-) delete mode 100644 drivers/gpu/drm/drm_buffer.c delete mode 100644 drivers/gpu/drm/drm_usb.c create mode 100644 drivers/gpu/drm/radeon/drm_buffer.c create mode 100644 drivers/gpu/drm/radeon/drm_buffer.h delete mode 100644 include/drm/drm_buffer.h delete mode 100644 include/drm/drm_memory.h delete mode 100644 include/drm/drm_usb.h
Signature · 1 line
2.1.0