diff options
author | 2020-10-30 11:48:17 +0800 | |
---|---|---|
committer | 2020-10-30 11:48:17 +0800 | |
commit | 4a95857a875e887cc958c92fe9d2cde6184d2ec0 (patch) | |
tree | 8d67b681d582ba7ee11a359be7af82ed77bd6620 /drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | |
parent | drm/i915/gvt: Only pin/unpin intel_context along with workload (diff) | |
parent | drm/i915: Reject 90/270 degree rotated initial fbs (diff) | |
download | wireguard-linux-4a95857a875e887cc958c92fe9d2cde6184d2ec0.tar.xz wireguard-linux-4a95857a875e887cc958c92fe9d2cde6184d2ec0.zip |
Merge tag 'drm-intel-fixes-2020-10-29' into gvt-fixes
Backmerge for 5.10-rc1 to apply one extra APL fix.
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_job.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_job.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_job.c index 937029ad5271..dcfe8a3b03ff 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_job.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_job.c @@ -251,7 +251,7 @@ void amdgpu_job_stop_all_jobs_on_sched(struct drm_gpu_scheduler *sched) int i; /* Signal all jobs not yet scheduled */ - for (i = DRM_SCHED_PRIORITY_MAX - 1; i >= DRM_SCHED_PRIORITY_MIN; i--) { + for (i = DRM_SCHED_PRIORITY_COUNT - 1; i >= DRM_SCHED_PRIORITY_MIN; i--) { struct drm_sched_rq *rq = &sched->sched_rq[i]; if (!rq) |