diff options
author | Andy Green <andy.green@linaro.org> | 2011-06-15 22:25:01 +0100 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-06-15 22:25:01 +0100 |
commit | 545ebee18837e4044138ee4c400e33bb8ca58265 (patch) | |
tree | f595bb71b49c5e1fba7ae752e176b0292dd44736 | |
parent | e7483dc3ca2bd21c9e895748a35a0e1db44fc911 (diff) |
sgx displayclass fixes
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r-- | drivers/gpu/pvr/display/omap_sgx_displayclass.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/pvr/display/omap_sgx_displayclass.c b/drivers/gpu/pvr/display/omap_sgx_displayclass.c index e56fd4d6fe1..b5576a7dfb1 100644 --- a/drivers/gpu/pvr/display/omap_sgx_displayclass.c +++ b/drivers/gpu/pvr/display/omap_sgx_displayclass.c @@ -32,6 +32,7 @@ #include <linux/module.h> #include <linux/string.h> #include <linux/notifier.h> +#include <linux/workqueue.h> #if defined(LDM_PLATFORM) #include <linux/platform_device.h> @@ -621,7 +622,7 @@ static PVRSRV_ERROR CreateDCSwapChain(IMG_HANDLE hDevice, */ INIT_WORK(&psDevInfo->sync_display_work, display_sync_handler); psDevInfo->sync_display_wq = - __create_workqueue("pvr_display_sync_wq", 1, 1, 1); + create_workqueue("pvr_display_sync_wq"); DEBUG_PRINTK("Swap chain will have %u buffers for display %lu", (unsigned int)ui32BufferCount, psDevInfo->ulDeviceID); @@ -1615,6 +1616,7 @@ static IMG_VOID __exit omap_sgx_dc_deinit(IMG_VOID) WARNING_PRINTK("Driver cleanup failed"); } +MODULE_LICENSE(GPL); MODULE_SUPPORTED_DEVICE(DEVNAME); late_initcall(omap_sgx_dc_init); module_exit(omap_sgx_dc_deinit); |