From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from SY2PR01CU004.outbound.protection.outlook.com (mail-australiaeastazolkn19011057.outbound.protection.outlook.com [52.103.72.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BC7884432F5; Thu, 8 Oct 2026 22:35:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.103.72.57 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791498904; cv=fail; b=pv4eTFElKr8bWmgpvpk6+YcCYeonCxiRW5EaHxH9JjHPxYerZnlinluSbBe4VMEBREGojas9qN1BqyXNmidud4un1liSt3F62rxOJSWPME20eDfXj2f24zAVhu4v5z6o3G2JGooqlCcVYbmy1tgcyHl3bUb0mdrBLcmghFfXjDk= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791498904; c=relaxed/simple; bh=u4ASOp8kYM66rLA5NyYvQySSSEwGd0yMd+7fjB+VynQ=; h=From:To:CC:Subject:Date:Message-ID:Content-Type:MIME-Version; b=HP72+m639koSMKArcN0C4Mup2oPXXtzHVJpBc7abWENL23Z1liWpk140annop1rG70+kcTFdE2urrqRox9VrIaO5GlpJ2Qmqg3pGtxSoI6pjKE/fbkkxllQ4bdGdwpknkvKX4cfasVgObwyQAz3VDZBKBjjke58QC/HPbhocFdk= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=outlook.com; spf=pass smtp.mailfrom=outlook.com; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b=C0hVOASt; arc=fail smtp.client-ip=52.103.72.57 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=outlook.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=outlook.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b="C0hVOASt" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=dMburVVsMucrI0DocAQPm5sUc7utCX4nED8dRFRWfYf9vQNS9PdZIYHgCXG9Isl/ux4xwXoTSKN5RUcZTr44DYZs5ERRmkIcbS7FtOhkt0FZcDbKk7tDQLbaipZCCpCBQ1GWj9QPN5i6w3nSmko3zF3R2hesRx87DfCt20xHmC8f5n6onBIL/Uvh+1bHJkd1KNuSddr/A1t96LXyPqEmWpy1pWBqiY3+7wbbj3TBl3oO/VM7l7fW7cZCN5/ESlADUw9IOT/xzcDJ6gvubFftUDvGYf3pGZRmE07rR+AOWg6VLNrm0wyOErNI3kIRkipG38sJuJY2YFIamAZSZZHqLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=VSPa7iWTh14TTvHRBd5tphGlfdAGtZIPw0a/YY8Y8Eg=; b=FaSqVvepRKb5bT2hln8VBX4SeL8LxRu64kXAwbftyj597uP0HGKY1kVGHyTwZbEldMKQp1xH1z05I9bg0oy9eQbrsMkzHrgRKwBXjtWW0OsWLiK2BY/ekAqy+HD5j0dq4my8JIcfTx086KDIa9QxUv9SvzDf+Uwq0xn+j22c7p8Q5I8r1Nuqqx/doX2FaregC/Rw2BGFkLYatiC2ksj+22WHWw2kbt64V/gGeEi1Xx/42LP8+Acxkbxh27xoLn0Z8WZBI5mo1V92wA1pDDrj8Pj4l84aesfCsgjtVGjc2o+9Gxaoh/U8oRxr+MypGngGKdnwVzLIOTN5unKS4TSxWQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VSPa7iWTh14TTvHRBd5tphGlfdAGtZIPw0a/YY8Y8Eg=; b=C0hVOAStbruTMSc47GKmO+3e/RvSuANmKWbgdIf8SJEM73Pv6Tj1fc4kBGjuCNojZgTpqfdmLfTqS8xc4nsOvKc1LQ936CxDtui49d8PMHJmttjeTMD+IfHw+iKdmLuoGboBAA765BB8E/r6KdmyWYs/NJaqHJwYVpLUHbZpFD6wLMavvwk4nGcc2T+J52+5nI9iY/sKCamyg1SSDBAbIM9RIw8Wn2NNTmafm52DeHzbvTAl8sLUNCfpg3LDBcaZcvF9QadrtTBZITa1ADFn79CfLPLNtuBcpdjOvy6/nlqYduTcn1J3sYqwtFrye33qkHNDsu33xBMu/m2nOOeA/g== Received: from SY5PR01MB10600.ausprd01.prod.outlook.com (2603:10c6:10:32c::14) by SY3PPF346C5784E.ausprd01.prod.outlook.com (2603:10c6:18::40d) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.522.6; Thu, 8 Oct 2026 22:34:50 +0000 Received: from SY5PR01MB10600.ausprd01.prod.outlook.com ([fe80::db5f:2818:b791:cc19]) by SY5PR01MB10600.ausprd01.prod.outlook.com ([fe80::db5f:2818:b791:cc19%3]) with mapi id 15.21.0522.002; Thu, 8 Oct 2026 22:34:50 +0000 From: Zhang Jiaxi To: Rob Clark , Dmitry Baryshkov CC: Abhinav Kumar , Jessica Zhang , Sean Paul , Marijn Suijten , David Airlie , Simona Vetter , "linux-arm-msm@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , "freedreno@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" Subject: [RFC PATCH 0/3] drm/msm: correct DSC RGB and command-mode vblank handling Thread-Topic: [RFC PATCH 0/3] drm/msm: correct DSC RGB and command-mode vblank handling Thread-Index: AQHdV3U6XlRrfQVtoE2pt31EYdhCww== Date: Thu, 8 Oct 2026 22:34:49 +0000 Message-ID: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SY5PR01MB10600:EE_|SY3PPF346C5784E:EE_ x-ms-office365-filtering-correlation-id: 6e5200ad-54c3-4332-d126-08df258c5d5e x-microsoft-antispam: BCL:0;ARA:14566002|39105399006|8062599012|19110799012|4140399003|31061999003|8060799015|25010399006|22141099003|25031999004|12121999013|15080799012|38102599003|24021099003|16051099003|102099032|2607281247196008|440099028|26104999009|3412199025|40105399003; x-microsoft-antispam-message-info: =?us-ascii?Q?SXFcgE/WVrIOFyEfKQh2eDh0SBu5/fxxPW8xHgzbL6ww8SOGMDFGaYaUMWFb?= =?us-ascii?Q?TjpLsXEjBvCcyrXkIHbLmuwR+CEwoKdFZkQhxEPhCtTB3/OiJe3IGQpGuI4T?= =?us-ascii?Q?n7d511Hoh0c1EBOK2qavWzY5kVhtFeWFU4nEQ/jrcVzTQL3hHNj2N4ha64FJ?= =?us-ascii?Q?J6oqL0O7dZ86WNSsA8LGwjHoksM9q/WaFr9vO+FqrsuNre6BlGmQW/O7IXLe?= =?us-ascii?Q?rCWwVWxRQ2PJtFOg/ryGma8io0vWse5LAz0wJbKyznPuePk+2uC2W31FR0xg?= =?us-ascii?Q?i839A4fu8tdXLQRH4ef0MxoxenwbN1ASlkcWAoZ9vIo/Movh+XHXhAFGZW0x?= =?us-ascii?Q?AuB+DNn7jo+RLBBC/jj+oH3fcFwA3xyx9tqrWLxmWfiUJAM+7p6Me2MP/DFi?= =?us-ascii?Q?9okD1z/SlzUJ2pcc3V3eb5CvyRvl1AdWsGFIVRG63MDzQh1c9vgcabTjr0Rd?= =?us-ascii?Q?paeIVVZd4ARUerblJJfWC6RHnOuetBTtAy0bYk0JC8W5vfLiGziQSWiQWXkV?= =?us-ascii?Q?yLeshUYl3QDbyYsOgrpFSWOLTnmW1j1HuuikD7QZfxtGTWqBHkilo6nltEBx?= =?us-ascii?Q?AGIQ79jxCEv9QQN9HCvwk2SJ0aPZS1r+1g3G430tsaTWkcyK1x7UdzdvwhzJ?= =?us-ascii?Q?B+HHjjCG38P0hYJDUFCKhPMjAXldyJt8lGRz9Ek6m05lOL8lVp4GWblVicXK?= =?us-ascii?Q?moXe9ISUIH9tqt7U131yZqh6X3GHomhoVH2zy3lWsfIlyLdMV8l6VaumLelu?= =?us-ascii?Q?0XUmbF9WR+mghepsqddxAVleZOpQkmeh0QDwV2QzklPCgyR+7RSyzXFgBVz0?= =?us-ascii?Q?Mb84xdZWDkzdyjADadUk68sd1uwgDyl8UNlGgv7sXI5eQEgAsyTeMATdNTtd?= =?us-ascii?Q?ryIHo+Q3kNCEx5YxmHa/WHnIGqANXoPNc8vIOV5XTzi0YAQ74YysTNpgB9Ih?= =?us-ascii?Q?r+EQSIjgO8GESbyMAVrTKNF/fEeVZLcF6Ev+RZhQspMtAPTOFXmg3jHG8s8v?= =?us-ascii?Q?U87KrTiySu3WMi//YMM2r8ElNnU/nTmUsOgpwaKmqRD8nd8du2/fCwwU8BV6?= =?us-ascii?Q?hEJp7oz2QZBEzGWoWVAf0mAnadRqKpvNw4sb69kVklrDjW2h1Ro=3D?= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?SF1ZjNRYM8Jt+BC4CznY8PnkPYNDXoLiZkXZtT1GBZDhgg0+tHMF/TIovGfq?= =?us-ascii?Q?+PZfvWGTR5+qzzEdaUdghmUzG5FJMaKP4MGVYgvpZhxmOHlEAXj/Y0khcuwU?= =?us-ascii?Q?6T+bi1u9xgb8ibZ3IEHclsw6z4qxTB6b0rKRFuvpK7TgySr7BbIkP+cKX1mT?= =?us-ascii?Q?IepkUxusF82+gl8vllAplP/mmLbibmGSTLJEyBniI3Y6GB7N9o6krtHl24+S?= =?us-ascii?Q?npl3LvCgiceoRKucyIiB30x+yjMZlKToPtcKR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whvAQKHKC8IYlaTQ90acEEICocZgj6vSSxxdmzDTv5lm3a0FKwkU/tZ5KFt+?= =?us-ascii?Q?lZPvVy5CUhvzOu7/DqK7Eq3yvPNqrBOZgzlROQxUrqw6M4fo1zh2Vo/0vpO3?= =?us-ascii?Q?rGBVS60s0KEetYhzTJxwGPZ0BecN5c5j6rA5WcBe22adWi82PHI+VEfeRILa?= =?us-ascii?Q?GMZug6bbTh8lQl4NYsjw+kI7KGLhzzrY+uRh40hD6B+WP91m1W1f8Y3+BUxo?= =?us-ascii?Q?OQwZUjxJdV5e5nUQPYi+35qLS2Qj?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SY5PR01MB10600.ausprd01.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 6e5200ad-54c3-4332-d126-08df258c5d5e X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Oct 2026 22:34:49.6630 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SY3PPF346C5784E These three independent corrections preserve current target APIs:=0A= select the existing RGB DSC 1.2 RC table only for version 1.2 and reject=0A= native subsampling in a forced-RGB path; retain the commit's vblank referen= ce=0A= until completion delivers its page-flip event; and reject video-porch=0A= scanout-position conversion for a command-mode tear-check counter.=0A= =0A= Command mode initializes that counter at vdisplay, puts RD_PTR at=0A= vdisplay+1 and can wrap at twice vtotal. This is not the video raster used= =0A= by the shared timestamp conversion. Returning false only marks that=0A= accurate scanout-derived timestamp unavailable; TE IRQ/counting and the=0A= current off-delay policy remain in place. No always-on IRQ policy is added.= =0A= The completion callback consumes the current count/time and does not wait= =0A= for another TE interrupt.=0A= =0A= The baseline is torvalds/linux=0A= 6c377d19d4a5116d9bec5203aa3c6c11523e7898. Normal arm64 Kbuild compiled=0A= DSI/DPU after these revisions without diagnostics; the unchanged atomic=0A= payload reuses its earlier object result. Actual DSI-populate/DPU-scanout= =0A= function tests with modeled helper I/O cover table selection, rejected=0A= native formats, the command guard and unchanged video boundaries under=0A= ASan/UBSan, including old-code counterexamples.=0A= =0A= No new device timing, idle-power, DSC-math or panel cold-init result is=0A= claimed. Original A830/SM8750 dependencies remain with their public authors= =0A= and are not part of this series.=0A= =0A= Jiaxi Zhang (3):=0A= drm/msm/dsi: select RGB DSC 1.2 rate-control parameters=0A= drm/msm: keep the commit vblank reference through completion=0A= drm/msm/dpu: reject video scanout timestamps in command mode=0A=