summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c b/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c
index 7baadf2e..a70ce4b2 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c
@@ -3,7 +3,7 @@
3 * 3 *
4 * GK20A Graphics 4 * GK20A Graphics
5 * 5 *
6 * Copyright (c) 2011-2014, NVIDIA CORPORATION. All rights reserved. 6 * Copyright (c) 2011-2015, NVIDIA CORPORATION. All rights reserved.
7 * 7 *
8 * This program is free software; you can redistribute it and/or modify it 8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms and conditions of the GNU General Public License, 9 * under the terms and conditions of the GNU General Public License,
@@ -562,7 +562,7 @@ static ssize_t force_idle_store(struct device *device,
562 if (g->forced_idle) 562 if (g->forced_idle)
563 return count; /* do nothing */ 563 return count; /* do nothing */
564 else { 564 else {
565 err = __gk20a_do_idle(ndev); 565 err = __gk20a_do_idle(ndev, false);
566 if (!err) { 566 if (!err) {
567 g->forced_idle = 1; 567 g->forced_idle = 1;
568 dev_info(device, "gpu is idle : %d\n", 568 dev_info(device, "gpu is idle : %d\n",