Thomas Zimmermann
2023-Mar-17 12:51 UTC
[PATCH 5/6] drm/fb-helper: Consolidate CONFIG_DRM_FBDEV_LEAK_PHYS_SMEM
Hi Am 17.03.23 um 13:39 schrieb Javier Martinez Canillas:> Thomas Zimmermann <tzimmermann at suse.de> writes: > >> Consolidate all handling of CONFIG_DRM_FBDEV_LEAK_PHYS_SMEM by >> making the module parameter optional in drm_fb_helper.c. >> >> Without the config option, modules can set smem_start in struct >> fb_info for internal usage, but not export if to userspace. The >> address can only be exported by enabling the option and setting >> the module parameter. Also update the comment. >> > > I was going to ask at what point we could just get rid of this Kconfig > symbol since it already depends on EXPERT anyways so most distros will > not enable it. > > But I looked then and noticed that it was added just a few years ago in > commit 4be9bd10e22d "(drm/fb_helper: Allow leaking fbdev smem_start"), > so it seems that people still need that :(I don't even know which userspace drivers need this symbol. Probably something on Android. Best regards Thomas> >> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de> >> --- > > The patch looks good to me. > > Reviewed-by: Javier Martinez Canillas <javierm at redhat.com> >-- Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 N?rnberg, Germany (HRB 36809, AG N?rnberg) Gesch?ftsf?hrer: Ivo Totev -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: <http://lists.linuxfoundation.org/pipermail/virtualization/attachments/20230317/2a4fa672/attachment.sig>
Apparently Analagous Threads
- [PATCH v2 2/6] drm/fb-helper: Map DRM client buffer only when required
- [PATCH v5 08/10] drm/gem: Store client buffer mappings as struct dma_buf_map
- [PATCH v2] drm/nouveau: Remove file nouveau_fbcon.c
- [PATCH] drm/virtio: Enable fb damage clips property for the primary plane
- [PATCH v4 71/80] drm/vmwgfx: Run DRM default client setup