[igt-dev] [PATCH i-g-t 1/2] Revert "tests/kms_plane_alpha_blend: Fix a check in is_6bpc function"

Vidya Srinivas vidya.srinivas at intel.com
Thu Jul 22 15:06:59 UTC 2021


This reverts commit 7b4fdeca7cc4bc5786d9ee06be71779b28f29b59.

Subtest coverage-premultiplied-constant was failing due to
buffer alignment issue. It was not due to 6bpc. Hence this
patch needs to be reverted.

Signed-off-by: Vidya Srinivas <vidya.srinivas at intel.com>
---
 tests/kms_plane_alpha_blend.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_plane_alpha_blend.c b/tests/kms_plane_alpha_blend.c
index d649a09f52b4..57bbda5d975a 100644
--- a/tests/kms_plane_alpha_blend.c
+++ b/tests/kms_plane_alpha_blend.c
@@ -454,7 +454,7 @@ static bool is_6bpc(igt_display_t *display, enum pipe pipe) {
 		return false;
 
 	c = output->config.connector;
-	if (c->connector_type != DRM_MODE_CONNECTOR_eDP &&
+	if (c->connector_type != DRM_MODE_CONNECTOR_eDP ||
 		c->connector_type != DRM_MODE_CONNECTOR_DSI)
 		return false;
 
-- 
2.32.0



More information about the igt-dev mailing list