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

[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