Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp927751pxb; Fri, 21 Jan 2022 06:28:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJyz5y2m3GlFjzvRFB7Wh+3LVYgGiiL9Gwbwxz71bm8CMHRKWpRTjO74hQMxdd5/ZAHiVyLz X-Received: by 2002:a17:902:70cb:b0:14a:b8e7:4437 with SMTP id l11-20020a17090270cb00b0014ab8e74437mr4257028plt.41.1642775327962; Fri, 21 Jan 2022 06:28:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642775327; cv=none; d=google.com; s=arc-20160816; b=kd+durbJg1ptytqY+SDcVlM3K6CknOVB8LLziO/LtpkRwL6+LMQ8u2TIXI5jgrnGFi vsEk9NP78jG7v05P54aH7vN8BXZ+rzByaMdg+VrUc1O0iYx0x/ffD6JFhjhWGzBzJ5dY TDW/aBUs4ECNykNv+ZQ+dmGPpyXfKJB6JpTZsK8isI2Wdag0dnSgxrFd1yyJq08tuidc RyCXhS3SBvUJHZz1iYWCwisz2RfG7YAKgQZlZdiV7xD25wWD1DiKXKgV3t4kfFiDPhAf i3rxTVJM8n6HT1AKbC659Ik4VvEeApmoeg7yWXXCVEUnwmU1WaZIFohMu9ZGn+4viFuU 4W2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=HBt48O5iV8xcl/an5K+bwx+SUd1HL3HMQisw0VywZ2I=; b=hw5c1BBumLqvfIijrzvWpF1aj3kn4QyCeyYasdXNUC/eJJyTcN263tKj+5FdKkKbe7 IjmXT7MrGSzevLFLreJQMNRHnudq97mIIqt/XucMWoA/fnqQGo7JeNxPHPDNVPseHmZE zh4TJha6ShNZ9rWs7y1eSPmSDYjiOQXSbrRWIQ9dKousrG8qdC+Zfhg4rxaPY8hWNM7Z spaRs5L6jg1g7h4bP61EbcOUWW+PJD+yd51rkdBrHTRgH4uxJK24BOXO1ktCGgE5oF5m BZ/A6A9hgK8AHk6SOW1oFHIewCaXEwQ3ppoRAXdIuVvBaxAnsDFeWUeGZ++F1fX91RE4 XimQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z6si6380979pfe.50.2022.01.21.06.28.11; Fri, 21 Jan 2022 06:28:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350978AbiASC0K (ORCPT + 99 others); Tue, 18 Jan 2022 21:26:10 -0500 Received: from mailgw01.mediatek.com ([60.244.123.138]:37402 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S238636AbiASC0I (ORCPT ); Tue, 18 Jan 2022 21:26:08 -0500 X-UUID: d017a276369a4561ace4afa0ea0037d2-20220119 X-UUID: d017a276369a4561ace4afa0ea0037d2-20220119 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1379416711; Wed, 19 Jan 2022 10:26:04 +0800 Received: from mtkexhb02.mediatek.inc (172.21.101.103) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 19 Jan 2022 10:26:04 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkexhb02.mediatek.inc (172.21.101.103) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 19 Jan 2022 10:26:03 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 19 Jan 2022 10:26:03 +0800 From: Rex-BC Chen To: , , , , , , , CC: , , , , , , , , Rex-BC Chen Subject: [v10,3/3] drm/bridge: anx7625: config hs packets end aligned to avoid screen shift Date: Wed, 19 Jan 2022 10:25:43 +0800 Message-ID: <20220119022543.26093-4-rex-bc.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20220119022543.26093-1-rex-bc.chen@mediatek.com> References: <20220119022543.26093-1-rex-bc.chen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This device requires the packets on lanes aligned at the end to fix screen shift or scroll. Signed-off-by: Jitao Shi Signed-off-by: Rex-BC Chen Acked-by: AngeloGioacchino Del Regno Reviewed-by: Xin Ji --- drivers/gpu/drm/bridge/analogix/anx7625.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/analogix/anx7625.c b/drivers/gpu/drm/bridge/analogix/anx7625.c index 2346dbcc505f..fe32ab0878ae 100644 --- a/drivers/gpu/drm/bridge/analogix/anx7625.c +++ b/drivers/gpu/drm/bridge/analogix/anx7625.c @@ -1673,7 +1673,8 @@ static int anx7625_attach_dsi(struct anx7625_data *ctx) dsi->format = MIPI_DSI_FMT_RGB888; dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE | - MIPI_DSI_MODE_VIDEO_HSE; + MIPI_DSI_MODE_VIDEO_HSE | + MIPI_DSI_HS_PKT_END_ALIGNED; ret = devm_mipi_dsi_attach(dev, dsi); if (ret) { -- 2.18.0