diff options
| author | Christian König <[email protected]> | 2015-08-20 15:35:34 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2015-08-25 14:48:27 +0000 |
| commit | 3a185a33a2d291883bd1d0691d22901c345b12c9 (patch) | |
| tree | 92a69d2753e4f5e8d6f9bb1252a63c5db83a069e /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | |
| parent | drm/amdgpu: remove unused parameters to amd_sched_create (diff) | |
| download | kernel-3a185a33a2d291883bd1d0691d22901c345b12c9.tar.gz kernel-3a185a33a2d291883bd1d0691d22901c345b12c9.zip | |
drm/amdgpu: remove the context from amdgpu_job
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Chunming Zhou <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c index f024effa60f9..20cbc4eb5a6f 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c @@ -219,13 +219,6 @@ struct amdgpu_ctx *amdgpu_ctx_get(struct amdgpu_fpriv *fpriv, uint32_t id) return ctx; } -struct amdgpu_ctx *amdgpu_ctx_get_ref(struct amdgpu_ctx *ctx) -{ - if (ctx) - kref_get(&ctx->refcount); - return ctx; -} - int amdgpu_ctx_put(struct amdgpu_ctx *ctx) { if (ctx == NULL) |
