From: Ben Skeggs Date: Mon, 1 Sep 2014 00:48:39 +0000 (+1000) Subject: drm/gk104/fb/ram: more random magic in fb init X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a6a4df96104f8db36e2365aabbfeb94653227cac;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drm/gk104/fb/ram: more random magic in fb init Signed-off-by: Ben Skeggs --- 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: