diff options
author | Christian König <christian.koenig@amd.com> | 2016-02-11 03:56:44 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-02-12 15:41:58 -0500 |
commit | 20874179a22310c2224f43fc5676b7d87ad47e70 (patch) | |
tree | 86a4b3a7188c00dd7975f02431da62f53e974d12 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | c594989cc0db05a07a852e1da6f5387d8265a64a (diff) |
drm/amdgpu: nuke the kernel context
Not used any more.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 4654beac7e70..37ac1b2bbadc 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -1017,10 +1017,6 @@ struct amdgpu_ctx_mgr { | |||
1017 | struct idr ctx_handles; | 1017 | struct idr ctx_handles; |
1018 | }; | 1018 | }; |
1019 | 1019 | ||
1020 | int amdgpu_ctx_init(struct amdgpu_device *adev, enum amd_sched_priority pri, | ||
1021 | struct amdgpu_ctx *ctx); | ||
1022 | void amdgpu_ctx_fini(struct amdgpu_ctx *ctx); | ||
1023 | |||
1024 | struct amdgpu_ctx *amdgpu_ctx_get(struct amdgpu_fpriv *fpriv, uint32_t id); | 1020 | struct amdgpu_ctx *amdgpu_ctx_get(struct amdgpu_fpriv *fpriv, uint32_t id); |
1025 | int amdgpu_ctx_put(struct amdgpu_ctx *ctx); | 1021 | int amdgpu_ctx_put(struct amdgpu_ctx *ctx); |
1026 | 1022 | ||
@@ -2086,9 +2082,6 @@ struct amdgpu_device { | |||
2086 | /* amdkfd interface */ | 2082 | /* amdkfd interface */ |
2087 | struct kfd_dev *kfd; | 2083 | struct kfd_dev *kfd; |
2088 | 2084 | ||
2089 | /* kernel conext for IB submission */ | ||
2090 | struct amdgpu_ctx kernel_ctx; | ||
2091 | |||
2092 | struct amdgpu_virtualization virtualization; | 2085 | struct amdgpu_virtualization virtualization; |
2093 | }; | 2086 | }; |
2094 | 2087 | ||