diff options
author | Chunming Zhou <David1.Zhou@amd.com> | 2015-11-05 02:23:09 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-12-02 15:54:33 -0500 |
commit | d033a6de80054139b4358db12cf6bb8d6cf58853 (patch) | |
tree | 10a1d10028b74702abea494cb5e029747696dbd5 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | ccba7691a580a0967f60a512473ce699b9edac0d (diff) |
drm/amd: abstract kernel rq and normal rq to priority of run queue
Allows us to set priorities in the scheduler.
Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 1799973e7744..5f975030bb72 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -1044,7 +1044,7 @@ struct amdgpu_ctx_mgr { | |||
1044 | struct idr ctx_handles; | 1044 | struct idr ctx_handles; |
1045 | }; | 1045 | }; |
1046 | 1046 | ||
1047 | int amdgpu_ctx_init(struct amdgpu_device *adev, bool kernel, | 1047 | int amdgpu_ctx_init(struct amdgpu_device *adev, enum amd_sched_priority pri, |
1048 | struct amdgpu_ctx *ctx); | 1048 | struct amdgpu_ctx *ctx); |
1049 | void amdgpu_ctx_fini(struct amdgpu_ctx *ctx); | 1049 | void amdgpu_ctx_fini(struct amdgpu_ctx *ctx); |
1050 | 1050 | ||