summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/xve_gp106.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/xve_gp106.c')
-rw-r--r--drivers/gpu/nvgpu/gp106/xve_gp106.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gp106/xve_gp106.c b/drivers/gpu/nvgpu/gp106/xve_gp106.c
index e4582e15..a5834174 100644
--- a/drivers/gpu/nvgpu/gp106/xve_gp106.c
+++ b/drivers/gpu/nvgpu/gp106/xve_gp106.c
@@ -14,7 +14,6 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16 16
17#include <linux/delay.h>
18#include <linux/debugfs.h> 17#include <linux/debugfs.h>
19#include <linux/uaccess.h> 18#include <linux/uaccess.h>
20 19
@@ -92,7 +91,7 @@ static void xve_reset_gpu_gp106(struct gk20a *g)
92 /* 91 /*
93 * Don't access GPU until _after_ it's back out of reset! 92 * Don't access GPU until _after_ it's back out of reset!
94 */ 93 */
95 msleep(100); 94 nvgpu_msleep(100);
96 g->ops.xve.xve_writel(g, xve_reset_r(), 0); 95 g->ops.xve.xve_writel(g, xve_reset_r(), 0);
97} 96}
98 97
@@ -530,7 +529,7 @@ static ssize_t xve_link_speed_write(struct file *filp,
530 return -EINVAL; 529 return -EINVAL;
531 530
532 /* Brief pause... To help rate limit this. */ 531 /* Brief pause... To help rate limit this. */
533 msleep(250); 532 nvgpu_msleep(250);
534 533
535 /* 534 /*
536 * And actually set the speed. Yay. 535 * And actually set the speed. Yay.