Message ID | 20181113111633.20189-8-jagan@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBD7MFH7A7EEBBTXFVLPQKGQEYRXG4EA@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f199.google.com (cartago.priv [10.11.12.1]) by cassiopea (Postfix) with ESMTPS id E80B52E5422 for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 13 Nov 2018 12:17:35 +0100 (CET) Received: by mail-pg1-f199.google.com with SMTP id a18sf7830263pga.16 for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 13 Nov 2018 03:17:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1542107854; cv=pass; d=google.com; s=arc-20160816; b=bg3x7vne5BsNOoa/PZPREIX5PYesmXv5gPLRhXDymk0SvrgzK/FhFFr58oT7TxAuT4 HeXQDo9QEU85C8BbmuZsLilCY+lBELvB5UF2MVMnvuApk05Z477DriflD9rJsydTJyUP u3OAVRWmIrE8CFAsnCF13XWEVkT9YloCmTKrw3+gqr6EhpjvNIdMyZrlBgqM3hX1Sonk B63uy9YVgEcmVzMc1KeGmusCkJdtubK7ZuEMJj0A5TJPSnhNKHfpH9MVXQmCLviD5bxK c60BpFiONsvpyWtpeFX4Oy42OAsRYFs6AM9iqz9s4FbjXZjRZGuqyqdr5r5St8Ix1cs3 8/Yg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=0G2Cm6yl0hA4By0n3opJjvWD4CEYft0z/6JnEL+u5rs=; b=CjzCZX12zL0zbNtONUaDcvy9FmehzyQjWt210U6GJPwf8sSYG7QeO8x3VSvMMTVWjl aNQNCn9iEFkdc9ZUg/XGAd6R+67DsXvSV7TVVfONvgtTqIJX09nsJwfdDBhmlCQxtJMU 8ntcN0DgtaxoxPb+tMMsJ1rLRptFBLsbxHHw/YjssZ5kZhPFbskw6MYYrAUcXfbKkhul 4UhwDF5gU8eMvfg64AoqmCApy8Zu0AcJP8rZIi98vZ6i/xUYQoLMIcUVuAtUFFqtnE7L rWmEc9UnBmf8cWDNX0KNL59zswNP/jb9ei0/j2q/GkALxuzEk3P48H09irvXsVr7pykz SXDA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=aSMmA108; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=0G2Cm6yl0hA4By0n3opJjvWD4CEYft0z/6JnEL+u5rs=; b=bRUddU9wwqzHcHcKbDwJCMSEGi/Yl3/tcvFQCnUN748LvBYsMLtkTBg0OJ3lWT7uqX Bq8lVx64nTwkkMT7d7aHMf1v9Lqj8RziUxwG2vJSleSlFZWc0K+jgUJPj+PBtLLRFv99 xI5/7DNdtcefUwm+5gFoIvcRSHqsOteKWhDzg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=0G2Cm6yl0hA4By0n3opJjvWD4CEYft0z/6JnEL+u5rs=; b=BNOnmd24uaTlovLqowQIiqb10j3194IW4I4K1OE3nVi0efZVKpe5eWVlyzsCOwFkYz 3mg/gaJadxb74Ysql6RPUD05IqOH6C4eNQiGtlZPuwge/vW+2ATqbxq3/PHBx1mNhOF0 Q3oLQF9tjYQnJu+DfqKt6WgmoYIlO44CmW5UjwhimTvetbI8QKaE2FfggGFTjdhNzP1G Tur5c3EWUSvEVkoMZP2UIR+GnruRC/nTa2+9vEBTecF+Ng+HEhnCTIRHSFLDrMKwz5hP Hm9Z0rqiK+Xqa17b6JBRgFCjrLxoYWcDTYOxZW1nVWH+0Z1Q0Gx4q+H6fye/avJnCgY3 YAMw== X-Gm-Message-State: AGRZ1gIGsgy3sfhC98AO3Y7QdXRpdNKmyl7IhQLjymV/dd5ZKydqzBb4 DGudbKzPT/EyP1FFdvcG8QO13oEy X-Google-Smtp-Source: AJdET5dLhbmrkMGkFRWAMpAyLi3Ytil18oWVGYgpru0Ta9+NeQLaQ8zq8ncFWqx1jJa/ZjFMK7xMMw== X-Received: by 2002:a17:902:1c5:: with SMTP id b63-v6mr1765734plb.48.1542107854651; Tue, 13 Nov 2018 03:17:34 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:1007:: with SMTP id y7-v6ls4176807pfi.0.gmail; Tue, 13 Nov 2018 03:17:34 -0800 (PST) X-Received: by 2002:a63:d301:: with SMTP id b1mr4404169pgg.61.1542107854367; Tue, 13 Nov 2018 03:17:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542107854; cv=none; d=google.com; s=arc-20160816; b=TQ9mq5zXBQ/E7CQKhHC6LCQNLmAisSQpLyVdvXGIlpiNTpMTJsAFsPh6C6Je3rI3Gc GOOjvLv9yPUJSx2DR83EJGLSHKUmg+CUPJgYUlzTFanVbW48tQkQ+U5r5rweMsFjmApw WZHd2SQTYPicGl3ZO4+Lgc3nRZvjwYzpm0/xtYm6MsYa9dZWjv6eKy6jDols38uk5rP+ 2UEJvoEzTe5YchF9lu8nkUT1HQIRWTVKuxW5z6FskuBC3WoqalT+x6nPkC56JaDsfMF4 xmkmWSUBh3ENfNgJW8Ghv5gGzdi0j+esAhgjwmv+ppv182jGj8nreXMfDXF6urE7P2jO XibA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=0G2Cm6yl0hA4By0n3opJjvWD4CEYft0z/6JnEL+u5rs=; b=vbne9y/WCnWtr+KGrMzYiBqTSkxNyoQn8l846bwRnsQ6YujkN50QjFHPyp2bjM6NZL Y+xQfmclEMRzruOar7ULnGngU9jLNRjw7bb0rFcM2TOIULF3EucnbPbOnGoasph7mg0W CFfRoql5Pk6j1BVMExYCh/MZwNK+2MncG7XsSqKvikjCv3FzlfkTTKRVGDF5d5rm4L7t /vVKOTk/PvLJs+HyjlMW0RFeePzHu7rMT1iuB867R59IlR/lhU9BH8DayRbKnWcMVIww fGbH3QggMiEUoXSwo0SGT/99xsKqMH7JTsuKS1J7U7owsH6cIKUHSKzXY8yb58Pe+cqD 56kQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=aSMmA108; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id z9-v6sor24072635pfd.58.2018.11.13.03.17.34 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Tue, 13 Nov 2018 03:17:34 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a62:3101:: with SMTP id x1-v6mr4852009pfx.204.1542107854069; Tue, 13 Nov 2018 03:17:34 -0800 (PST) Received: from localhost.localdomain ([2401:4900:3670:3f11:bc71:2ef7:4a39:e260]) by smtp.gmail.com with ESMTPSA id 27-v6sm28531377pfm.36.2018.11.13.03.17.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Nov 2018 03:17:33 -0800 (PST) From: Jagan Teki <jagan@amarulasolutions.com> To: Maxime Ripard <maxime.ripard@bootlin.com>, Chen-Yu Tsai <wens@csie.org>, Icenowy Zheng <icenowy@aosc.io>, Jernej Skrabec <jernej.skrabec@siol.net>, Vasily Khoruzhick <anarsoul@gmail.com>, Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will.deacon@arm.com>, David Airlie <airlied@linux.ie>, dri-devel@lists.freedesktop.org, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, linux-clk@vger.kernel.org, Michael Trimarchi <michael@amarulasolutions.com>, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, linux-amarula@amarulasolutions.com Cc: Jagan Teki <jagan@amarulasolutions.com> Subject: [PATCH v4 07/26] drm/sun4i: sun6i_mipi_dsi: Add DSI Generic short write 2 param transfer Date: Tue, 13 Nov 2018 16:46:14 +0530 Message-Id: <20181113111633.20189-8-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20181113111633.20189-1-jagan@amarulasolutions.com> References: <20181113111633.20189-1-jagan@amarulasolutions.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=aSMmA108; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
Series |
|
Related |
show
|
diff --git a/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c b/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c index 50f535ae57e9..cdd44a1307b3 100644 --- a/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c +++ b/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c @@ -871,6 +871,7 @@ static ssize_t sun6i_dsi_transfer(struct mipi_dsi_host *host, switch (msg->type) { case MIPI_DSI_DCS_SHORT_WRITE: case MIPI_DSI_DCS_SHORT_WRITE_PARAM: + case MIPI_DSI_GENERIC_SHORT_WRITE_2_PARAM: ret = sun6i_dsi_dcs_write_short(dsi, msg); break;
Short transfer write support for DCS and Generic transfer types share similar way to process command sequence in DSI block so add generic write 2 param transfer type macro so-that the panels which are requesting similar transfer type may process properly. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> --- drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 1 + 1 file changed, 1 insertion(+)