drm/scheduler: modify args of drm_sched_entity_init

replace run queue by a list of run queues and remove the
sched arg as that is part of run queue itself

Signed-off-by: Nayan Deshmukh <nayan26deshmukh@gmail.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Acked-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
此提交包含在:
Nayan Deshmukh
2018-07-13 15:21:14 +05:30
提交者 Alex Deucher
父節點 8dc9fbbf27
當前提交 aa16b6c6b4
共有 11 個檔案被更改,包括 33 行新增33 行删除

查看文件

@@ -49,12 +49,12 @@ static int etnaviv_open(struct drm_device *dev, struct drm_file *file)
for (i = 0; i < ETNA_MAX_PIPES; i++) {
struct etnaviv_gpu *gpu = priv->gpu[i];
struct drm_sched_rq *rq;
if (gpu) {
drm_sched_entity_init(&gpu->sched,
&ctx->sched_entity[i],
&gpu->sched.sched_rq[DRM_SCHED_PRIORITY_NORMAL],
NULL);
rq = &gpu->sched.sched_rq[DRM_SCHED_PRIORITY_NORMAL];
drm_sched_entity_init(&ctx->sched_entity[i],
&rq, 1, NULL);
}
}