drm/nouveau: fix panels using straps-based mode detection
authorBen Skeggs <bskeggs@redhat.com>
Thu, 23 Sep 2010 06:37:39 +0000 (16:37 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 24 Sep 2010 06:28:50 +0000 (16:28 +1000)
commit80dad869a3bc30b4e6c3ae527f94abbe9bb497f5
tree8ffd4a39b1b6b7314a8fb5fc450deccf12037325
parent9bb5863ab4c2bad487e9d02fabde60e858c22411
drm/nouveau: fix panels using straps-based mode detection

nouveau_bios_fp_mode() zeroes the mode struct before filling in relevant
entries.  This nukes the mode id initialised by drm_mode_create(), and
causes warnings from idr when we try to remove the mode.

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