From: Ben Skeggs Date: Sat, 9 Aug 2014 18:10:20 +0000 (+1000) Subject: drm/nouveau/core: rework event interface X-Git-Tag: omap-for-v3.17/fixes-against-rc2~96^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79ca27706a034b683196c85f5c6901b78e5ab8f0;p=pandora-kernel.git drm/nouveau/core: rework event interface This is a lot of prep-work for being able to send event notifications back to userspace. Events now contain data, rather than a "something just happened" signal. Handler data is now embedded into a containing structure, rather than being kmalloc()'d, and can optionally have the notify routine handled in a workqueue. Various races between suspend/unload with display HPD/DP IRQ handlers automagically solved as a result. Signed-off-by: Ben Skeggs --- Reading git-diff-tree failed