aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_fbdev.c
diff options
context:
space:
mode:
authorGuido Martínez <[email protected]>2014-06-17 14:17:07 +0000
committerDave Airlie <[email protected]>2014-07-08 01:25:14 +0000
commit3a49012224ca9016658a831a327ff6a7fe5bb4f9 (patch)
treea24003094dfdefbe32b12c20087d8c64b7603100 /drivers/gpu/drm/omapdrm/omap_fbdev.c
parentdrm/tilcdc: tfp410: fix dangling sysfs connector node (diff)
downloadkernel-3a49012224ca9016658a831a327ff6a7fe5bb4f9.tar.gz
kernel-3a49012224ca9016658a831a327ff6a7fe5bb4f9.zip
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: Guido Martínez <[email protected]> Tested-by: Darren Etheridge <[email protected]> Cc: <[email protected]> #v3.9+ Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.c')
0 files changed, 0 insertions, 0 deletions