linux/drivers/gpu/drm/tiny
Thomas Zimmermann 136c374d8c drm/sharp-memory: Do not access GEM-DMA vaddr directly
Use DRM's shadow-plane helper to map and access the GEM object's buffer
within kernel address space. Encapsulates the vmap logic in the GEM-DMA
helpers.

The sharp-memory driver currently reads the vaddr field from the GME
buffer object directly. This only works because GEM code 'automagically'
sets vaddr.

Shadow-plane helpers perform the same steps, but with correct abstraction
behind drm_gem_vmap(). The shadow-plane state provides the buffer address
in kernel address space and the format-conversion state.

v2:
- fix typo in commit description

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://lore.kernel.org/r/20250627152327.8244-1-tzimmermann@suse.de
History 2025-08-11 18:49:55 +02:00
..
appletbdrm.c drm/appletbdrm: use %p4cl instead of %p4cc 2025-04-21 10:18:30 -04:00
arcpgu.c drm/tiny: move to devm_platform_ioremap_resource() usage 2025-02-26 15:27:08 +01:00
bochs.c drm/bochs: Add support for drm_panic 2025-06-23 11:30:18 +02:00
cirrus-qemu.c drm/cirrus: Use non-hybrid PCI devres API 2025-05-09 10:34:40 +02:00
gm12u320.c drm/gm12u320: Set struct drm_device.dma_dev 2025-03-12 09:03:55 +01:00
hx8357d.c drm: remove driver date from struct drm_driver and all drivers 2024-12-05 12:35:42 +02:00
ili9163.c drm: remove driver date from struct drm_driver and all drivers 2024-12-05 12:35:42 +02:00
ili9225.c drm: remove driver date from struct drm_driver and all drivers 2024-12-05 12:35:42 +02:00
ili9341.c drm: remove driver date from struct drm_driver and all drivers 2024-12-05 12:35:42 +02:00
ili9486.c drm: remove driver date from struct drm_driver and all drivers 2024-12-05 12:35:42 +02:00
Kconfig pci-v6.16-changes 2025-06-04 11:26:17 -07:00
Makefile drm/sitronix: move tiny Sitronix drivers to their own subdir 2025-05-12 10:26:40 +02:00
mi0283qt.c drm: remove driver date from struct drm_driver and all drivers 2024-12-05 12:35:42 +02:00
panel-mipi-dbi.c drm/tiny: panel-mipi-dbi: Use drm_client_setup_with_fourcc() 2025-05-12 08:57:04 +02:00
repaper.c drm/repaper: Do not access GEM-DMA vaddr directly 2025-08-11 18:49:05 +02:00
sharp-memory.c drm/sharp-memory: Do not access GEM-DMA vaddr directly 2025-08-11 18:49:55 +02:00