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-01-27 22:38:44 -05:00
2013-07-30 17:24:12 -04:00
2012-10-02 18:01:07 +01:00
2013-11-08 12:33:36 -05:00
2013-10-09 18:17:10 +10:00
2013-11-08 16:34:39 +10:00
2013-08-30 16:31:04 -04:00
2013-08-30 16:30:11 -04:00
2013-10-09 17:13:47 -04:00
2013-09-23 10:29:51 -04:00
2013-06-27 19:15:44 -04:00
2013-08-30 16:29:57 -04:00
2013-09-23 10:29:53 -04:00
2013-08-30 16:31:06 -04:00
2013-09-11 11:44:28 -04:00
2013-06-25 17:50:28 -04:00
2013-06-25 17:50:28 -04:00
2013-08-30 16:30:09 -04:00
2013-11-01 15:25:52 -04:00
2013-11-08 16:34:39 +10:00
2013-11-01 12:43:16 -04:00
2013-08-30 16:30:08 -04:00
2013-08-30 16:30:08 -04:00
2013-06-27 10:49:18 -04:00
2013-08-30 16:30:08 -04:00
2013-06-27 19:16:31 -04:00
2013-09-15 20:27:52 -04:00
2013-06-27 19:16:19 -04:00
2013-11-08 12:33:35 -05:00
2013-08-30 16:29:57 -04:00
2013-03-07 12:58:59 -05:00
2013-08-30 16:30:42 -04:00
2013-11-08 12:33:35 -05:00
2013-06-27 19:16:26 -04:00
2013-06-27 19:15:22 -04:00
2013-11-08 16:34:39 +10:00
2013-11-08 16:34:39 +10: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-08-30 16:30:45 -04:00
2013-07-03 16:07:43 -07:00
2013-11-01 15:25:52 -04:00
2013-09-23 10:29:52 -04:00
2013-07-08 17:41:11 -04:00
2013-11-08 16:34:39 +10:00
2013-07-14 10:11:28 -04:00
2013-06-27 19:16:10 -04:00
2013-06-26 16:11:34 -04:00
2013-09-11 11:44:37 -04:00
2013-08-30 16:30:11 -04:00
2013-01-31 16:24:45 -05:00
2013-11-06 13:25:20 +10:00
2013-01-31 16:24:46 -05:00
2013-01-31 16:24:45 -05:00
2013-05-13 15:23:34 +10:00
2013-08-20 12:44:51 +02:00
2013-01-31 16:24:46 -05:00
2013-09-11 11:44:29 -04:00
2013-04-22 10:39:09 -04:00
2013-06-03 10:17:54 -04:00
2013-08-30 16:30:45 -04:00
2012-03-24 10:08:39 -07:00
2013-08-30 16:29:57 -04:00
2013-08-30 16:29:57 -04:00
2013-07-23 20:14:24 +10:00
2013-11-06 13:25:20 +10:00
2013-09-02 09:31:40 +10:00
2013-09-23 10:29:50 -04:00
2013-08-30 16:30:27 -04:00
2013-11-08 12:33:35 -05:00
2013-06-27 19:16:30 -04:00
2013-11-08 16:34:39 +10:00
2013-11-08 16:34:39 +10:00
2013-06-27 19:16:23 -04:00
2012-09-20 13:10:36 -04:00
2012-11-20 11:47:32 -05:00
2013-11-01 15:25:52 -04:00
2013-11-01 15:25:52 -04:00
2013-09-20 14:28:15 -04:00
2013-11-01 12:43:14 -04:00
2013-03-15 18:47:18 -04:00
2013-10-09 15:55:33 +10:00
2012-10-02 18:01:07 +01:00
2013-07-22 15:57:14 -04:00
2013-11-08 16:34:39 +10:00
2013-07-23 20:14:24 +10:00
2013-11-08 16:34:39 +10:00
2013-06-26 16:11:38 -04:00
2013-11-01 15:25:51 -04:00
2013-11-06 11:53:42 +10:00
2013-11-08 16:34:39 +10:00
2013-11-01 12:43:14 -04:00
2012-10-03 23:29:23 -07:00
2013-06-25 17:50:22 -04:00
2013-05-28 12:02:13 +02:00
2013-11-06 13:40:59 +10:00
2013-11-01 15:25:54 -04:00
2013-10-09 14:38:02 +10:00
2013-01-03 15:04:38 -05:00
2013-11-01 12:43:14 -04:00
2013-11-01 12:43:14 -04:00
2013-01-31 16:24:47 -05:00
2013-11-01 12:43:14 -04:00
2013-05-20 10:44:57 -04:00
2013-10-22 09:37:40 +01:00
2012-10-02 18:01:07 +01:00
2013-01-31 16:24:47 -05:00
2013-11-06 11:53:42 +10:00
2013-08-19 09:34:47 +10:00
2013-07-25 20:47:07 +10:00
2013-11-08 16:34:39 +10:00
2013-08-19 09:34:47 +10:00
2013-06-26 16:11:38 -04:00
2013-09-20 17:34:52 -04:00
2013-07-14 10:11:31 -04:00
2013-01-15 09:07:13 -05:00
2013-01-31 16:24:47 -05:00
2013-10-09 17:13:47 -04:00
2012-10-02 18:01:07 +01:00
2013-11-01 15:25:52 -04:00
2013-08-27 11:54:58 +10:00
2013-08-30 16:30:29 -04:00
2013-11-08 16:34:39 +10:00
2013-11-08 16:34:39 +10:00
2013-09-11 11:44:29 -04:00
2013-11-01 12:43:13 -04:00
2012-04-24 09:50:13 +01:00
2013-09-11 11:44:29 -04:00
2013-04-09 10:31:31 -04:00
2013-09-15 20:27:51 -04:00
2013-06-27 10:49:25 -04:00
2013-07-17 16:47:52 -04:00
2013-11-01 12:43:16 -04:00
2013-06-27 10:50:08 -04:00
2013-06-27 10:50:08 -04:00
2013-09-11 11:44:29 -04:00
2013-01-31 16:24:46 -05:00
2013-06-27 19:14:59 -04:00
2013-06-27 19:14:59 -04:00
2013-06-27 19:16:12 -04:00
2013-06-27 19:14:59 -04:00
2013-08-30 16:30:42 -04:00
2013-09-15 20:27:52 -04:00
2013-08-07 17:37:10 -04:00
2013-09-11 11:44:28 -04:00
2013-09-11 11:44:28 -04:00
2013-08-30 16:31:15 -04:00
2013-09-15 20:27:51 -04:00
2012-03-24 10:08:39 -07:00
2012-03-21 06:55:54 +00:00
2013-11-01 15:25:52 -04:00
2013-11-08 16:34:39 +10:00
2013-06-27 19:40:05 -04:00
2012-06-20 19:55:56 +01:00
2013-09-11 11:44:28 -04:00
2013-11-08 16:34:39 +10:00
2013-11-08 16:34:39 +10:00
2013-06-27 19:40:05 -04:00
2013-08-30 16:30:29 -04:00
2013-08-30 16:30:28 -04:00
2013-08-30 16:30:28 -04:00
2013-09-15 20:27:52 -04:00
2013-08-30 16:30:10 -04:00
2013-06-27 19:16:22 -04:00
2013-06-27 19:15:48 -04:00
2013-10-09 17:13:50 -04:00
2013-09-11 11:44:39 -04:00
2013-09-11 11:44:37 -04:00
2013-06-27 19:15:48 -04:00
2013-10-18 16:16:16 -04:00
2013-08-30 16:30:42 -04:00
2013-08-30 16:30:42 -04:00
2013-08-30 16:31:12 -04:00