Skip to content
Commit 3a490122 authored by Guido Martínez's avatar Guido Martínez Committed by Dave Airlie
Browse files

drm/tilcdc: panel: fix leak when unloading the module



The driver did not unregister the allocated framebuffer, which caused
memory leaks (and memory manager WARNs) when unloading. Also, the
framebuffer device under /dev still existed after unloading.

Add a call to drm_fbdev_cma_fini when unloading the module to prevent
both issues.

Signed-off-by: default avatarGuido Martínez <guido@vanguardiasur.com.ar>
Tested-by: default avatarDarren Etheridge <detheridge@ti.com>
Cc: <stable@vger.kernel.org> #v3.9+
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 16dcbdef
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment