Re: [PATCH 1/2] drm/scheduler: Scheduler priority fixes (v2)

2020-08-17 Thread Luben Tuikov
On 2020-08-17 9:53 a.m., Christian König wrote: > Am 15.08.20 um 04:48 schrieb Luben Tuikov: >> Remove DRM_SCHED_PRIORITY_LOW, as it was used >> in only one place. >> >> Rename and separate by a line >> DRM_SCHED_PRIORITY_MAX to DRM_SCHED_PRIORITY_COUNT >> as it represents a (total) count of said >

Re: [PATCH 1/2] drm/scheduler: Scheduler priority fixes (v2)

2020-08-17 Thread Christian König
Am 15.08.20 um 04:48 schrieb Luben Tuikov: Remove DRM_SCHED_PRIORITY_LOW, as it was used in only one place. Rename and separate by a line DRM_SCHED_PRIORITY_MAX to DRM_SCHED_PRIORITY_COUNT as it represents a (total) count of said priorities and it is used as such in loops throughout the code. (0

[PATCH 1/2] drm/scheduler: Scheduler priority fixes (v2)

2020-08-14 Thread Luben Tuikov
Remove DRM_SCHED_PRIORITY_LOW, as it was used in only one place. Rename and separate by a line DRM_SCHED_PRIORITY_MAX to DRM_SCHED_PRIORITY_COUNT as it represents a (total) count of said priorities and it is used as such in loops throughout the code. (0-based indexing is the the count number.) Re