From: Ben Skeggs Date: Thu, 31 Jan 2013 22:43:55 +0000 (-0500) Subject: drm/nouveau/fifo/nvc0: bash some magic reg to make uevent interrupt work X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a2fa297378c54e9b8b8ad355e34c9fbed730250b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drm/nouveau/fifo/nvc0: bash some magic reg to make uevent interrupt work Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/core/engine/fifo/nvc0.c b/drivers/gpu/drm/nouveau/core/engine/fifo/nvc0.c index bf86f40b8a83..4f226afb5591 100644 --- a/drivers/gpu/drm/nouveau/core/engine/fifo/nvc0.c +++ b/drivers/gpu/drm/nouveau/core/engine/fifo/nvc0.c @@ -706,6 +706,7 @@ nvc0_fifo_init(struct nouveau_object *object) nv_wr32(priv, 0x002a00, 0xffffffff); /* clears PFIFO.INTR bit 30 */ nv_wr32(priv, 0x002100, 0xffffffff); nv_wr32(priv, 0x002140, 0x3fffffff); + nv_wr32(priv, 0x002628, 0x00000001); /* makes mthd 0x20 work */ return 0; }