OSDN Git Service

drm/radeon: Move fbdev object helpers before struct fb_ops et al
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 16 Mar 2023 09:37:33 +0000 (10:37 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 31 Mar 2023 15:18:42 +0000 (11:18 -0400)
commitb4bbe4761ee2d4127eb751737dcbf47a310a9f86
tree074e923409ca1e15bf0327c1199c5b43417cf505
parent11b6005865e47c4cba862678936628175acfa16e
drm/radeon: Move fbdev object helpers before struct fb_ops et al

Move the helpers for creating and destroying fbdev GEM objects
to the top of the source file. Makes them available to fb_ops
functions. This will allow to implement framebuffer cleanup in
fb_destroy. No functional changes.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_fb.c