Message ID | 20231016165355.1327217-3-dmitry.baryshkov@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp3614592vqb; Mon, 16 Oct 2023 10:26:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEilpRvza6v5Ba+R4rKdUvDSrlNuxtqGcEvDev95nszq7Z2lFdGVq4wpySf22UaV+UgO7SF X-Received: by 2002:a05:6870:e86:b0:1ea:7463:1b8f with SMTP id mm6-20020a0568700e8600b001ea74631b8fmr1056165oab.0.1697477208947; Mon, 16 Oct 2023 10:26:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697477208; cv=none; d=google.com; s=arc-20160816; b=A0i10E4xJ6zV00/Vb9W8lSqETrRLdgdca3VNnvpaLYXbQrWmgEm+jIcftymhmfL8lO zvrzbssabVKP6trZvXf6TbJ2oAHdudLNggVvQjWNA8qRmUE/M1YoYgeR2L72WJ+sn4r8 zMfXZmLW5TuAv8ADyUv55ynSXvdqACiEm0bmXWuz+f5D64+K7+kvcQkV7Q+rW0MapqYe h8dTYkY/ZPD8JPnX2jGMYPMf1S+a5RylO6tylyE6qifsIFU4AztioZEa0jIqGQ2jx1U/ X+avvr9803mh0mWNc5XAUnx5SmaVnrmQs+SWMpmZ15qXsz/CYDfnaW1TT8zIOdXw2Uv6 2pBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=y4YcpFsN2TSMs34leTZQIhhDmmY5p8SAeysdXXfcQJY=; fh=OT/8nNJKNCzw+WY7QnVxvWUM5gQckqwqCjGb4xh5RlI=; b=NjCfwT3hShQJvux6s9QNNp/BKfyndn1aLE+mFv87Uy+Cfoi1B1XMBdlU+9JlF1fQRx OZmMqRIzZixlXHKhDPclCswH5TGnHzhkEp6a1x7vYph2+kdRYU2sY8WYdwq/adV5fU/R lw8U8qSzWSV8kvyzdZ/ZWnyfwNaDIJumveC/Ymsf910ducxefCZ/x7BAVotWo9l/RNuj rB907dcr+qvbdOO1amnxoB3J+f3CmRHdVKkKIbeyeS7SlnnQNvSc/f4C7JpJNyJNDV/7 M/EqrUcS1eC3hesN/zQs3lMidOQ5b64Uqd+hjeRHhPZtOB27Lnx/2dqaL3fAF3/AqfFd HQ2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bmNj056z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id e65-20020a636944000000b005b3cc1970e4si4667137pgc.560.2023.10.16.10.26.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 10:26:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bmNj056z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id A236D8077996; Mon, 16 Oct 2023 10:26:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229666AbjJPR0F (ORCPT <rfc822;hjfbswb@gmail.com> + 18 others); Mon, 16 Oct 2023 13:26:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233812AbjJPRZ6 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 16 Oct 2023 13:25:58 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 658991110 for <linux-kernel@vger.kernel.org>; Mon, 16 Oct 2023 09:54:03 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-405497850dbso47299285e9.0 for <linux-kernel@vger.kernel.org>; Mon, 16 Oct 2023 09:54:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697475242; x=1698080042; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=y4YcpFsN2TSMs34leTZQIhhDmmY5p8SAeysdXXfcQJY=; b=bmNj056ztzl0VYdTedGhn+6dnUCqBbuUiOvKFOq+d9gOUdm9PHpQnVeCxaytmT7ikT 11ovGxEs7LoB3ArYNAy/yknDRIfv4I2crA8NlufsOXryCciNlXDzKPmTueoKDPuN8B5+ giMdp/Pd6JgKRqSUcZO0Weznbutm2KJIDm+/eGGwjANzDxCOZ7T7FacIGIsVzhDPQCkc FqnMLul7jH48ZUIxj7JAA1Wfef7LupIOsCcGXzxoYg4WPI8MOIVVTDhR6xq6DTLTWVY0 qZvvvqcjM6bAA0/XJVaFZLa8d3W7HNJiFjfA5HWap90bn30pQaxVFM/0nJJYs4Y+AiGZ l6UQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697475242; x=1698080042; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=y4YcpFsN2TSMs34leTZQIhhDmmY5p8SAeysdXXfcQJY=; b=W9er2Hd0eYmw63wQkz7aSrC39o3O5tuvhFjN2irUbmj+aoAc5Ir5YdHKm/C/5i+qFu svcMM/ztqBSXrA32O9tuZHfNPtlcnPI1YwqW/Zx+pdoWpWRnc1ilTP54xQBYDhyEsbvo Unj9MzbrgVfduYn4GRCwskBv19JDSBafM37T5yQtW8v6xHUEe/cJIoAlMLqQXNNaCSwq S4EGQa8APiqnqevfejpM8HFzrpSK3uFSrprnQrHMwtEt+jD0iXiqRw+upXoBFyFS6U2w Z34+WDiuGTZvJRNejWY0cLDC+oBYu3g34rJxj3OFtkDJ2Ph7udCnFSeTcS6AKNGlbve2 3kYQ== X-Gm-Message-State: AOJu0Yx4qflHL1Ycm+p3UrQBjYNDpD7LlJucA1j4cv/W6R16ODhxHAlj oXktQFgmEbouhCh/y/ZIpZ78vw== X-Received: by 2002:a7b:c394:0:b0:403:31a:77b9 with SMTP id s20-20020a7bc394000000b00403031a77b9mr30584923wmj.37.1697475241822; Mon, 16 Oct 2023 09:54:01 -0700 (PDT) Received: from eriador.lumag.spb.ru ([45.84.211.189]) by smtp.gmail.com with ESMTPSA id s19-20020a05600c45d300b0040648217f4fsm7638996wmo.39.2023.10.16.09.54.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 09:54:01 -0700 (PDT) From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> To: Dave Stevenson <dave.stevenson@raspberrypi.com>, Andrzej Hajda <andrzej.hajda@intel.com>, Neil Armstrong <neil.armstrong@linaro.org>, Robert Foss <rfoss@kernel.org>, Laurent Pinchart <Laurent.pinchart@ideasonboard.com>, Jonas Karlman <jonas@kwiboo.se>, Jernej Skrabec <jernej.skrabec@gmail.com>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Maxime Ripard <mripard@kernel.org>, Thomas Zimmermann <tzimmermann@suse.de>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Douglas Anderson <dianders@chromium.org>, Rob Clark <robdclark@gmail.com>, Abhinav Kumar <quic_abhinavk@quicinc.com>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, Sean Paul <sean@poorly.run>, Marijn Suijten <marijn.suijten@somainline.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Jessica Zhang <quic_jesszhan@quicinc.com> Cc: Marek Vasut <marex@denx.de>, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org Subject: [RFC PATCH 02/10] drm/mipi-dsi: document DSI hosts limitations Date: Mon, 16 Oct 2023 19:53:47 +0300 Message-ID: <20231016165355.1327217-3-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231016165355.1327217-1-dmitry.baryshkov@linaro.org> References: <20231016165355.1327217-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 16 Oct 2023 10:26:12 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779933861941294187 X-GMAIL-MSGID: 1779933861941294187 |
Series |
drm/mipi-dsi: another attempt at sorting out DSI link powerup
|
|
Commit Message
Dmitry Baryshkov
Oct. 16, 2023, 4:53 p.m. UTC
Document the known limititations of the DSI hosts vs commands transfers
in LP mode. For the details see sun6i_dsi_encoder_enable().
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
include/drm/drm_mipi_dsi.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/drm/drm_mipi_dsi.h b/include/drm/drm_mipi_dsi.h index c9df0407980c..167742e579e3 100644 --- a/include/drm/drm_mipi_dsi.h +++ b/include/drm/drm_mipi_dsi.h @@ -85,6 +85,10 @@ int mipi_dsi_create_packet(struct mipi_dsi_packet *packet, * host is in. Drivers that need the underlying device to be powered to * perform these operations will first need to make sure it's been * properly enabled. + * + * Note: some hosts (sunxi) can not send LP commands between HS video + * packets. Thus all DSI transfers sent in LP mode should be limited to the + * drm_bridge_funcs::pre_enable() and drm_panel_funcs::prepare() callbacks. */ struct mipi_dsi_host_ops { int (*attach)(struct mipi_dsi_host *host,