summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2022-11-03 18:14:43 +0300
committerThomas Zimmermann <tzimmermann@suse.de>2022-11-05 19:11:33 +0300
commite7c5c29a9eb1c992c838ba43256fc2c55d930750 (patch)
tree64be75f6fa1469966ef3bc94ce60b988e036ee48 /include
parent7ce19535e9b49dd4c24c513ae857d0a8e08aca57 (diff)
downloadlinux-e7c5c29a9eb1c992c838ba43256fc2c55d930750.tar.xz
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
Diffstat (limited to 'include')
-rw-r--r--include/drm/drm_fb_helper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/drm_fb_helper.h b/include/drm/drm_fb_helper.h
index 6581183618b8..3dfb5d109387 100644
--- a/include/drm/drm_fb_helper.h
+++ b/include/drm/drm_fb_helper.h
@@ -199,6 +199,8 @@ struct drm_fb_helper {
* See also: @deferred_setup
*/
int preferred_bpp;
+
+ bool hint_leak_smem_start;
};
static inline struct drm_fb_helper *