OSDN Git Service

drm/nouveau/mcp89/mmu: Use mcp77_mmu_new instead of g84_mmu_new on MCP89.
authorTimo Wiren <timo.wiren@gmail.com>
Wed, 22 May 2019 17:01:06 +0000 (20:01 +0300)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 19 Jul 2019 06:26:50 +0000 (16:26 +1000)
commitbb2b4074f8d99214718f45c379ceb74564aad3bc
treef66e591bdde4521e28f7b0dbf63cca0910d6db36
parent3729fe2bc2a01f4cc1aa88be8f64af06084c87d6
drm/nouveau/mcp89/mmu: Use mcp77_mmu_new instead of g84_mmu_new on MCP89.

Fix a crash or broken depth testing in all OpenGL applications that use the
depth buffer on MCP89 (GeForce 320M) seen on a MacBook Pro Late 2010.

The bug is tracked in https://bugs.freedesktop.org/show_bug.cgi?id=108500

Signed-off-by: Timo Wiren <timo.wiren@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c