aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nva3_pm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/nouveau/nva3_pm.c')
-rw-r--r--drivers/gpu/drm/nouveau/nva3_pm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nva3_pm.c b/drivers/gpu/drm/nouveau/nva3_pm.c
index d51e8f86b4d5..798829353fb6 100644
--- a/drivers/gpu/drm/nouveau/nva3_pm.c
+++ b/drivers/gpu/drm/nouveau/nva3_pm.c
@@ -344,6 +344,7 @@ mclk_refresh_self(struct nouveau_mem_exec_func *exec, bool enable)
344static void 344static void
345mclk_wait(struct nouveau_mem_exec_func *exec, u32 nsec) 345mclk_wait(struct nouveau_mem_exec_func *exec, u32 nsec)
346{ 346{
347 volatile u32 post = nv_rd32(exec->dev, 0); (void)post;
347 udelay((nsec + 500) / 1000); 348 udelay((nsec + 500) / 1000);
348} 349}
349 350