Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B9C57E6817C for ; Tue, 17 Feb 2026 12:27:27 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 282DE10E4D0; Tue, 17 Feb 2026 12:27:27 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="aZYGmHNt"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5EBB810E4CF; Tue, 17 Feb 2026 12:27:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1771331245; x=1802867245; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=tDUbJzhpSAl6OK3uVCvFuBlhcWer/BcuLlsqqernxdY=; b=aZYGmHNtcwuf6h1pFe6njNuNB2/daEzh9guENy0/AGyp4iRcdPADDjKY RBvwYHFZavFegMyozFxOvrq8dZkdTD9TQG1jHe4fNZhr76s2wfFPI9cc8 wzuBm+gTe3ulCYX22ZRNbXrR2EyvNx0y4RM4kV58i56KeYGtH5/BFx19o AcLqcCuJIK6xY2SANTb1vmFD/Bx8DCXuSzWjFhoNlyxiylwIOS1u4R3j0 su4TQPIPrAk1cSL5r8e+DBpAPpnN88SQziSGo4E5OdEAQYrneD6Qu8Suz AESaTUQu1k0a3c3TRGNzVuYDRls8ALF+rAyRlh3m+ZdY4+xKUH2u/e4z5 w==; X-CSE-ConnectionGUID: X3YYEwW0RvenCW2oVgGVkQ== X-CSE-MsgGUID: OGGXp9LyS+OlICKf3c0VhA== X-IronPort-AV: E=McAfee;i="6800,10657,11703"; a="74996724" X-IronPort-AV: E=Sophos;i="6.21,296,1763452800"; d="scan'208";a="74996724" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Feb 2026 04:27:25 -0800 X-CSE-ConnectionGUID: zU6pxIiASVudliPBEFiiXQ== X-CSE-MsgGUID: U0KFoz+PTuuJpJHvtget2w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,296,1763452800"; d="scan'208";a="218398169" Received: from fmsmsx901.amr.corp.intel.com ([10.18.126.90]) by orviesa004.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Feb 2026 04:27:24 -0800 Received: from FMSMSX901.amr.corp.intel.com (10.18.126.90) by fmsmsx901.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.35; Tue, 17 Feb 2026 04:27:24 -0800 Received: from fmsedg902.ED.cps.intel.com (10.1.192.144) by FMSMSX901.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.35 via Frontend Transport; Tue, 17 Feb 2026 04:27:24 -0800 Received: from SN4PR2101CU001.outbound.protection.outlook.com (40.93.195.69) by edgegateway.intel.com (192.55.55.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.35; Tue, 17 Feb 2026 04:27:24 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=toWr23mvxT2DS7wfAlQUqNeJR6a+bCRq+awAQM1qdouchXtjBXyg19VhQLBtQ+PKG1j+tWSy/YRHmjC4mCNZ+bUkOiG0Dn7DtuuDbrLtfdk4d/gvbr3H1gvPao78qyIDESS2Cs6GdCrp8xHXp/leYjdevg9rvogpEs8M1alp6ANIODF8F/VKXhvELB4t07cWmCYXmMI+bVklGQOvaZy3Hdutf5gUFD46uWN1BhlXQtYZ8fDLxTzk7OnaM2G7iLmL6ArC12+YRBj9dSIC+nOVCFtoiCLHDPUJhUBbp3uW4h938mtgw8dArAU0gncL7DjEX1/pJaoZrS4cfA7lTZnRSg== 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=GFeVhzeYYqfa3Ulm/021CgesPUxs/eegdL10P520AnU=; b=uh14wMHmVLR62v30b/Rx6rAh6SVQar9ULkxXl1rme7SjEaAAcKzAxiXgA8cXf+O41REqmUlJpN2KYX7yPibl4LAHZtCQp7EUIlIQYaiAcsLXOaqxk9J7EtRorTClGVGXNctSYolJqRDS4mc2bcLu1Qs0YDeZFUUXWwCmSAdHXU/Z5iFQ1eVhQWjZM4BqCTNZXypH+/2RnD46VmbKNmm/Q1Ahbto1pCjGe/TCJ7eLTihX4u/Zbw2ULp33BvtxhC+kix/F0YsDjqGjl2Kmwz/r3/6X6twpjxd5mgjQpU0z3DUth6doRwXENuqtNovYzuSC+bFYkYhHjhYVyM6VDZ51PA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DM4PR11MB5341.namprd11.prod.outlook.com (2603:10b6:5:390::22) by DM6PR11MB4756.namprd11.prod.outlook.com (2603:10b6:5:2a7::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9611.16; Tue, 17 Feb 2026 12:27:17 +0000 Received: from DM4PR11MB5341.namprd11.prod.outlook.com ([fe80::68b9:ea3c:8166:3cc4]) by DM4PR11MB5341.namprd11.prod.outlook.com ([fe80::68b9:ea3c:8166:3cc4%4]) with mapi id 15.20.9611.013; Tue, 17 Feb 2026 12:27:17 +0000 Message-ID: <021a1f3d-d1a9-43a3-8ebf-84c312b21527@intel.com> Date: Tue, 17 Feb 2026 17:57:09 +0530 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 4/4] drm/i915/dp_mst: Allow modes requiring compression for DSC passthrough To: CC: , References: <20260216070421.714884-1-imre.deak@intel.com> <20260216070421.714884-5-imre.deak@intel.com> <9961da24-68c6-4633-846e-7b059b45858c@intel.com> Content-Language: en-US From: "Nautiyal, Ankit K" In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: MA5PR01CA0059.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a01:1b8::14) To DM4PR11MB5341.namprd11.prod.outlook.com (2603:10b6:5:390::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM4PR11MB5341:EE_|DM6PR11MB4756:EE_ X-MS-Office365-Filtering-Correlation-Id: 2e6ceaa6-ce41-4521-f326-08de6e1fe288 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014; X-Microsoft-Antispam-Message-Info: =?utf-8?B?cThxT2FxRTNrYWFoZ1oxZnlJVUI2NU1JcFBTaC9XTnlLczk5NjJNZG5FTU9V?= =?utf-8?B?UDN3ZnpMTGRKU3hDaHBzTjdBVWEvRlJVcXZQZEM2clRVY1AyUU5ocXBKaGZ4?= =?utf-8?B?ejZFZGVZVFVEbUZZa1dMVlJSU2J3ZjB4cUpUV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aTnFnSW5lV1pyczVod2VwVVh0dEQ3?= =?utf-8?B?OXlOLzJ1bXpXMFV3dm4xNDNURzQyeURhRi9aNDI5eFAxQ0paS0h6Y0VZTlRM?= =?utf-8?Q?BzHLnL?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5341.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bmRHNVNSTzBuSkZiQTkwOGFMTEhSRUVENGVuTURRL0dIR1dIdTJiTDJhcUVu?= =?utf-8?B?eTBNem1yOUpUc29DZWZ3UEZqdmp5U0toOXozMEVaT3ZnQWhQeDU4L01yYjRi?= =?utf-8?B?OC8zdnhBV0x3NnlZblVSTEI4OG5Ebmt2THdNcHRwbk8zc1IwUzdLUEl3eFBo?= =?utf-8?B?ZHJjbkxrRlkvZXY3aWZJRjFpZ2E2bkVCd0loUDRKMGs1Wk5nTzB3WmVJenk1?= =?utf-8?B?ZHRnaXNqWFJSNXVPZk9CQ0xtV0hTbFhZNHdRNERIZm9hYm5oOTYxUS9CLzFQ?= =?utf-8?B?eS9XaWl2dG5ZWittTEVLQjc3NDEvcGlmNTBqTDBrUU43aG9kTkdzSHdYUFRO?= =?utf-8?B?QXF0bWhBakFnaEl0UzRBRjE5YVJhZCtoYzZMQXU0YWV1QVZDUmw3cDR6MnNt?= =?utf-8?B?bWhvVUdlaGNPNVo4SHF5cmVSU3BnNWdmaUliMHRCTzBVYUhPM1RpYmRLclZl?= =?utf-8?B?cEJFbmFCdUVoZVN3L2RWd011N0xPMFhJWUNWbDlpREtaYTdUK3dPQWZoNFJC?= =?utf-8?B?eXFQK2doUVE3RE9tVytublZBcjlVek45V3U5MmQrbnJIRmtVN09FYTNFMng0?= =?utf-8?B?M2xq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ant-Network-Message-Id: 2e6ceaa6-ce41-4521-f326-08de6e1fe288 X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB5341.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2026 12:27:17.3728 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: iWdK+Y/f2Hdw4EhKni+QdokJQn6l3aJDPG6bJ7rV812SRmyEM1OG72bvEUm/b5trC5qWBbxEm7zpSolOO7GBhuupMQ06Zd1IhKrB/Z1JgNU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4756 X-OriginatorOrg: intel.com X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On 2/17/2026 2:29 PM, Imre Deak wrote: > On Tue, Feb 17, 2026 at 10:23:51AM +0530, Ankit K Nautiyal wrote: >> On 2/16/2026 12:34 PM, Imre Deak wrote: >>> The DSC passthrough mode allows a compressed stream to be forwarded >>> to the sink instead of being decompressed at the last MST branch >>> device, provided that the branch device supports passthrough and >>> the sink supports decompression. This enables modes that would not >>> be possible without compression, as the bandwidth required for the >>> uncompressed stream exceeds what is available on the full MST path >>> from source to sink. >>> >>> Currently, MST mode validation assumes the stream is uncompressed >>> and uses the corresponding uncompressed minimum link BPP for >>> bandwidth calculation. Use the minimum compressed link BPP instead >>> when DSC passthrough is available to enable the modes described >>> above. >>> >>> The non-passthrough DSC mode, where the last MST branch device >>> decompresses the stream, may also allow enabling additional modes. >>> This would require determining the link bandwidth between the last >>> branch device and the sink based on the >>> DFP_Link_Available_Payload_Bandwidth_Number reported by the branch >>> device for the sink via the ENUM_PATH_RESOURCES MST message. >>> Supporting this is left for a follow-up for the following reasons: >>> >>> 1. DFP Link Available PBN reporting is not supported by any of the >>> available MST devices used for testing. >>> 2. Non-passthrough mode would enable additional modes only if the link >>> bandwidth between the last branch device and the sink exceeded that >>> of the full MST path. Unless multiple MST devices are used, or link >>> training forces a reduced bandwidth between the source and the first >>> branch device, both rare cases, this is unlikely. >>> >>> Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/4332 >>> Signed-off-by: Imre Deak >> >> Makes sense to leave the non-passthrough mode for follow up. >> >> Perhaps our kms_linktrain_fallback can be tweaked to test DSC >> non-passthrough and passthrough modes. > Yes, it's a good idea to test whether, with a reduced link rate / lane > count, modes that did not need compression with the original link > configuration continue to be enumerated/enabled correctly when switching > to DSC. > > I don't think this should be part of the LT fallback test; it could > instead be a separate DSC test by just forcing a lower link rate / lane > count there. Agreed. Can use the same debugfs and have test in kms_dsc. > >> Not directly related but perhaps still on the topic: currently we are not >> exposing dsc related debugfs for MST connectors. >> >> With the recent changes and checks for intel_dp->force_dsc_en in place for >> MST, can we start exposing the dsc related debugfs' for MST too? > MST connectors, and in general the whole DSC debugfs interface, need > some changes. Adding a way to control the passthrough / non-passthrough > mode (probably just a disable_passthrough connector debugfs entry) > should be added as well. I have some changes for this and plan to follow > up with them. Hmm. Alright, will check that out. Regards, Ankit >> (Though, there are still things which cannot be tested on MST - BPC tests, >> output format etc.) >> >> In any case the changes look good to me. >> >> Reviewed-by: Ankit Nautiyal Thanks. > >> Regards, >> >> Ankit >> >>> --- >>> drivers/gpu/drm/i915/display/intel_dp_mst.c | 18 ++++++++++++++++-- >>> 1 file changed, 16 insertions(+), 2 deletions(-) >>> >>> diff --git a/drivers/gpu/drm/i915/display/intel_dp_mst.c b/drivers/gpu/drm/i915/display/intel_dp_mst.c >>> index 7ca2e2245fc70..f833f47643271 100644 >>> --- a/drivers/gpu/drm/i915/display/intel_dp_mst.c >>> +++ b/drivers/gpu/drm/i915/display/intel_dp_mst.c >>> @@ -1467,6 +1467,7 @@ mst_connector_mode_valid_ctx(struct drm_connector *_connector, >>> unsigned long bw_overhead_flags = >>> DRM_DP_BW_OVERHEAD_MST | DRM_DP_BW_OVERHEAD_SSC_REF_CLK; >>> int min_link_bpp_x16 = fxp_q4_from_int(18); >>> + static bool supports_dsc; >>> int ret; >>> bool dsc = false; >>> int target_clock = mode->clock; >>> @@ -1491,6 +1492,13 @@ mst_connector_mode_valid_ctx(struct drm_connector *_connector, >>> return 0; >>> } >>> + supports_dsc = intel_dp_has_dsc(connector) && >>> + drm_dp_sink_supports_fec(connector->dp.fec_capability); >>> + >>> + if (supports_dsc && connector->mst.port->passthrough_aux) >>> + min_link_bpp_x16 = intel_dp_compute_min_compressed_bpp_x16(connector, >>> + INTEL_OUTPUT_FORMAT_RGB); >>> + >>> max_link_clock = intel_dp_max_link_rate(intel_dp); >>> max_lanes = intel_dp_max_lane_count(intel_dp); >>> @@ -1504,6 +1512,13 @@ mst_connector_mode_valid_ctx(struct drm_connector *_connector, >>> /* >>> * TODO: >>> * - Also check if compression would allow for the mode >>> + * in non-passthrough mode, i.e. the last branch device >>> + * decompressing the stream. This makes a difference only if >>> + * the BW on the link between the last branch device and the >>> + * sink is higher than the BW on the whole MST path from the >>> + * source to the last branch device. Relying on the extra BW >>> + * this provides also requires the >>> + * DFP_Link_Available_Payload_Bandwidth_Number described below. >>> * - Calculate the overhead using drm_dp_bw_overhead() / >>> * drm_dp_bw_channel_coding_efficiency(), similarly to the >>> * compute config code, as drm_dp_calc_pbn_mode() doesn't >>> @@ -1527,8 +1542,7 @@ mst_connector_mode_valid_ctx(struct drm_connector *_connector, >>> for_each_joiner_candidate(connector, mode, num_joined_pipes) { >>> int dsc_slice_count = 0; >>> - if (intel_dp_has_dsc(connector) && >>> - drm_dp_sink_supports_fec(connector->dp.fec_capability)) { >>> + if (supports_dsc) { >>> /* >>> * TBD pass the connector BPC, >>> * for now U8_MAX so that max BPC on that platform would be picked