From: Tejun Heo Date: Mon, 3 Jan 2011 13:49:32 +0000 (+0100) Subject: drm/radeon: use system_wq instead of dev_priv->wq X-Git-Tag: v2.6.38-rc1~419^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32c87fca2fac490e34a9fa900b45f2fbb4faacf9;p=pandora-kernel.git drm/radeon: use system_wq instead of dev_priv->wq With cmwq, there's no reason for radeon to use a dedicated workqueue. Drop dev_priv->wq and use system_wq instead. Because radeon_driver_irq_uninstall_kms() may be called from unsleepable context, the work items can't be flushed from there. Instead, init and flush from radeon_irq_kms_init/fini(). While at it, simplify canceling/flushing of rdev->pm.dynpm_idle_work. Always initialize and sync cancel instead of being unnecessarily smart about it. Signed-off-by: Tejun Heo Acked-by: Alex Deucher Cc: dri-devel@lists.freedesktop.org Signed-off-by: Dave Airlie --- Reading git-diff-tree failed