WSL2-Linux-Kernel/drivers/gpu/drm/aspeed
Thomas Zimmermann 820c170717 drm/gem: Move drm_gem_fb_prepare_fb() to GEM atomic helpers
The function drm_gem_fb_prepare_fb() is a helper for atomic modesetting,
but currently located next to framebuffer helpers. Move it to GEM atomic
helpers, rename it slightly and adopt the drivers. Same for the rsp
simple-pipe helper.

Compile-tested with x86-64, aarch64 and arm. The patch is fairly large,
but there are no functional changes.

v3:
	* remove out-comented line in drm_gem_framebuffer_helper.h
	  (Maxime)
v2:
	* rename to drm_gem_plane_helper_prepare_fb() (Daniel)
	* add tutorial-style documentation

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210222141756.7864-1-tzimmermann@suse.de
2021-02-23 08:54:22 +01:00
..
Kconfig drm/aspeed: Fix Kconfig warning & subsequent build errors 2020-10-12 15:14:33 +10:30
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
aspeed_gfx.h drm/aspeed: Use dt matching for default register values 2021-02-10 10:56:16 +10:30
aspeed_gfx_crtc.c drm/gem: Move drm_gem_fb_prepare_fb() to GEM atomic helpers 2021-02-23 08:54:22 +01:00
aspeed_gfx_drv.c drm: use getter/setter functions 2021-02-10 14:10:59 +01:00
aspeed_gfx_out.c drm/aspeed: Use devm_drm_dev_alloc 2020-04-28 16:13:03 +02:00