drm/scheduler: fix setting the priorty for entities (v2)
authorChristian König <christian.koenig@amd.com>
Wed, 1 Aug 2018 14:22:39 +0000 (16:22 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:10:00 +0000 (11:10 -0500)
commit7febe4bfd5d477eba17f70d4879cb81e9787118e
tree7c07b3718b09b1eabfe07b116147e3bb201b57c5
parentbf9b1d9dc7e99bb1395deb0ed0df3999ea527de3
drm/scheduler: fix setting the priorty for entities (v2)

Since we now deal with multiple rq we need to update all of them, not
just the current one.

v2: Trivial: Removed unused variable (Alex)

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Nayan Deshmukh <nayan26deshmukh@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
drivers/gpu/drm/scheduler/gpu_scheduler.c
include/drm/gpu_scheduler.h