drm/fb-helper: Set flag in struct drm_fb_helper for leaking physical addresses
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 3 Nov 2022 15:14:43 +0000 (16:14 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Sat, 5 Nov 2022 16:11:33 +0000 (17:11 +0100)
commite7c5c29a9eb1c992c838ba43256fc2c55d930750
tree64be75f6fa1469966ef3bc94ce60b988e036ee48
parent7ce19535e9b49dd4c24c513ae857d0a8e08aca57
drm/fb-helper: Set flag in struct drm_fb_helper for leaking physical addresses

Uncouple the parameter drm_leak_fbdev_smem from the implementation by
setting a flag in struct drm_fb_helper. This will help to move the
generic fbdev emulation into its own source file, while keeping the
parameter in drm_fb_helper.c. No functional 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-21-tzimmermann@suse.de
drivers/gpu/drm/drm_fb_helper.c
include/drm/drm_fb_helper.h