linux-stable/drivers/gpu/drm/armada
Thomas Zimmermann 983780918c drm/fb-helper: Perform all fbdev I/O with the same implementation
Implement the fbdev's read/write helpers with the same functions. Use
the generic fbdev's code as template. Convert all drivers.

DRM's fb helpers must implement regular I/O functionality in struct
fb_ops and possibly perform a damage update. Handle all this in the
same functions and convert drivers. The functionality has been used
as part of the generic fbdev code for some time. The drivers don't
set struct drm_fb_helper.fb_dirty, so they will not be affected by
damage handling.

For I/O memory, fb helpers now provide drm_fb_helper_cfb_read() and
drm_fb_helper_cfb_write(). Several drivers require these. Until now
tegra used I/O read and write, although the memory buffer appears to
be in system memory. So use _sys_ helpers now.

v3:
	* fix docs (Javier)
v2:
	* rebase onto vmwgfx changes

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221103151446.2638-18-tzimmermann@suse.de
2022-11-05 17:05:54 +01:00
..
armada_510.c drm: Remove linux/fb.h from drm_crtc.h 2022-07-05 21:14:02 +03:00
armada_crtc.c drm: Remove unnecessary include statements of drm_plane_helper.h 2022-07-26 18:42:04 +02:00
armada_crtc.h
armada_debugfs.c drm/armada: Don't use drm_device->dev_private 2020-09-11 10:47:19 +02:00
armada_drm.h drm/armada: Don't use drm_device->dev_private 2020-09-11 10:47:19 +02:00
armada_drv.c Driver core changes for 5.18-rc1 2022-03-28 12:41:28 -07:00
armada_fb.c
armada_fb.h drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
armada_fbdev.c drm/fb-helper: Perform all fbdev I/O with the same implementation 2022-11-05 17:05:54 +01:00
armada_gem.c drm/armada: Prepare to dynamic dma-buf locking specification 2022-10-18 01:21:41 +03:00
armada_gem.h drm/armada: Introduce GEM object functions 2020-09-25 09:20:13 +02:00
armada_hw.h
armada_ioctlP.h
armada_overlay.c drm/armada: Use drm_plane_helper_destroy() 2022-07-26 18:42:10 +02:00
armada_plane.c drm/plane-helper: Export individual helpers 2022-07-26 18:42:07 +02:00
armada_plane.h drm/armada: Remove prepare/cleanup_fb hooks 2021-06-24 15:35:50 +02:00
armada_trace.c
armada_trace.h
Kconfig
Makefile