diff options
author | Tejun Heo <tj@kernel.org> | 2010-07-20 16:09:02 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2010-07-22 17:18:20 -0400 |
commit | 991ea75cb1df7188d209274b3d51c105b4f18ffe (patch) | |
tree | 3798ac7d956cfdbb9f77497597d3a9c24cc6e6e5 /include/drm | |
parent | 9b646972467fb5fdc677f9e4251875db20bdbb64 (diff) |
drm: use workqueue instead of slow-work
Workqueue can now handle high concurrency. Convert drm_crtc_helper to
use system_nrt_wq instead of slow-work. The conversion is mostly
straight forward. One difference is that drm_helper_hpd_irq_event()
no longer blocks and can be called from any context.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: David Airlie <airlied@linux.ie>
Cc: dri-devel@lists.freedesktop.org
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_crtc.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index 93a1a31b9c2d..c707270bff5a 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h | |||
@@ -31,7 +31,6 @@ | |||
31 | #include <linux/idr.h> | 31 | #include <linux/idr.h> |
32 | 32 | ||
33 | #include <linux/fb.h> | 33 | #include <linux/fb.h> |
34 | #include <linux/slow-work.h> | ||
35 | 34 | ||
36 | struct drm_device; | 35 | struct drm_device; |
37 | struct drm_mode_set; | 36 | struct drm_mode_set; |
@@ -595,7 +594,7 @@ struct drm_mode_config { | |||
595 | 594 | ||
596 | /* output poll support */ | 595 | /* output poll support */ |
597 | bool poll_enabled; | 596 | bool poll_enabled; |
598 | struct delayed_slow_work output_poll_slow_work; | 597 | struct delayed_work output_poll_work; |
599 | 598 | ||
600 | /* pointers to standard properties */ | 599 | /* pointers to standard properties */ |
601 | struct list_head property_blob_list; | 600 | struct list_head property_blob_list; |