diff options
author | Vince Hsu <vinceh@nvidia.com> | 2014-12-22 17:11:37 +0800 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2015-01-10 23:57:07 +1000 |
commit | 870538ee246836647e3b0a09fc2175d41319ac52 (patch) | |
tree | e62562a7a9729daf0299c2ea5c97b2146fd7ddb6 /nvkm/subdev/mxm | |
parent | 4f43b86b4e5a393d154d358d423614acd7850770 (diff) | |
download | nouveau-870538ee246836647e3b0a09fc2175d41319ac52.tar.gz |
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 <vinceh@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'nvkm/subdev/mxm')
0 files changed, 0 insertions, 0 deletions