lib: add function to change connector states

Add an API function and a test program to force a particular state on a
connector.

v2: mask the correct part of the minor number to get the card number (Chris
    Wilson)

Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
Thomas Wood
2014-05-16 17:22:46 +01:00
parent 9b6ae3cb6f
commit 37ffb22d3c
4 changed files with 163 additions and 0 deletions
+1
View File
@@ -139,6 +139,7 @@ TESTS_progs = \
gen3_render_tiledx_blits \
gen3_render_tiledy_blits \
gen7_forcewake_mt \
kms_force_connector \
kms_sink_crc_basic \
kms_fence_pin_leak \
pm_psr \