]> git.baikalelectronics.ru Git - kernel.git/commit
nouveau: Set special lane map for the right chipset
authorHenrik Rydberg <rydberg@euromail.se>
Thu, 12 Apr 2012 22:37:00 +0000 (00:37 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 19 Apr 2012 15:37:53 +0000 (16:37 +0100)
commita8204c1216ab495990603dcfc3f4557e043bc91f
tree374e749b12767ebd585730552cb7d8ccb4b244f6
parent40332949dcf035a492e58cc1efd4126e5ddce3e8
nouveau: Set special lane map for the right chipset

The refactoring of the nv50 logic, introduced in 9f84fbe6, modified the
test for the special lane map used on some Apple computers with Nvidia
chipsets. The tested MBA3,1 would still boot, but resume from suspend
stopped working. This patch restores the old test, which fixes the problem.

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Acked-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/nouveau/nv50_sor.c