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>
此提交包含在:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
新增問題並參考
封鎖使用者