Monk Liu
f59548c882
drm/amdgpu:fix NULL pointer access during drv remove
...
NULL pointer is because original logic will step into
set_pde_pte() even after the gart.ptr is freed due to
there are twice gart_unbind() on all gart area.
also, there are other minor fixes:
1,since gart_init only create dummy page, the corresponding
gart_fini shouldn't do more like unbinding all GART, this is
unnecessary because in driver fini stage all GART unbinding
had already been done during each IP's SW_FINI (GMC's
SW_FINI is the last one called), so remove the step
for the GART unbinding in gart_fini().
2,gart_fini() is already invoked during each GMC IP's gart_fini
routine,e.g. gmc_vx_0_gart_fini(), so no need to manually
call it during ttm_fini().
3,amdgpu_gem_force_release() should be put ahead of
amdgpu_vm_manager_fini()
Signed-off-by: Monk Liu <Monk.Liu@amd.com >
Reviewed-by: Christian König <christian.koenig@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2017-12-06 12:47:50 -05:00
..
2017-11-14 05:53:39 +10:00
2016-10-25 14:38:45 -04:00
2017-08-15 14:46:08 -04:00
2017-03-29 23:53:24 -04:00
2017-11-26 11:31:32 +02:00
2017-10-06 16:48:00 -04:00
2017-12-04 16:33:12 -05:00
2017-08-15 23:00:17 -04:00
2017-12-04 16:33:12 -05:00
2017-07-14 11:06:05 -04:00
2017-11-01 23:31:12 -04:00
2017-07-14 11:06:38 -04:00
2017-03-29 23:53:24 -04:00
2017-08-15 14:45:58 -04:00
2017-11-09 18:10:42 -05:00
2017-08-15 14:46:16 -04:00
2017-12-04 16:33:19 -05:00
2017-11-21 14:17:56 +01:00
2015-06-03 21:03:15 -04:00
2017-12-06 12:47:21 -05:00
2017-12-04 16:33:12 -05:00
2017-12-06 12:47:50 -05:00
2017-09-26 17:17:10 -04:00
2017-12-04 16:41:29 -05:00
2017-09-18 23:30:34 -04:00
2017-12-04 16:33:18 -05:00
2017-12-06 12:47:18 -05:00
2015-08-17 16:50:21 -04:00
2015-06-03 21:03:15 -04:00
2017-09-26 18:07:30 -04:00
2017-12-04 16:41:30 -05:00
2017-12-06 12:47:50 -05:00
2017-12-06 12:47:50 -05:00
2016-08-19 12:30:58 -04:00
2017-12-06 12:47:49 -05:00
2017-10-19 15:27:19 -04:00
2017-06-07 18:20:59 -04:00
2017-12-04 16:41:33 -05:00
2017-01-27 11:12:39 -05:00
2016-09-27 13:00:52 -04:00
2017-07-14 11:06:10 -04:00
2017-09-26 14:53:20 -04:00
2017-09-26 14:53:20 -04:00
2015-06-03 21:03:15 -04:00
2017-12-04 16:41:30 -05:00
2017-03-29 23:53:37 -04:00
2017-12-04 16:41:30 -05:00
2017-12-06 12:47:18 -05:00
2017-09-28 08:37:02 +10:00
2017-09-12 14:29:37 -04:00
2017-12-04 16:41:40 -05:00
2017-12-06 12:47:49 -05:00
2017-12-04 16:41:32 -05:00
2016-09-14 15:10:37 -04:00
2015-06-03 21:03:15 -04:00
2017-12-04 16:33:18 -05:00
2017-08-15 14:46:06 -04:00
2017-11-28 17:44:13 -05:00
2016-10-25 14:38:45 -04:00
2017-11-14 11:35:43 -05:00
2017-12-04 16:41:31 -05:00
2017-09-26 15:14:06 -04:00
2017-11-28 17:44:14 -05:00
2017-11-08 17:55:14 -05:00
2017-12-04 16:33:08 -05:00
2017-08-15 14:45:58 -04:00
2017-10-19 15:26:48 -04:00
2017-10-09 16:30:24 -04:00
2017-10-09 16:30:19 -04:00
2017-10-09 16:30:19 -04:00
2017-08-15 14:45:58 -04:00
2017-11-15 20:42:10 -08:00
2017-11-15 20:42:10 -08:00
2017-12-06 12:47:50 -05:00
2017-12-04 16:41:43 -05:00
2017-12-04 16:41:31 -05:00
2017-06-15 11:50:22 -04:00
2017-12-04 16:33:12 -05:00
2017-12-06 12:47:22 -05:00
2017-12-04 16:33:12 -05:00
2017-06-01 16:00:22 -04:00
2017-12-04 16:33:12 -05:00
2017-05-24 17:41:41 -04:00
2017-10-20 13:28:44 -04:00
2017-09-28 16:03:20 -04:00
2017-12-06 12:47:23 -05:00
2017-12-04 16:41:45 -05:00
2017-12-06 12:47:21 -05:00
2017-12-06 12:47:21 -05:00
2017-11-16 13:35:48 -05:00
2017-12-06 12:47:50 -05:00
2017-08-29 15:27:54 -04:00
2017-08-29 15:27:54 -04:00
2017-06-20 12:06:49 -04:00
2016-05-04 20:23:53 -04:00
2016-08-08 13:28:39 -04:00
2015-06-03 21:03:15 -04:00
2017-01-27 11:12:39 -05:00
2015-06-03 21:03:15 -04:00
2016-09-14 15:10:37 -04:00
2016-07-14 16:39:35 -04:00
2017-12-04 16:33:14 -05:00
2017-03-29 23:52:52 -04:00
2017-05-16 17:17:41 +02:00
2017-09-18 23:30:35 -04:00
2017-09-28 16:03:30 -04:00
2016-10-25 14:38:45 -04:00
2017-12-04 16:33:12 -05:00
2016-10-25 14:38:45 -04:00
2017-12-06 12:47:21 -05:00
2016-10-25 14:38:45 -04:00
2017-03-29 23:53:21 -04:00
2015-06-03 21:03:17 -04:00
2015-06-03 21:03:12 -04:00
2017-07-27 11:17:45 -04:00
2017-01-27 12:20:41 -05:00
2015-06-03 21:03:17 -04:00
2017-09-28 16:03:30 -04:00
2016-10-25 14:38:45 -04:00
2017-12-04 16:41:40 -05:00
2016-10-25 14:38:45 -04:00
2017-12-04 16:41:40 -05:00
2016-10-25 14:38:45 -04:00
2017-12-06 12:47:21 -05:00
2016-10-25 14:38:45 -04:00
2017-12-06 12:47:21 -05:00
2016-10-25 14:38:45 -04:00
2017-10-12 10:03:04 +10:00
2016-10-25 14:38:45 -04:00
2017-12-06 12:47:47 -05:00
2016-10-25 14:38:45 -04:00
2017-12-06 12:47:47 -05:00
2017-05-31 16:48:48 -04:00
2017-12-06 12:47:46 -05:00
2017-05-31 16:48:48 -04:00
2017-12-06 12:47:21 -05:00
2017-08-15 14:46:13 -04:00
2017-09-26 15:14:22 -04:00
2017-08-15 14:46:00 -04:00
2017-12-06 12:47:50 -05:00
2016-10-25 14:38:45 -04:00
2017-12-06 12:47:50 -05:00
2016-10-25 14:38:45 -04:00
2017-12-06 12:47:50 -05:00
2016-10-25 14:38:45 -04:00
2017-12-06 12:47:50 -05:00
2017-03-29 23:54:44 -04:00
2017-09-28 16:03:30 -04:00
2016-10-25 14:38:45 -04:00
2015-09-02 12:21:35 -04:00
2017-09-26 17:01:32 -04:00
2017-09-28 16:03:31 -04:00
2015-06-03 21:03:17 -04:00
2017-05-16 17:17:41 +02:00
2017-11-17 14:34:42 -08:00
2017-09-26 15:14:22 -04:00
2017-08-15 14:46:00 -04:00
2017-04-28 17:32:57 -04:00
2017-12-04 16:41:32 -05:00
2017-09-26 15:14:12 -04:00
2017-12-06 12:47:21 -05:00
2017-09-26 15:14:12 -04:00
2017-09-29 12:24:39 -04:00
2017-09-29 12:24:39 -04:00
2017-09-29 12:24:39 -04:00
2017-09-29 12:24:39 -04:00
2016-10-25 14:38:06 -04:00
2016-07-15 12:33:31 -04:00
2017-03-29 23:54:48 -04:00
2017-10-25 23:09:38 -04:00
2017-09-26 15:14:06 -04:00
2017-10-25 23:09:38 -04:00
2017-09-26 15:14:06 -04:00
2016-08-31 15:21:09 -04:00
2017-12-06 12:47:21 -05:00
2016-10-25 14:38:45 -04:00
2017-12-06 12:47:21 -05:00
2016-10-25 14:38:45 -04:00
2017-12-06 12:47:21 -05:00
2017-03-29 23:54:45 -04:00
2017-12-04 16:33:12 -05:00
2016-10-25 14:38:45 -04:00
2017-09-28 16:03:31 -04:00
2017-09-18 23:30:35 -04:00
2017-02-08 17:25:02 -05:00
2017-09-26 13:07:04 -04:00
2016-10-25 14:38:45 -04:00
2017-05-16 17:17:41 +02:00
2017-12-06 12:47:21 -05:00
2016-10-25 14:38:45 -04:00
2017-01-27 12:20:41 -05:00
2016-09-28 16:13:17 -04:00
2017-07-14 11:06:10 -04:00
2017-12-06 12:47:21 -05:00
2017-05-24 17:41:17 -04:00
2017-08-18 12:02:11 -04:00
2017-09-28 16:03:30 -04:00
2016-10-25 14:38:45 -04:00
2015-09-02 12:21:35 -04:00
2017-12-06 12:47:22 -05:00
2016-10-25 14:38:45 -04:00
2017-12-06 12:47:22 -05:00
2016-10-25 14:38:45 -04:00
2017-12-06 12:47:22 -05:00
2016-10-25 14:38:45 -04:00
2017-12-06 12:47:22 -05:00
2017-03-29 23:54:47 -04:00
2017-04-04 13:40:33 -04:00
2016-10-25 14:38:45 -04:00
2017-11-01 23:37:16 -04:00
2016-10-25 14:38:45 -04:00
2017-09-26 15:14:03 -04:00
2017-03-29 23:54:47 -04:00
2017-11-28 17:44:13 -05:00
2017-05-24 17:41:27 -04:00
2017-12-04 16:41:43 -05:00
2017-03-29 23:54:46 -04:00
2017-03-29 23:54:30 -04:00
2017-01-27 11:12:43 -05:00
2017-12-06 12:47:21 -05:00
2017-03-29 23:53:31 -04:00
2017-10-06 17:43:56 -04:00