Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp907423pxb; Fri, 21 Jan 2022 06:06:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJyTMjL8SjcQ+tp5QzSUbmIae5/Od7iiy5GIFNCBobgL5RVQucWJVtxD2xky75FXzGr1ozVl X-Received: by 2002:a63:3809:: with SMTP id f9mr3120762pga.92.1642774012451; Fri, 21 Jan 2022 06:06:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642774012; cv=none; d=google.com; s=arc-20160816; b=cPbLR8QxYbtJnyZUarzVO86qGU4Mgw2mMQ8Snms1mEz5nnEyf5rNnt7sjTbgvXMhlC ILgQy5pj87zWfROMIm6f203/7Wi52aUJctvVZqO9YLzMJg5hlWVyNqOEVIdb5S1Hkw0n 9JXG2fmPJNg5IAo6EDwgLtfwOyzjFy1tkuzAHoxSbLLwbzTVD+1umYgkftJK1tl9QZ7V V9ySWAsLdn7co7yzXPaGHNSjLkMbZ/jr0ebxnKZx4bgRa85uFVb+GycdXSWdob+9A8P9 3oxMH8FZY1noYPSRRXMLUFHV68fYDl1vrH5zWRKWoG9mgFluX5DQS7+pc0MxOyLO0uel omJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=ykuyIaUVXNdWkZcrED6NlkW42BpWNB5o/9+jhWFyVrQ=; b=x7sIGRjXPzt1/dRMfPqd1yeiQnYNzJKurmgLQgLYGS6jXVBR7qJzFT2ERZp6R7MNPd wGNyGnSvoPlOv7PdlqNHMMUYXnJjOrN/mamQwsAqttbMDftofo7bG+6EmY/fyseBU/ke yrvJkqyhOO61KVmT91wgy5Fyz2GC04YG/5sN+8mnTIi4izWQQgQ6RYjTMWabZX5tQpNj +WMa6GNJJdfkcb1dCfgBU6EU6UCirSpmWSt7jUc9FPL4lbu+eHV2hSwm6vvyjM+17qDY bhrswkmJgHvBj3nENH16yshHR0F5OheNR5vZofT/cr+2nlLA6Nin7dyF3XWS6J3UWxY2 e4Pw== 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 20si6120091pll.297.2022.01.21.06.06.38; Fri, 21 Jan 2022 06:06:52 -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 S1350980AbiASC0H (ORCPT + 99 others); Tue, 18 Jan 2022 21:26:07 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:35186 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S238636AbiASC0F (ORCPT ); Tue, 18 Jan 2022 21:26:05 -0500 X-UUID: 81cc76572c1442f9a6239034855a063e-20220119 X-UUID: 81cc76572c1442f9a6239034855a063e-20220119 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1856320078; Wed, 19 Jan 2022 10:26:01 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.3; Wed, 19 Jan 2022 10:26:00 +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:00 +0800 From: Rex-BC Chen To: , , , , , , , CC: , , , , , , , , Rex-BC Chen Subject: [v10,0/3] force hsa hbp hfp packets multiple of lanenum to avoid screen shift Date: Wed, 19 Jan 2022 10:25:40 +0800 Message-ID: <20220119022543.26093-1-rex-bc.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Changes since v9: - Change description of "MIPI_DSI_HS_PKT_END_ALIGNED". - Use mode_flags directly instead of another variable on patch [2/3]. - Add explanation of implementation in mtk_dsi.c on commit message of [2/3]. Changes since v8: - Use mode_flags to control this limitation instead of "hs_packet_end_aligned". - Add new bit definition "MIPI_DSI_HS_PKT_END_ALIGNED" for mode_flags. Changes since v7: - Rebase to kernel 5.16 - Add tags of reviewed-by and acked-by. - Add detailed commit message for flag "hs_packet_end_aligned" in DSI common driver. Changes since v6: - Add "bool hs_packet_end_aligned" in "struct mipi_dsi_device" to control the dsi aligned. - Config the "hs_packet_end_aligned" in ANX7725 .attach(). Changes since v5: - Search the anx7625 compatible as flag to control dsi output aligned. Changes since v4: - Move "dt-bindings: drm/bridge: anx7625: add force_dsi_end_without_null" before "drm/mediatek: force hsa hbp hfp packets multiple of lanenum to avoid". - Retitle "dt-bindings: drm/bridge: anx7625: add force_dsi_end_without_null". Rex-BC Chen (3): drm/dsi: transfer DSI HS packets ending at the same time drm/mediatek: implement the DSI HS packets aligned drm/bridge: anx7625: config hs packets end aligned to avoid screen shift drivers/gpu/drm/bridge/analogix/anx7625.c | 3 ++- drivers/gpu/drm/mediatek/mtk_dsi.c | 12 ++++++++++++ include/drm/drm_mipi_dsi.h | 2 ++ 3 files changed, 16 insertions(+), 1 deletion(-) -- 2.18.0