Implement DumpPixel API on TIO driver

The major logic is in the pixeldump tool. The driver just passes the correct
arguments to the pixeldump and reads back the file content.

BUG=chromium:374103
TEST=Ran display_Resolution, worked on HDMI and DisplayPort interfaces but
not stable. Some cases of resolutions are wrong. But it looks more like the
issue of FPGA.

Change-Id: Idc7538a0e727fbb77e6b8333a6472e09ffe173fa
Reviewed-on: https://chromium-review.googlesource.com/202214
Reviewed-by: Chih-Chung Chang <chihchung@chromium.org>
Commit-Queue: Wai-Hong Tam <waihong@chromium.org>
Tested-by: Wai-Hong Tam <waihong@chromium.org>
3 files changed