Message ID | 1423208397-30788-1-git-send-email-human.hwang@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 0261CBF440 for <patchwork-dri-devel@patchwork.kernel.org>; Fri, 6 Feb 2015 07:40:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8484A2018E for <patchwork-dri-devel@patchwork.kernel.org>; Fri, 6 Feb 2015 07:40:09 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id BF5842017D for <patchwork-dri-devel@patchwork.kernel.org>; Fri, 6 Feb 2015 07:40:07 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DB4416E8CA; Thu, 5 Feb 2015 23:40:06 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by gabe.freedesktop.org (Postfix) with ESMTP id 8744D6E8CB for <dri-devel@lists.freedesktop.org>; Thu, 5 Feb 2015 23:40:05 -0800 (PST) Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NJC00FP9AMRML90@mailout1.samsung.com> for dri-devel@lists.freedesktop.org; Fri, 06 Feb 2015 16:40:03 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.113]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id BC.56.18167.3DF64D45; Fri, 06 Feb 2015 16:40:03 +0900 (KST) X-AuditID: cbfee690-f79ab6d0000046f7-33-54d46fd3db49 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 5F.7A.09430.3DF64D45; Fri, 06 Feb 2015 16:40:03 +0900 (KST) Received: from localhost.localdomain ([10.252.82.145]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NJC0015EAMNEJ40@mmp2.samsung.com>; Fri, 06 Feb 2015 16:40:03 +0900 (KST) From: Hyungwon Hwang <human.hwang@samsung.com> To: dri-devel@lists.freedesktop.org Subject: [PATCH] modetest: add connector names for missing kinds of connectors Date: Fri, 06 Feb 2015 16:39:57 +0900 Message-id: <1423208397-30788-1-git-send-email-human.hwang@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrCLMWRmVeSWpSXmKPExsWyRsSkUPdy/pUQgwcrlC2ufH3PZrF0Rh+r xaT7E1gspjTnWhz/dJDFYsbkl2wObB6r5mxg9bjffZzJo2/LKsYA5igum5TUnMyy1CJ9uwSu jLmNLxgL5rBXHH03gbGB8T9rFyMnh4SAicTb2XPYIGwxiQv31gPZXBxCAksZJeZ8X8MCU/Tn zzQmiMR0RokHd3rZIZw2Jond92+DVbEJ6EksuPaDHcQWEVCW+DtxFSNIEbPAREaJmwv2ABVx cAgL+ElcfR0HYrIIqEo8v1EOUs4r4C5x+81bqIvkJE4em8wK0ioh8JpNYuWyz2DzWQQEJL5N PgQ2RkJAVmLTAWaIekmJgytusExgFFzAyLCKUTS1ILmgOCm9yESvODG3uDQvXS85P3cTIzAw T/97NmEH470D1ocYBTgYlXh4E3ivhAixJpYVV+YeYjQF2jCRWUo0OR8Y/nkl8YbGZkYWpiam xkbmlmZK4ryvpX4GCwmkJ5akZqemFqQWxReV5qQWH2Jk4uCUamC0sOp0DZYvNz0kNLOG58Uz ZYvw7WFpjh8tb7vy3WWUnRj0eOs+tctBVW5XTk55dfro6g9K3AESE3LyvSw6RGvS2Dzm3bvA NMnz6MnVKlKnVq5R+G33LePHnolf7hbtDvHavnBrQ/MiFeagNI/UNfHT+dW2vv/9tWmbSusz l5/+q1zPS915aXBZiaU4I9FQi7moOBEA/CoRokcCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrHLMWRmVeSWpSXmKPExsVy+t9jQd3L+VdCDC73ylpc+fqezWLpjD5W i0n3J7BYTGnOtTj+6SCLxYzJL9kc2DxWzdnA6nG/+ziTR9+WVYwBzFENjDYZqYkpqUUKqXnJ +SmZeem2St7B8c7xpmYGhrqGlhbmSgp5ibmptkouPgG6bpk5QIuVFMoSc0qBQgGJxcVK+naY JoSGuOlawDRG6PqGBMH1GBmggYQ1jBlzG18wFsxhrzj6bgJjA+N/1i5GTg4JAROJP3+mMUHY YhIX7q1n62Lk4hASmM4o8eBOLzuE08Yksfv+bRaQKjYBPYkF136wg9giAsoSfyeuYgQpYhaY yChxc8EeoCIODmEBP4mrr+NATBYBVYnnN8pBynkF3CVuv3kLtVhO4uSxyawTGLkXMDKsYhRN LUguKE5KzzXSK07MLS7NS9dLzs/dxAgO+2fSOxhXNVgcYhTgYFTi4U3gvRIixJpYVlyZe4hR goNZSYSX4e/lECHelMTKqtSi/Pii0pzU4kOMpkDLJzJLiSbnA2MyryTe0NjEzMjSyNzQwsjY XEmcV8m+LURIID2xJDU7NbUgtQimj4mDU6qBsWC/mq3Xtr/Owm+ez63Tz2iyFm7Mnndp6pN4 lm+3edhm3AlKUuZ8wrSv5/me+9eNAvQOV+dcv57zUODkoju+l7saw9QyXn00lV9577Zdy4S7 Rzl21WhZb/JRK2W+e/7VfZ4ngUW/yzI1dxadnNVc2hF8fP4Dp3D+A97m8cZBBe82xjWZF5xl UWIpzkg01GIuKk4EADn7Wh+RAgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Cc: sw0312.kim@samsung.com, sangbae90.lee@samsung.com, robclark@freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <http://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <http://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <http://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c index 5fcf2a4..f5a973c 100644 --- a/tests/modetest/modetest.c +++ b/tests/modetest/modetest.c @@ -168,6 +168,8 @@ struct type_name connector_type_names[] = { { DRM_MODE_CONNECTOR_HDMIB, "HDMI-B" }, { DRM_MODE_CONNECTOR_TV, "TV" }, { DRM_MODE_CONNECTOR_eDP, "eDP" }, + { DRM_MODE_CONNECTOR_VIRTUAL, "virtual" }, + { DRM_MODE_CONNECTOR_DSI, "dsi" }, }; static type_name_fn(connector_type)
Without the matched name for the connector types, modetest prints invalid for that kinds of connectors like below: Connectors: id encoder status type size (mm) modes encoders 16 15 connected (invalid) 71x125 1 15 So this patch adds connector names for missing kinds of connector types. Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com> --- tests/modetest/modetest.c | 2 ++ 1 file changed, 2 insertions(+)