Files
linux/drivers/gpu/drm/radeon
Ilija Hadzic 75b871e2d8 drm/radeon/kms: unpin fb in atombios crtc disable
When drm_helper_disable_unused_functions calls disable
function of the CRTC, it also sets the crtc->fb pointer
to NULL. This can later (when the mode on that CRTC is setup
again from user space) cause ***_do_set_base functions to
"think" that there is no old buffer and skip the unpinning
code. Consequently, the buffer that has been NULL-ified in
drm_helper_disable_unused_functions will never be unpinned
causing a leak in VRAM.

This patch plugs the leak by unpinning the frame buffer
in crtc_disable function.

Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2013-11-08 12:33:36 -05:00
..
2013-08-30 16:30:11 -04:00
2013-08-30 16:30:42 -04:00
2013-01-31 16:24:47 -05:00
2013-10-23 16:25:18 -04:00
2013-09-11 11:44:38 -04:00
2013-09-11 11:44:38 -04:00
2013-09-11 11:44:37 -04:00
2013-08-30 16:30:11 -04:00
2013-08-20 12:44:51 +02:00
2013-05-28 12:02:13 +02:00
2013-08-30 16:30:42 -04:00
2013-09-15 20:27:51 -04:00
2013-08-30 16:30:42 -04:00
2013-08-30 16:30:42 -04:00