[PATCH 2/2] drm/scheduler: Remove priority macro INVALID (v2)

2020-08-14 Thread Luben Tuikov
Remove DRM_SCHED_PRIORITY_INVALID. We no longer carry around an invalid priority and cut it off at the source. Backwards compatibility behaviour of AMDGPU CTX IOCTL passing in garbage for context priority from user space and then mapping that to DRM_SCHED_PRIORITY_NORMAL is preserved. v2: Revert

Re: [PATCH 2/2] drm/scheduler: Remove priority macro INVALID

2020-08-14 Thread Luben Tuikov
On 2020-08-14 3:28 p.m., Alex Deucher wrote: > + dri-devel > > > On Fri, Aug 14, 2020 at 3:14 PM Luben Tuikov wrote: >> >> Remove DRM_SCHED_PRIORITY_INVALID. We no longer >> carry around an invalid priority and cut it off >> at the source. >> >> Backwards compatibility behaviour of AMDGPU CTX >>

Re: [PATCH 2/2] drm/scheduler: Remove priority macro INVALID

2020-08-14 Thread Alex Deucher
+ dri-devel On Fri, Aug 14, 2020 at 3:14 PM Luben Tuikov wrote: > > Remove DRM_SCHED_PRIORITY_INVALID. We no longer > carry around an invalid priority and cut it off > at the source. > > Backwards compatibility behaviour of AMDGPU CTX > IOCTL passing in garbage for context priority > from user s