From: Vince Hsu Date: Mon, 22 Dec 2014 09:11:37 +0000 (+0800) Subject: drm/nouveau/clk: allow non-blocking for nouveau_clock_astate() X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~75^2~34^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8a8546194d7794c309d2d8114f457f4f921afad;p=pandora-kernel.git drm/nouveau/clk: allow non-blocking for nouveau_clock_astate() There might be some callers of nouveau_clock_astate(), and they are from inetrrupt context. So we must ensure that this function can be atomic in that condition. This patch adds one parameter which is subsequently passed to nouveau_pstate_calc(). Therefore we can choose whether we want to wait for the pstate work's completion or not. Signed-off-by: Vince Hsu Signed-off-by: Ben Skeggs --- Reading git-diff-tree failed