From a6a4df96104f8db36e2365aabbfeb94653227cac Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Mon, 1 Sep 2014 10:48:39 +1000 Subject: [PATCH] drm/gk104/fb/ram: more random magic in fb init Signed-off-by: Ben Skeggs --- drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c b/drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c index caae9efc0084..e4fd0ba81275 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c +++ b/drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c @@ -1187,6 +1187,8 @@ nve0_ram_init(struct nouveau_object *object) } nv_mask(pfb, 0x10f65c, 0x000000f0, save); nv_mask(pfb, 0x10f584, 0x11000000, 0x00000000); + nv_wr32(pfb, 0x10ecc0, 0xffffffff); + nv_mask(pfb, 0x10f160, 0x00000010, 0x00000010); switch (ram->base.type) { case NV_MEM_TYPE_GDDR5: