drm/nouveau/bios: memset dcb struct to zero before parsing
authorBen Skeggs <bskeggs@redhat.com>
Mon, 8 Sep 2014 00:33:32 +0000 (10:33 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 15 Sep 2014 12:25:08 +0000 (22:25 +1000)
commit595d373f1e9c9ce0fc946457fdb488e8a58972cd
tree3d3d77b347b708d84bc075727ecb855294a60cb2
parent6b07c6cfd1530e39a6e5e81e63b59953b3f35eea
drm/nouveau/bios: memset dcb struct to zero before parsing

Fixes type/mask calculation being based on uninitialised data for VGA
outputs.

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