gamma_test: add new test

Added new test to test gamma table functionality. It can set linear, negative,
step and exponential gamma table.

The test uses DRM framework also used by atomictest. This change also fixes
the framework to enumerate DRM devices to skip VGEM driver and properly
clears the IOCTL structure before calling buffer alloc.

BUG=chromium:484831
TEST=emerge and deploy drm-tests; stop ui and kill frecon, run gamma_test

Change-Id: I1bb9bfb12f25c17a5dfba906ee51592576462cf6
Signed-off-by: Dominik Behr <dbehr@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/273021
Reviewed-by: Haixia Shi <hshi@chromium.org>
Commit-Queue: Sheng-liang Song <ssl@chromium.org>
4 files changed