[Intel-gfx] [PATCH] drm/fb-helper: Automatically clean up fb_info

Emil Velikov emil.l.velikov at gmail.com
Tue Feb 7 14:38:16 UTC 2017


On 7 February 2017 at 14:29, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> Noticed that everyone duplicates the same logic here and we could safe
> a few lines per driver. Yay for lots of drivers to make such tiny
> refactors worth-while!
>
> v2: Forgot to git add everything :(
>
Hmm afaict this patch inlines drm_fb_helper_release_fbi within
drm_fb_helper_fini yet it is missing:
 - removal of the (now unused ?) drm_fb_helper_release_fbi
 - the leaks which now occur in the error paths.

-Emil


More information about the Intel-gfx mailing list