From: Maarten Lankhorst Date: Mon, 30 Jul 2012 10:03:30 +0000 (+0200) Subject: nouveau: fixup scanout enable in nvc0_pm X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=44b9f44e111c1e4a50bff66a642cc7c5cb59af4e;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git nouveau: fixup scanout enable in nvc0_pm Fixes screen being black after changing performance level. Signed-off-by: Maarten Lankhorst Cc: stable@vger.kernel.org [3.5+] Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nvc0_pm.c b/drivers/gpu/drm/nouveau/nvc0_pm.c index 7c95c44e2887..4e712b10ebdb 100644 --- a/drivers/gpu/drm/nouveau/nvc0_pm.c +++ b/drivers/gpu/drm/nouveau/nvc0_pm.c @@ -557,7 +557,7 @@ prog_mem(struct drm_device *dev, struct nvc0_pm_state *info) nouveau_mem_exec(&exec, info->perflvl); if (dev_priv->chipset < 0xd0) - nv_wr32(dev, 0x611200, 0x00003300); + nv_wr32(dev, 0x611200, 0x00003330); else nv_wr32(dev, 0x62c000, 0x03030300); }