mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-20 04:42:53 +00:00
lib: allow the edid to be reset
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
@@ -93,6 +93,13 @@ main (int argc, char **argv)
|
||||
|
||||
drmModeFreeConnector(temp);
|
||||
|
||||
/* remove edid */
|
||||
kmstest_force_edid(drm_fd, connector, NULL, 0);
|
||||
temp = drmModeGetConnector(drm_fd, connector->connector_id);
|
||||
/* the connector should now have the 5 default modes */
|
||||
igt_assert(temp->count_modes == 5);
|
||||
drmModeFreeConnector(temp);
|
||||
|
||||
/* force the connector off */
|
||||
kmstest_force_connector(drm_fd, connector, FORCE_CONNECTOR_OFF);
|
||||
temp = drmModeGetConnector(drm_fd, connector->connector_id);
|
||||
|
||||
Reference in New Issue
Block a user