]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix pplib finish bug
authorMonk Liu <Monk.Liu@amd.com>
Thu, 19 May 2016 06:36:34 +0000 (14:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Jun 2016 14:48:56 +0000 (10:48 -0400)
commit9ebdc6fe864a2fde48c2892467ae217c9901792e
tree2c8c17e33d2f511e026f29ea684b587afa204249
parent29b6ce1316b88c94785cd7c58ee0cb835468ee2a
drm/amdgpu: fix pplib finish bug

1,should use late_fini to kfree all resource otherwise
the released pointer maybe accessed in IRQ ip fini routine.

2,hwmgr should not be kfree by pem_fini which is invoked
by hw fini path.

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
drivers/gpu/drm/amd/powerplay/eventmgr/eventmgr.c