Re: [PATCH 3/3] drm: Add a client-cap to set scheduling mode

2020-09-21 Thread Hillf Danton
On Sat, 19 Sep 2020 12:37:26 -0700 Rob Clark wrote: > +/** > + * drm_crtc_set_sched_mode: > + * @dev: DRM device > + * @mode: one of DRM_CLIENT_CAP_SCHED_x > + * > + * Set the scheduling mode for per-CRTC kthread workers. This controls > + * whether nonblocking atomic commits will run with SCHED

[PATCH 3/3] drm: Add a client-cap to set scheduling mode

2020-09-19 Thread Rob Clark
From: Rob Clark Add DRM_CLIENT_CAP_SCHED_MODE so that userspace can control the scheduling mode for nonblocking atomic commits. Userspace such as android, which treats the display pipeline as realtime (SCHED_FIFO) should set DRM_CLIENT_CAP_SCHED_FIFO to prevent userspace components of the displa