aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMonk Liu <[email protected]>2017-11-14 11:55:50 +0800
committerAlex Deucher <[email protected]>2017-12-06 12:47:50 -0500
commitf59548c8824c8e361120bf87a12fc3a68f17a1ce (patch)
treeebb0f4b2c2f814d45f20c76e5474aa5bb1563660 /tools/perf/scripts/python/export-to-postgresql.py
parentc79ee7d8c6cba8775b842063cf5bcdf101dc1e36 (diff)
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 <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions