]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau: fix panels using straps-based mode detection
authorBen Skeggs <bskeggs@redhat.com>
Thu, 23 Sep 2010 06:44:01 +0000 (16:44 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 24 Sep 2010 00:05:28 +0000 (10:05 +1000)
commit07fe23126b7cdc1ab3e785ef7c9219d92bd93a8d
tree68a1005b810a5fd26e5290d20c57a2c89e2f88c2
parent86ac58a47c159c89d883f26208d046eff3db9c17
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>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/nouveau/nouveau_connector.c