]> 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)
commit6cef6b61d4dd363642f79f00da2e11898c30db86
tree374e749b12767ebd585730552cb7d8ccb4b244f6
parentc74036e93b4ac85dfc57d0e79134c0cb3ea6a2e2
nouveau: Set special lane map for the right chipset

The refactoring of the nv50 logic, introduced in 7ff345df, 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