RE: [PATCH 03/10] drm/amdgpu:fix NULL pointer access during drv remove

2017-11-14 Thread Liu, Monk
ok -Original Message- From: Christian König [mailto:ckoenig.leichtzumer...@gmail.com] Sent: 2017年11月14日 19:49 To: Liu, Monk ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH 03/10] drm/amdgpu:fix NULL pointer access during drv remove Am 14.11.2017 um 10:07 schrieb Monk Liu: > N

Re: [PATCH 03/10] drm/amdgpu:fix NULL pointer access during drv remove

2017-11-14 Thread Christian König
Am 14.11.2017 um 10:07 schrieb Monk Liu: 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

[PATCH 03/10] drm/amdgpu:fix NULL pointer access during drv remove

2017-11-14 Thread Monk Liu
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