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 687147ed..b23a1406 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c
@@ -543,7 +543,7 @@ static ssize_t force_idle_store(struct device *device,
543 if (g->forced_idle) 543 if (g->forced_idle)
544 return count; /* do nothing */ 544 return count; /* do nothing */
545 else { 545 else {
546 err = gk20a_do_idle(); 546 err = __gk20a_do_idle(ndev);
547 if (!err) { 547 if (!err) {
548 g->forced_idle = 1; 548 g->forced_idle = 1;
549 dev_info(device, "gpu is idle : %d\n", 549 dev_info(device, "gpu is idle : %d\n",
@@ -554,7 +554,7 @@ static ssize_t force_idle_store(struct device *device,
554 if (!g->forced_idle) 554 if (!g->forced_idle)
555 return count; /* do nothing */ 555 return count; /* do nothing */
556 else { 556 else {
557 err = gk20a_do_unidle(); 557 err = __gk20a_do_unidle(ndev);
558 if (!err) { 558 if (!err) {
559 g->forced_idle = 0; 559 g->forced_idle = 0;
560 dev_info(device, "gpu is idle : %d\n", 560 dev_info(device, "gpu is idle : %d\n",