Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3691911pxb; Mon, 1 Nov 2021 18:59:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVTg8xm0lJkrYe4c+Y5JLAtY+4L8mEZA3QcixK9OTzWC0v8x0Bi+2bpzLSz7hHqEBiRZ4N X-Received: by 2002:a05:6402:268f:: with SMTP id w15mr46923058edd.13.1635818394156; Mon, 01 Nov 2021 18:59:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1635818394; cv=pass; d=google.com; s=arc-20160816; b=yfXz8go0VYjrb/0O5S2vJ28msNSK2Vkqkfdc+cIJqbSEJtGDA3xY/JLOj9BfQQXoNI M1ffiFI/d23S9zlNBUHTOre+MTKpoiHD4lRlbsjR7BliG2RqHcIIzVaGyU1cq7WbnPaf qnC7vji6/qfFJTRDwr6LzCzV/nPFmTWSe79/FUwArOEZ/g1pzg6ClzhtBM1cYE/urZjD 4BLebtjw9gToShFRAHVuGJZwG6S0aS2PeAf1NUKKegNDWi7c7XkDOJPnUIyWWAVKoYL0 XsIo/Z1CMU+GfOIFAPLOmKIuJUfltuckkj6xzi6ERaG5Sj4vxYR6veBu+7WL3NMqz70z UGDQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ktaJC0XjY/fUteJZ88N1HqJBPCQmcmLfRcsWl3B0/78=; b=bYpNPa88VOMeuRbS/Wc79xRm3w58mv6dU4jsj/+/Ql5AFxH1o/sgqScw3/hNKdBvsQ mqkI4A7eUh+NkMXhxG+O/ZkNo167OX8/ga4tFeGEEOEGvNbU8ucorhm5iEXgj0XLL8AC 98vE2B6VqLY20jQnQMdyKojR8u+cLiRd2N43HnjlzybaPOuaCFUNlPS1WIr6DG0SBQzr cAPW/qp4GPWEMvByiW5FlgpVlcGAgo8BOB+dvw6JTevK97ShJegp0Qufl9kobdhASFIJ juOwq/gF2KSjefGw8pZb/EjWKch9knIF2khD+TEIcgE5oruyp636TjAuJzHq3OHEYZ6y +7+A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Analogixsemi.onmicrosoft.com header.s=selector2-Analogixsemi-onmicrosoft-com header.b=2munEAgJ; arc=pass (i=1 spf=pass spfdomain=analogixsemi.com dkim=pass dkdomain=analogixsemi.com dmarc=pass fromdomain=analogixsemi.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=analogixsemi.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g13si31656224edz.599.2021.11.01.18.59.28; Mon, 01 Nov 2021 18:59:54 -0700 (PDT) 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; dkim=pass header.i=@Analogixsemi.onmicrosoft.com header.s=selector2-Analogixsemi-onmicrosoft-com header.b=2munEAgJ; arc=pass (i=1 spf=pass spfdomain=analogixsemi.com dkim=pass dkdomain=analogixsemi.com dmarc=pass fromdomain=analogixsemi.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=analogixsemi.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229873AbhKBB7P (ORCPT + 99 others); Mon, 1 Nov 2021 21:59:15 -0400 Received: from mail-dm6nam12on2095.outbound.protection.outlook.com ([40.107.243.95]:9697 "EHLO NAM12-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229769AbhKBB7P (ORCPT ); Mon, 1 Nov 2021 21:59:15 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UA0+48H71hjqnBAwsk3x5SNvPY9idOagIe3rKYDP3UsqwgW90gAe97hUBfxTm/dCZruyGAfjtWLsMH/KOA56kgYuwmsYx9wqsyYYe2cN6UE84WxrY+ESrRCDNetCdUW6E1tUwY4vWKGv6Cqvem3Ez3LFmyY0l0c6YJj5aNmrWMN9Ovq2sSEvvRgoQE/4LybaR8pTizZQWvHLiofKx/jHiOstrGUo8T4/DOtovaFg3j49GPjYxwUCGcgJIstK3xFlX2m5oXY6cNYJ3tJK/sHC42teIuWFi0gJ5BpUecOYng1/otFXCumZtkdRlvaVuGdouq9lnyXQaM8smUnrML9rzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ktaJC0XjY/fUteJZ88N1HqJBPCQmcmLfRcsWl3B0/78=; b=hVd1bAl9MpHd4HOFIJmhW3txJ7n+pXtPh+xPu7ezYd/ckLzRa0LwKEId8kNEKQ5dIkhadPC02GnyOKME/d3zYpFiDFhshA2MYSVysD6cNVM6dFbnV+3KecxOb5T8dlfhKPx4Q4V649I3euJWPfHgng07qVo/mkO12E59LYbGonr+sEyKO0pdXNGTckUK1+WTmx8esLxRCX88s6+b02o28Csy1Sn2fMcDN5HOzMpsCnxUmwTm60uYLc/udMUO3CJe8+Cbb2zUs3DlD4wubwIF7buEieZ+1xIr434R1t7FbMenpvQ0MVIzroKXsEvfJK6vtAaJbmZL1xTTFbal2VieOQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=analogixsemi.com; dmarc=pass action=none header.from=analogixsemi.com; dkim=pass header.d=analogixsemi.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Analogixsemi.onmicrosoft.com; s=selector2-Analogixsemi-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ktaJC0XjY/fUteJZ88N1HqJBPCQmcmLfRcsWl3B0/78=; b=2munEAgJOY9mTqYv/aHvwz1XrgxWMtourJLyAy3hQCq+ni9bGFdC5JvKKAGq9FzL6aERMSscE4pH3QMbSSJe2c72HzlBBX4VBMNrq0Smu8R5hmrXpyOS1j8F7oXzSdFQ0qrefTwdFaq88b4FFU8f6A1gCJIfu10u+oi+OjpAS5M= Authentication-Results: mediatek.com; dkim=none (message not signed) header.d=none;mediatek.com; dmarc=none action=none header.from=analogixsemi.com; Received: from CH2PR04MB6741.namprd04.prod.outlook.com (2603:10b6:610:96::19) by CH2PR04MB6569.namprd04.prod.outlook.com (2603:10b6:610:6d::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.15; Tue, 2 Nov 2021 01:56:39 +0000 Received: from CH2PR04MB6741.namprd04.prod.outlook.com ([fe80::d062:2525:29dc:13df]) by CH2PR04MB6741.namprd04.prod.outlook.com ([fe80::d062:2525:29dc:13df%8]) with mapi id 15.20.4649.020; Tue, 2 Nov 2021 01:56:39 +0000 Date: Tue, 2 Nov 2021 09:56:31 +0800 From: Xin Ji To: Jitao Shi Cc: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Xin Ji , Chun-Kuang Hu , Philipp Zabel , Matthias Brugger , Daniel Vetter , David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, ck.hu@mediatek.com, stonea168@163.com, huijuan.xie@mediatek.com, rex-bc.chen@mediatek.com, shuijing.li@mediatek.com Subject: Re: [PATCH v7 3/3] drm/bridge: anx7625: config hs packets end aligned to avoid screen shift Message-ID: <20211102015631.GA2248315@anxtwsw-Precision-3640-Tower> References: <20210915223117.7857-1-jitao.shi@mediatek.com> <20210915223117.7857-4-jitao.shi@mediatek.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: HKAPR04CA0009.apcprd04.prod.outlook.com (2603:1096:203:d0::19) To CH2PR04MB6741.namprd04.prod.outlook.com (2603:10b6:610:96::19) MIME-Version: 1.0 Received: from anxtwsw-Precision-3640-Tower (60.251.58.79) by HKAPR04CA0009.apcprd04.prod.outlook.com (2603:1096:203:d0::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.15 via Frontend Transport; Tue, 2 Nov 2021 01:56:38 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0a136137-843a-4158-c76d-08d99da40223 X-MS-TrafficTypeDiagnostic: CH2PR04MB6569: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4303; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0sIharperrjVZ/V/ciR2o3/XyFQqtrEIznTYV8CGcmOa3rmm9TREu7dfx8DWJ26v9o3d9iGyx/8zkRkGXrabyqpgejToZBm40nisQlzzt7ZPm/kV673uRMA1xd/oo93/+nxLRYmNm5KF7gmCNA/OA7XWAb7ADfKESS0o5sgbhgncSuj9oJ2edEhzCq+WkJ95QgWE7wxjMZ50apSp+4OCpmyJhubDKWqQ2ARliiW1wNaQgHdlSjWoiDB5YC80LreNh+E/ZwMCVVYVynYIPuBw/xsmO8KlaFRGVjGIfer23JtDRvuDEHVpTZpBUz9i+eVC9GXcEUiADPTyskgT5/Ej9jPOla3UTk0+i1HN8AqqnfFqqYt2qFNsFLZUgqDzL76XKOGInZN+VFcvHswGEoMpgbf+XRaVIB+bq4cCWhGh/MQePmaTlHeL4LpI7mmjiIcqyG7n4TACvdkBA5yQZzuQbxW1pJYjAsOB2Fmf9fbKcgLHE3f2fb+z/o6Dq4fxpR5wmcbwC4qA0thE+cxe7+V2wQ1NFdH1uDBaIrj08TvyxWAgW7I2ClzB/nKgdwbGyknev9J+GPph15WA4FC68VG0Tic+4jmoKddz5kU7aSpYnhsXqcSJPRDvATpUXmQ+xRv6rSflUtGzftiWJUPybMKy4ZKBN8JErd+WDG53oCeQ6tQesce0zNUjG3Q+F1AfB2CdmlY03kIKm8V4k75d+OXtwA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH2PR04MB6741.namprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(186003)(26005)(5660300002)(508600001)(2906002)(66946007)(86362001)(8676002)(33656002)(55236004)(8936002)(55016002)(4326008)(66476007)(7416002)(956004)(38100700002)(316002)(66556008)(6496006)(6666004)(52116002)(1076003)(6916009)(54906003)(9686003)(38350700002)(33716001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?geMzpC6mraU7wSYiD42sggvUjMv+ASiBzpMecxO11YvNiCgRcsr/KPV5RyjV?= =?us-ascii?Q?B1ky48JiDpF7ar4VdSuyCQgdbdouJDEJKC1+hQ3t83T/lEIzN1142TY/xDUp?= =?us-ascii?Q?Q79OhPYSOjOTMRGsHa9yiMCX/MGRWzljHDSUIOUpf8Tc8RNFTrdS6LqdvbQY?= =?us-ascii?Q?DT3oPdq/6ZkNYi3Ig4mljprVJx99M90gjwEWkeTxtRINS37HDSvxwnRhp1tW?= =?us-ascii?Q?XCHqaBQsSvxnxOzFOkqqLX4G+yChRaJIwqQVKtPnvz+bHCvnSKfjMWCGl9XY?= =?us-ascii?Q?Y57u8mgzV2zvg9L1O3sOiUo7AD6GdBpfuRrknIiRgAicJOo5KVStZZHS1gHk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uDsusK0oTBipHP5/hpv3oY9GKfpxYoGEKjE?= =?us-ascii?Q?tAPVzFfj+nagUsdQqDs1rUq/VToYvYCmCwiurXaF5HftGAhCTMLbVP1BD+tH?= =?us-ascii?Q?BEAF9ZJhGcG6tCBKxnbioaGQ9xXLqbjflp+XFzMsrIszUCR1Ol/JckHui/zT?= =?us-ascii?Q?aQvdh1ybKbaZCYvv0GM/bx6PJLuGLtIVycSo5CF9xUWPNxjmi4unuynDWFCf?= =?us-ascii?Q?qLv9XQTeueFaqEzUeeBdg5U04rqo3XvNZ3Bw6Z4sQ3qSdW4x1Du3sRTdljGk?= =?us-ascii?Q?Tdj5yjzto4x7Hyzhj3Rcfz3VKGWfpAL0lWit+EPhaD/px7bJLSYSms0oEJrq?= =?us-ascii?Q?8HxNSlDtuwXcN5NVNv/XJRuYa0cLfgSOmxmhQQ2lGhSyYBPdEeyEjjx6GVNG?= =?us-ascii?Q?RGFnfhHeHkOJCcWmY1iviWI=3D?= X-OriginatorOrg: analogixsemi.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0a136137-843a-4158-c76d-08d99da40223 X-MS-Exchange-CrossTenant-AuthSource: CH2PR04MB6741.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Nov 2021 01:56:39.1387 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: b099b0b4-f26c-4cf5-9a0f-d5be9acab205 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: C3Pw3hHGLQlgprdDqHxjw211SS9BUoMbpesBZXbTUbKoyYL5AnJ1vZjmUbFUYpyIDUR6F4jr72gylCYYXPRTbQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR04MB6569 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 01, 2021 at 11:16:15AM +0800, Jitao Shi wrote: > Hi Xin, > > Please help to review the changes in anx7625.c > > On Thu, 2021-09-16 at 06:31 +0800, Jitao Shi wrote: > > This device requires the packets on lanes aligned at the end to fix > > screen shift or scroll. > > > > Signed-off-by: Jitao Shi > > --- > > drivers/gpu/drm/bridge/analogix/anx7625.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/drivers/gpu/drm/bridge/analogix/anx7625.c > > b/drivers/gpu/drm/bridge/analogix/anx7625.c > > index 14d73fb1dd15..d76fb63fa9f7 100644 > > --- a/drivers/gpu/drm/bridge/analogix/anx7625.c > > +++ b/drivers/gpu/drm/bridge/analogix/anx7625.c > > @@ -1327,6 +1327,7 @@ static int anx7625_attach_dsi(struct > > anx7625_data *ctx) > > MIPI_DSI_MODE_VIDEO_SYNC_PULSE | > > MIPI_DSI_MODE_NO_EOT_PACKET | > > MIPI_DSI_MODE_VIDEO_HSE; > > + dsi->hs_packet_end_aligned = true; Looks good, it's OK for me. Reviewed-by: Xin Ji > > > > if (mipi_dsi_attach(dsi) < 0) { > > DRM_DEV_ERROR(dev, "fail to attach dsi to host.\n");