summaryrefslogtreecommitdiff
path: root/nvkm/subdev/pwr/memx.c
diff options
context:
space:
mode:
Diffstat (limited to 'nvkm/subdev/pwr/memx.c')
-rw-r--r--nvkm/subdev/pwr/memx.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/nvkm/subdev/pwr/memx.c b/nvkm/subdev/pwr/memx.c
index 8edd41142..ea57491ab 100644
--- a/nvkm/subdev/pwr/memx.c
+++ b/nvkm/subdev/pwr/memx.c
@@ -151,21 +151,21 @@ nouveau_memx_wait_vblank(struct nouveau_memx *memx)
}
void
-nouveau_memx_fb_disable(struct nouveau_memx *memx)
+nouveau_memx_block(struct nouveau_memx *memx)
{
struct nouveau_pwr *ppwr = memx->ppwr;
- nv_debug(memx->ppwr, " FB OFF\n");
- nv_wr32(ppwr, 0x10a1c4, MEMX_FB_OFF);
+ nv_debug(memx->ppwr, " HOST BLOCKED\n");
+ nv_wr32(ppwr, 0x10a1c4, MEMX_ENTER);
}
void
-nouveau_memx_fb_enable(struct nouveau_memx *memx)
+nouveau_memx_unblock(struct nouveau_memx *memx)
{
struct nouveau_pwr *ppwr = memx->ppwr;
- nv_debug(memx->ppwr, " FB ON\n");
- nv_wr32(ppwr, 0x10a1c4, MEMX_FB_ON);
+ nv_debug(memx->ppwr, " HOST UNBLOCKED\n");
+ nv_wr32(ppwr, 0x10a1c4, MEMX_LEAVE);
}
#endif