Skip to content

drm: Remove DRM aperture helpers

Thomas Zimmermann amd-gfx dri-devel intel-gfx intel-xe 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest28 patches 9 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/28drm/amdgpu: Use video aperture helpersdrivers/gpu/drm/amd/amdgpu/amdgpu_device.c+3 -20 replies
2/28drm/arm/hdlcd: Use video aperture helpersdrivers/gpu/drm/arm/hdlcd_drv.c+2 -21 reply
3/28drm/armada: Use video aperture helpersdrivers/gpu/drm/armada/armada_drv.c+2 -20 replies
4/28drm/ast: Use video aperture helpersdrivers/gpu/drm/ast/ast_drv.c+2 -20 replies
5/28drm/hisilicon/hibmc: Use video aperture helpersdrivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c+2 -20 replies
6/28drm/hyperv-drm: Use video aperture helpersdrivers/gpu/drm/hyperv/hyperv_drm_drv.c+2 -21 reply
7/28drm/i915: Use video aperture helpersdrivers/gpu/drm/i915/i915_driver.c+2 -21 reply
8/28drm/loongson: Use video aperture helpersdrivers/gpu/drm/loongson/lsdc_drv.c+4 -41 reply
9/28drm/meson: Use video aperture helpersdrivers/gpu/drm/meson/meson_drv.c+2 -21 reply
10/28drm/mgag200: Use video aperture helpersdrivers/gpu/drm/mgag200/mgag200_drv.c+2 -20 replies
11/28drm/msm: Use video aperture helpersdrivers/gpu/drm/msm/msm_kms.c+2 -21 reply
12/28drm/nouveau: Use video aperture helpersdrivers/gpu/drm/nouveau/nouveau_drm.c+2 -20 replies
13/28drm/ofdrm: Use video aperture helpersdrivers/gpu/drm/tiny/ofdrm.c+2 -20 replies
14/28drm/qxl: Use video aperture helpersdrivers/gpu/drm/qxl/qxl_drv.c+2 -20 replies
15/28drm/radeon: Use video aperture helpersdrivers/gpu/drm/radeon/radeon_drv.c+2 -30 replies
16/28drm/rockchip: Use video aperture helpersdrivers/gpu/drm/rockchip/rockchip_drm_drv.c+2 -20 replies
17/28drm/simpledrm: Use video aperture helpersdrivers/gpu/drm/tiny/simpledrm.c+5 -30 replies
18/28drm/stm: Use video aperture helpersdrivers/gpu/drm/stm/drv.c+2 -20 replies
19/28drm/sun4i: Use video aperture helpersdrivers/gpu/drm/sun4i/sun4i_drv.c+2 -20 replies
20/28drm/tegra: Use video aperture helpersdrivers/gpu/drm/tegra/drm.c+2 -20 replies
21/28drm/bochs: Use video aperture helpersdrivers/gpu/drm/tiny/bochs.c+2 -20 replies
22/28drm/cirrus: Use video aperture helpersdrivers/gpu/drm/tiny/cirrus.c+2 -20 replies
23/28drm/vboxvideo: Use video aperture helpersdrivers/gpu/drm/vboxvideo/vbox_drv.c+3 -20 replies
24/28drm/vc4: Use video aperture helpersdrivers/gpu/drm/vc4/vc4_drv.c+2 -20 replies
25/28drm/virtgpu: Use video aperture helpersdrivers/gpu/drm/virtio/virtgpu_drv.c+2 -20 replies
26/28drm/vmwgfx: Use video aperture helpersdrivers/gpu/drm/vmwgfx/vmwgfx_drv.c+3 -20 replies
27/28drm/xe: Use video aperture helpersdrivers/gpu/drm/xe/xe_device.c+2 -20 replies
28/28drm: Remove DRM aperture helpersDocumentation/gpu/drm-internals.rst MAINTAINERS drivers/gpu/drm/Makefile +2 more+0 -2451 reply

Reviews trailers per patch

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

PatchNeil ArmstrongJavier Martinez CanillasAlex DeucherDeepak RawatJani NikulaLiviu DudauSui JingfengDmitry Baryshkov
SeriesA-b
1/28
2/28A-b
3/28
4/28
5/28
6/28R-b
7/28A-b
8/28A-b
9/28R-b
10/28
11/28R-b
12/28
13/28
14/28
15/28
16/28
17/28
18/28
19/28
20/28
21/28
22/28
23/28
24/28
25/28
26/28
27/28
28/28A-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 8 reviewers.

