mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/2] drm: rework flip-work framework
@ 2014-07-12 14:06 Boris BREZILLON
  2014-07-12 14:06 ` [PATCH v3 1/2] drm: rework flip-work helpers to avoid calling func when the FIFO is full Boris BREZILLON
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Boris BREZILLON @ 2014-07-12 14:06 UTC (permalink / raw)
  To: Rob Clark; +Cc: David Airlie, dri-devel, linux-kernel, Boris BREZILLON

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-08-12 11:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-12 14:06 [PATCH v3 0/2] drm: rework flip-work framework Boris BREZILLON
2014-07-12 14:06 ` [PATCH v3 1/2] drm: rework flip-work helpers to avoid calling func when the FIFO is full Boris BREZILLON
2014-07-12 14:06 ` [PATCH v3 2/2] drm: flip-work: change drm_flip_work_init prototype Boris BREZILLON
2014-08-12 11:14 ` [PATCH v3 0/2] drm: rework flip-work framework Boris BREZILLON
2014-08-12 11:20   ` Rob Clark
2014-08-12 11:30     ` Boris BREZILLON

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®