drm/nv50/devinit: reverse the logic for running encoder init scripts
authorBen Skeggs <bskeggs@redhat.com>
Sat, 16 Feb 2013 02:10:38 +0000 (12:10 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Feb 2013 13:38:43 +0000 (05:38 -0800)
commiteec97fd507f92f35a87fcf59887f52167349d1ec
tree6cd337ab7c79f6a2d4095c3b0af7a6381fb89006
parentbb1a1b5a6551b6598648abeb7863778df43a5b60
drm/nv50/devinit: reverse the logic for running encoder init scripts

commit ac8cc241a81941932da44993242e68c62e115ec7 upstream.

A single U encoder table can match multiple DCB entries, whereas the
reverse is not true and can lead to us not matching a DCB entry at
all, and fail to initialise some encoders.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/nouveau/core/subdev/devinit/nv50.c