drm/nouveau/mxm: call mxmi to determine revision before calling mxms
authorBen Skeggs <bskeggs@redhat.com>
Wed, 1 Feb 2012 23:33:05 +0000 (09:33 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 13 Mar 2012 07:14:57 +0000 (17:14 +1000)
commit84ddfda6d4765e410981edeef81c9b5a5a1ce87b
treefe149376e3f504ba3f6b19b2c493592442537263
parent7d3a766b6aa4e293e72bfd6add477f05ac7fdf5a
drm/nouveau/mxm: call mxmi to determine revision before calling mxms

There's a HP laptop out there where the MXM version in the VBIOS doesn't
match what the ACPI implementation is expecting.  These tables will accept
0x00 to MXMS to return latest version, but *only* if MXMI has been called
first..

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_mxm.c