drm/amdgpu: remove unsafe context releasing
authorMarek Olšák <marek.olsak@amd.com>
Mon, 4 May 2015 22:56:45 +0000 (00:56 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 4 Jun 2015 01:03:27 +0000 (21:03 -0400)
commitf11358daa93a8ae9fdee5cfe6ef7a0ed0027edee
tree7ae6c7cf6be383628f28effe66698dd4106b4beb
parenta961ea7349d08d5962b6a619f2c2cca670da41ed
drm/amdgpu: remove unsafe context releasing

If ctx was released between put and get, then "get" would crash.

Signed-off-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c