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

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