summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Green <andy.green@linaro.org>2011-05-31 09:25:20 +0100
committerAndy Green <andy.green@linaro.org>2011-05-31 11:06:52 +0100
commit08dead68b4d445b81f70de628a3f4172965296de (patch)
tree040c610e5f4bf4dd1f64616ebc571d8a02d671ae
parent68c1479e8e867a8b0aa960ef5aff29efb16d757d (diff)
SGX fix workqueue allocation
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r--drivers/gpu/pvr/omaplfb/omaplfb_displayclass.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/pvr/omaplfb/omaplfb_displayclass.c b/drivers/gpu/pvr/omaplfb/omaplfb_displayclass.c
index c27807648ba..76d5ce26cf0 100644
--- a/drivers/gpu/pvr/omaplfb/omaplfb_displayclass.c
+++ b/drivers/gpu/pvr/omaplfb/omaplfb_displayclass.c
@@ -779,7 +779,8 @@ static PVRSRV_ERROR CreateDCSwapChain(IMG_HANDLE hDevice,
*/
INIT_WORK(&psDevInfo->sync_display_work, OMAPLFBSyncIHandler);
psDevInfo->sync_display_wq =
- __create_workqueue("pvr_display_sync_wq", 1, 1, 1);
+ alloc_ordered_workqueue("pvr_display_sync_wq",
+ WQ_NON_REENTRANT | WQ_FREEZABLE | WQ_HIGHPRI);
DEBUG_PRINTK("Swap chain will have %u buffers for display %u",
(unsigned int)ui32BufferCount, psDevInfo->uDeviceID);