diff options
author | Andy Green <andy.green@linaro.org> | 2011-08-25 08:02:34 +0100 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-08-25 08:02:34 +0100 |
commit | 0b0f36fcc9a97a14be37fc5ba811be08b71b2519 (patch) | |
tree | 5c7cab9ff520cd9f97e27173cfad55a6e1be3e16 | |
parent | ee120654086ff9874a6c423d1116699b56670e28 (diff) |
SGX fix workqueue allocation
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r-- | drivers/gpu/pvr/omaplfb/omaplfb_displayclass.c | 3 |
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); |