twx-linux/drivers/gpu/drm
Thomas Zimmermann 7283f862bd drm: Implement DRM aperture helpers under video/
Implement DRM's aperture helpers under video/ for sharing with other
sub-systems. Remove DRM-isms from the interface. The helpers track
the ownership of framebuffer apertures and provide hand-over from
firmware, such as EFI and VESA, to native graphics drivers.

Other subsystems, such as fbdev and vfio, also have to maintain ownership
of framebuffer apertures. Moving DRM's aperture helpers to a more public
location allows all subsystems to interact with each other and share a
common implementation.

The aperture helpers are selected by the various firmware drivers within
DRM and fbdev, and the VGA text-console driver.

The original DRM interface is kept in place for use by DRM drivers.

v3:
	* prefix all interfaces with aperture_ (Javier)
	* rework and simplify documentation (Javier)
	* rename struct dev_aperture to struct aperture_range
	* rebase onto latest DRM
	* update MAINTAINERS entry

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220622140134.12763-3-tzimmermann@suse.de
2022-06-27 11:07:55 +02:00
..
amd drm/amdgpu/display: drop set but unused variable 2022-06-20 18:18:49 -04:00
arm drm: Drop drm_blend.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
armada drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
aspeed drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
ast drm/ast: Fix black screen when getting out of suspend 2022-06-27 10:15:02 +02:00
atmel-hlcdc drm: Drop drm_blend.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
bridge drm: bridge: adv7511: Add check for mipi_dsi_driver_register 2022-06-24 22:32:02 +02:00
display drm/display: Fix build error without CONFIG_OF 2022-06-23 16:18:02 +02:00
etnaviv Merge branch 'etnaviv/next' of https://git.pengutronix.de/git/lst/linux into drm-next 2022-05-17 12:20:04 +10:00
exynos drm: Drop drm_blend.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
fsl-dcu drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
gma500 drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
gud drm: Drop drm_blend.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
hisilicon drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
hyperv drm/hyperv-drm: Include framebuffer and EDID headers 2022-06-22 16:07:38 +02:00
i2c
i810
i915 drm: Drop drm_blend.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
imx drm: Drop drm_blend.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
ingenic drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
kmb drm: Drop drm_blend.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
lib
lima
logicvc drm/logicvc: add missing of_node_put() in logicvc_layers_init() 2022-06-24 17:23:38 +02:00
mcde drm/mcde: Fix refcount leak in mcde_dsi_bind 2022-06-27 09:58:41 +02:00
mediatek drm: Drop drm_blend.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
meson drm: Drop drm_blend.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
mga
mgag200 drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
msm drm: Drop drm_blend.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
mxsfb drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
nouveau drm/nouveau/Kconfig: Drop duplicate "select ACPI_VIDEO" 2022-06-23 12:15:04 +02:00
omapdrm drm: Drop drm_blend.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
panel drm/panel: introduce ebbg,ft8719 panel 2022-06-24 22:35:38 +02:00
panfrost drm-misc-next for 5.20: 2022-06-15 19:12:17 +02:00
pl111 drm/pl111: drop unexpected word "the" in the comments 2022-06-24 21:32:40 +02:00
qxl drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
r128 drm/r128: Fix undefined behavior due to shift overflowing the constant 2022-05-21 18:02:47 +02:00
radeon drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
rcar-du drm: Drop drm_blend.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
rockchip drm: Drop drm_blend.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
savage
scheduler drm/scheduler: Don't kill jobs in interrupt context 2022-05-17 10:06:41 -04:00
selftests drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
shmobile drm: shmobile: Use backlight helper 2022-06-24 21:45:28 +02:00
sis
solomon drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
sprd drm: Drop drm_blend.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
sti drm: Drop drm_blend.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
stm drm: Drop drm_blend.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
sun4i drm: Drop drm_blend.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
tdfx
tegra drm: Drop drm_blend.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
tidss drm: Drop drm_blend.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
tilcdc drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
tiny drm: Implement DRM aperture helpers under video/ 2022-06-27 11:07:55 +02:00
ttm drm-misc-next for 5.20: 2022-06-15 19:12:17 +02:00
tve200 drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
udl drm: Drop drm_edid.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
v3d drm/v3d: Add support for bcm2711 2022-06-12 22:10:50 -01:00
vboxvideo drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
vc4 drm/vc4: drop unexpected word "the" in the comments 2022-06-22 09:22:55 +02:00
vgem
via
virtio drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
vkms drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
vmwgfx drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
xen drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
xlnx drm/xlnx: Fix build failure due to missing include 2022-06-21 11:23:52 +03:00
drm_agpsupport.c
drm_aperture.c drm: Implement DRM aperture helpers under video/ 2022-06-27 11:07:55 +02:00
drm_atomic_helper.c drm: Drop drm_blend.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
drm_atomic_state_helper.c drm: Drop drm_blend.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
drm_atomic_uapi.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
drm_atomic.c drm: Drop drm_blend.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
drm_auth.c
drm_blend.c
drm_bridge_connector.c drm: Config orientation property if panel provides it 2022-06-21 08:52:59 -07:00
drm_bridge.c drm/bridge: Add devm_drm_bridge_add() 2022-06-02 15:15:10 -07:00
drm_buddy.c
drm_bufs.c
drm_cache.c
drm_client_modeset.c drm: Drop drm_edid.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
drm_client.c
drm_color_mgmt.c drm: fix typo in comment 2022-05-04 14:09:34 +02:00
drm_connector.c drm/connector: Remove usage of the deprecated ida_simple_xxx API 2022-06-25 00:04:19 +02:00
drm_context.c
drm_crtc_helper_internal.h
drm_crtc_helper.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
drm_crtc_internal.h
drm_crtc.c drm: Drop drm_blend.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
drm_damage_helper.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
drm_debugfs_crc.c
drm_debugfs.c drm/debug: Expose connector's max supported bpc via debugfs 2022-05-23 11:27:36 +03:00
drm_displayid.c drm/displayid: convert to drm_edid 2022-05-13 18:55:13 +03:00
drm_dma.c
drm_drv.c
drm_dumb_buffers.c
drm_edid_load.c
drm_edid.c drm/edid: add new interfaces around struct drm_edid 2022-06-13 12:30:54 +03:00
drm_encoder_slave.c
drm_encoder.c drm: use ENOMEM for drmm_kzalloc allocation failures 2022-05-25 17:39:49 +02:00
drm_fb_cma_helper.c
drm_fb_helper.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
drm_file.c
drm_flip_work.c
drm_format_helper.c drm/format-helper: Share implementation among conversion helpers 2022-05-05 08:54:09 +02:00
drm_fourcc.c
drm_framebuffer.c
drm_gem_atomic_helper.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
drm_gem_cma_helper.c drm/cma-helper: Describe what a "contiguous chunk" actually means 2022-06-08 17:36:15 +02:00
drm_gem_framebuffer_helper.c drm/gem: Warn on trying to use a non-existing framebuffer plane 2022-05-19 19:25:23 +02:00
drm_gem_shmem_helper.c
drm_gem_ttm_helper.c
drm_gem_vram_helper.c drm/gem-vram: Ignore planes that are unused by framebuffer format 2022-05-19 19:25:19 +02:00
drm_gem.c
drm_hashtab.c
drm_internal.h
drm_ioc32.c
drm_ioctl.c GPU: drm: drop unexpected word "the" in the comments 2022-06-22 09:23:08 +02:00
drm_irq.c
drm_kms_helper_common.c drm: Drop drm_edid.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
drm_lease.c
drm_legacy_misc.c
drm_legacy.h
drm_lock.c
drm_managed.c drm: Add DRM-managed mutex_init() 2022-05-05 09:04:10 +02:00
drm_memory.c
drm_mipi_dbi.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
drm_mipi_dsi.c
drm_mm.c
drm_mode_config.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
drm_mode_object.c
drm_modes.c drm: Drop drm_edid.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
drm_modeset_helper.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
drm_modeset_lock.c
drm_nomodeset.c
drm_of.c drm: of: Add drm_of_get_data_lanes_count and drm_of_get_data_lanes_ep 2022-06-12 12:22:22 +02:00
drm_panel_orientation_quirks.c drm: panel-orientation-quirks: drop unexpected word "the" in the comments 2022-06-22 09:23:01 +02:00
drm_panel.c
drm_pci.c
drm_plane_helper.c
drm_plane.c drm/plane: Move range check for format_count earlier 2022-04-28 16:13:04 +01:00
drm_prime.c drm/prime: drop unexpected word "the" in the comments 2022-06-22 09:22:05 +02:00
drm_print.c
drm_privacy_screen_x86.c
drm_privacy_screen.c
drm_probe_helper.c drm/probe-helper: abstract .get_modes() connector helper call 2022-06-13 12:31:27 +03:00
drm_property.c
drm_rect.c
drm_scatter.c
drm_self_refresh_helper.c
drm_simple_kms_helper.c
drm_syncobj.c drm/syncobj: add missing error return code in drm_syncobj_transfer_to_timeline() 2022-06-13 08:54:16 +02:00
drm_sysfs.c
drm_trace_points.c
drm_trace.h
drm_vblank_work.c
drm_vblank.c
drm_vm.c LoongArch: Add writecombine support for drm 2022-06-03 20:09:27 +08:00
drm_vma_manager.c
drm_writeback.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
Kconfig drm: Add support for the LogiCVC display controller 2022-06-09 16:49:56 +02:00
Makefile drm: Add support for the LogiCVC display controller 2022-06-09 16:49:56 +02:00