[PATCH v3 0/2] drm: rework flip-work framework
Hi Rob, On Tue, 12 Aug 2014 07:20:09 -0400 Rob Clark wrote: > On Tue, Aug 12, 2014 at 7:14 AM, Boris BREZILLON > wrote: > > Hi, > > > > On Sat, 12 Jul 2014 16:06:06 +0200 > > Boris BREZILLON wrote: > > > >> Hello, > >> > >> This patch series reworks the flip-work framework to make it safe when > >> calling drm_flip_work_queue from atomic contexts. > >> > >> The 2nd patch of this series is optional, as it only reworks > >> drm_flip_work_init prototype to remove unneeded size argument and > >> return code (this function cannot fail anymore). > > > > > > Atmel HLCDC driver now depends on this series and I'd like to get as > > much thing as possible for HLCDC support in 3.18 (if the driver can't > > make it for 3.18, at least the dependencies could). > > > > David, Rob (and other DRM/KMS developers) do you have any concern you > > would like addressed in this patch series ? > > it already has my r-b :-) Yes, I know, I was just checking that you were still okay with this series ;-). -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
[PATCH v3 0/2] drm: rework flip-work framework
Hi, On Sat, 12 Jul 2014 16:06:06 +0200 Boris BREZILLON wrote: > Hello, > > This patch series reworks the flip-work framework to make it safe when > calling drm_flip_work_queue from atomic contexts. > > The 2nd patch of this series is optional, as it only reworks > drm_flip_work_init prototype to remove unneeded size argument and > return code (this function cannot fail anymore). Atmel HLCDC driver now depends on this series and I'd like to get as much thing as possible for HLCDC support in 3.18 (if the driver can't make it for 3.18, at least the dependencies could). David, Rob (and other DRM/KMS developers) do you have any concern you would like addressed in this patch series ? Best Regards, Boris -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
[PATCH v3 0/2] drm: rework flip-work framework
On Tue, Aug 12, 2014 at 7:14 AM, Boris BREZILLON wrote: > Hi, > > On Sat, 12 Jul 2014 16:06:06 +0200 > Boris BREZILLON wrote: > >> Hello, >> >> This patch series reworks the flip-work framework to make it safe when >> calling drm_flip_work_queue from atomic contexts. >> >> The 2nd patch of this series is optional, as it only reworks >> drm_flip_work_init prototype to remove unneeded size argument and >> return code (this function cannot fail anymore). > > > Atmel HLCDC driver now depends on this series and I'd like to get as > much thing as possible for HLCDC support in 3.18 (if the driver can't > make it for 3.18, at least the dependencies could). > > David, Rob (and other DRM/KMS developers) do you have any concern you > would like addressed in this patch series ? it already has my r-b :-) BR, -R > Best Regards, > > Boris > > > -- > Boris Brezillon, Free Electrons > Embedded Linux and Kernel engineering > http://free-electrons.com
[PATCH v3 0/2] drm: rework flip-work framework
Hello, This patch series reworks the flip-work framework to make it safe when calling drm_flip_work_queue from atomic contexts. The 2nd patch of this series is optional, as it only reworks drm_flip_work_init prototype to remove unneeded size argument and return code (this function cannot fail anymore). Best Regards, Boris Changes since v2: - add missing spin_lock_init - fix flip utils description Changes since v1: - add gfp flags argument to drm_flip_work_allocate_task function - make drm_flip_work_queue safe when called from atomic context Boris BREZILLON (2): drm: rework flip-work helpers to avoid calling func when the FIFO is full drm: flip-work: change drm_flip_work_init prototype drivers/gpu/drm/drm_flip_work.c | 105 ++- drivers/gpu/drm/msm/mdp/mdp4/mdp4_crtc.c | 19 ++ drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c | 16 + drivers/gpu/drm/omapdrm/omap_plane.c | 14 + drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 6 +- include/drm/drm_flip_work.h | 33 +++--- 6 files changed, 108 insertions(+), 85 deletions(-) -- 1.8.3.2