[PATCH i-g-t 2/3] lib/igt_kms: Allow forcing HDMI connectors and remove checks against BDW and HSW.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Marius Vlad <marius.c.vlad@xxxxxxxxx>
---
 lib/igt_kms.c | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index 12d52f5..b90ab3e 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -531,16 +531,9 @@ bool kmstest_force_connector(int drm_fd, drmModeConnector *connector,
 	const char *value;
 	int debugfs_fd, ret, len;
 	drmModeConnector *temp;
-	uint32_t devid;
 
-	devid = intel_get_drm_devid(drm_fd);
-
-	/* forcing hdmi or dp connectors on HSW and BDW doesn't currently work,
-	 * so fail early to allow the test to skip if required */
-	if ((connector->connector_type == DRM_MODE_CONNECTOR_HDMIA ||
-	     connector->connector_type == DRM_MODE_CONNECTOR_HDMIB ||
-	     connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort)
-	    && (IS_HASWELL(devid) || IS_BROADWELL(devid)))
+	/* forcing dp connectors doesn't currently work */
+	if (connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort)
 		return false;
 
 	switch (state) {
-- 
2.5.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux