tests/testdisplay.c: rewite function dump_connectors and dump_crtcs.
authorYi Sun <yi.sun@intel.com>
Fri, 3 Feb 2012 14:45:39 +0000 (22:45 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 6 Feb 2012 19:38:49 +0000 (20:38 +0100)
commit3d46ca8c4d43adfd9827b4b21648a4fddd03c254
tree075dc1dd397dd52df01efcf696cdf64e2543f43d
parent4cceae74e3f18b78db5049edb0fc3d6d89b66275
tests/testdisplay.c: rewite function dump_connectors and dump_crtcs.

Replace the globe variable drm_fd with local variable passed from parameter.

Signed-off-by: Yi Sun <yi.sun@intel.com>
[danvet: fixup whitespace]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/testdisplay.c