Read the v1 thread

Cover letter [PATCH 00/28] drm: Remove DRM aperture helpers

DRM's aperture helpers are merely wrappers around the respective helpers in drivers/video/. The DRM interface existed first, but was later generalized for use with fbdev and a few other graphics-related places in the kernel. It is time to remove the DRM wrappers and call the video helpers directly.

No functional changes intended. This series should replace one interface with another. Individual patches could go into the various trees and the DRM wrappers can be removed when all driver changes have been merged.

Thomas Zimmermann (28):
drm/amdgpu: Use video aperture helpers
drm/arm/hdlcd: Use video aperture helpers
drm/armada: Use video aperture helpers
drm/ast: Use video aperture helpers
drm/hisilicon/hibmc: Use video aperture helpers
drm/hyperv-drm: Use video aperture helpers
drm/i915: Use video aperture helpers
drm/loongson: Use video aperture helpers
drm/meson: Use video aperture helpers
drm/mgag200: Use video aperture helpers
drm/msm: Use video aperture helpers
drm/nouveau: Use video aperture helpers
drm/ofdrm: Use video aperture helpers
drm/qxl: Use video aperture helpers
drm/radeon: Use video aperture helpers
drm/rockchip: Use video aperture helpers
drm/simpledrm: Use video aperture helpers
drm/stm: Use video aperture helpers
drm/sun4i: Use video aperture helpers
drm/tegra: Use video aperture helpers
drm/bochs: Use video aperture helpers
drm/cirrus: Use video aperture helpers
drm/vboxvideo: Use video aperture helpers
drm/vc4: Use video aperture helpers
drm/virtgpu: Use video aperture helpers
drm/vmwgfx: Use video aperture helpers
drm/xe: Use video aperture helpers
drm: Remove DRM aperture helpers

 Documentation/gpu/drm-internals.rst           |  12 --
 MAINTAINERS                                   |   2 -
 drivers/gpu/drm/Makefile                      |   1 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c    |   5 +-
 drivers/gpu/drm/arm/hdlcd_drv.c               |   4 +-
 drivers/gpu/drm/armada/armada_drv.c           |   4 +-
 drivers/gpu/drm/ast/ast_drv.c                 |   4 +-
 drivers/gpu/drm/drm_aperture.c                | 192 ------------------
 .../gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c   |   4 +-
 drivers/gpu/drm/hyperv/hyperv_drm_drv.c       |   4 +-
 drivers/gpu/drm/i915/i915_driver.c            |   4 +-
 drivers/gpu/drm/loongson/lsdc_drv.c           |   8 +-
 drivers/gpu/drm/meson/meson_drv.c             |   4 +-
 drivers/gpu/drm/mgag200/mgag200_drv.c         |   4 +-
 drivers/gpu/drm/msm/msm_kms.c                 |   4 +-
 drivers/gpu/drm/nouveau/nouveau_drm.c         |   4 +-
 drivers/gpu/drm/qxl/qxl_drv.c                 |   4 +-
 drivers/gpu/drm/radeon/radeon_drv.c           |   5 +-
 drivers/gpu/drm/rockchip/rockchip_drm_drv.c   |   4 +-
 drivers/gpu/drm/stm/drv.c                     |   4 +-
 drivers/gpu/drm/sun4i/sun4i_drv.c             |   4 +-
 drivers/gpu/drm/tegra/drm.c                   |   4 +-
 drivers/gpu/drm/tiny/bochs.c                  |   4 +-
 drivers/gpu/drm/tiny/cirrus.c                 |   4 +-
 drivers/gpu/drm/tiny/ofdrm.c                  |   4 +-
 drivers/gpu/drm/tiny/simpledrm.c              |   8 +-
 drivers/gpu/drm/vboxvideo/vbox_drv.c          |   5 +-
 drivers/gpu/drm/vc4/vc4_drv.c                 |   4 +-
 drivers/gpu/drm/virtio/virtgpu_drv.c          |   4 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c           |   5 +-
 drivers/gpu/drm/xe/xe_device.c                |   4 +-
 include/drm/drm_aperture.h                    |  38 ----
 32 files changed, 62 insertions(+), 303 deletions(-)
 delete mode 100644 drivers/gpu/drm/drm_aperture.c
 delete mode 100644 include/drm/drm_aperture.h
Signature · 1 line
2.46.0