]> Git Repo - J-linux.git/blobdiff - drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
Merge tag 'topic/nouveau-i915-dp-helpers-and-cleanup-2020-08-31-1' of git://anongit...
[J-linux.git] / drivers / gpu / drm / amd / amdgpu / amdgpu_job.c
index 937029ad5271ab6a89ef60014f71e6b88b9755c8..dcfe8a3b03ffb9efdbeeba5a560bbc37cd777320 100644 (file)
@@ -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)
This page took 0.029403 seconds and 4 git commands to generate.