testdisplay: fix possible_crtcs check so LVDS works
authorLan, Hai <hai.lan@intel.com>
Tue, 7 Jun 2011 02:16:26 +0000 (19:16 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 7 Jun 2011 15:55:25 +0000 (08:55 -0700)
commit3ddc799fbf04e1c7c482c0879aa506c3c7a12c04
tree3f61689587334a349c9f0b621e300a28f17e44e1
parent1095a825c0acaecf51f97741eacf14acd9bf901e
testdisplay: fix possible_crtcs check so LVDS works

When using testdisplay on GM965 and Pineview with LVDS, it will fail to
set a mode because the first unused crtc can't be used for LVDS.  So
check the possible_crtcs to make sure the crtc can be used.

Signed-off-by: Hai Lan <hai.lan@intel.com>
tests/testdisplay.c